It is currently Sun, 08-12-19, 10:28 GMT

All times are UTC




Post new topic Reply to topic  [ 272 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19  Next
Author Message
 Post subject:
PostPosted: Fri, 24-04-09, 19:54 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
I did not run any atmospheric correction algorithm on any of these images yet. I think the program that may or may not correct this is photomet but I may be wrong. This blue color may be atmospheric effects.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 24-04-09, 20:00 GMT 
Offline
Site Admin
User avatar

Joined: Fri, 31-08-07, 7:01 GMT
Posts: 4665
Location: Hamburg, Germany
cartrite wrote:
This blue color may be atmospheric effects.
cartrite


Yes, of course,...but HOW? I always thought I have understood Mie scattering since I left scientific "Kindergarden" ;-)

Fridger


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 24-04-09, 20:24 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
With Respect, I think "we as an earthbound human race" are all still in the "Kindergarden" phase as far as Mars is concerned. No one has even been there ?yet?. I'm not even sure that what I see is what I see.

Of all the images that have been taken from "any" spacecraft "anywhere", how many have been true color images? :wink:
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 24-04-09, 21:26 GMT 
Offline
Site Admin
User avatar

Joined: Fri, 31-08-07, 7:01 GMT
Posts: 4665
Location: Hamburg, Germany
cartrite wrote:
With Respect, I think "we as an earthbound human race" are all still in the "Kindergarden" phase as far as Mars is concerned. No one has even been there ?yet?. I'm not even sure that what I see is what I see.

Of all the images that have been taken from "any" spacecraft "anywhere", how many have been true color images? :wink:
cartrite


Steve,

the nice aspect about physics is that it should also work on Mars ;-) . Even without having been there...

As you have surely seen, by tuning some Mie parameters, I was easily able to reproduce a nice blue sunset on Mars:

Image

So blue atmospheric effects have at least a chance of being understood "remotely". Since there is still the possibility of artefacts, bad color calibration and all that, it would be good to see how far the theory can get us in this respect.

Fridger


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 24-04-09, 21:55 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
Quote:
the nice aspect about physics is that it should also work on Mars Wink . Even without having been there...

Yes I believe this too. But............ If ALL the factors are not present, isn't there an error in the equation?
Anyhow, here is the second image. I was thinking maybe there should be some more ice on the south pole of Mars?

Image


A reminder of the First image

Image



cartrite?


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 24-04-09, 22:22 GMT 
Offline
Site Admin
User avatar

Joined: Fri, 31-08-07, 7:01 GMT
Posts: 4665
Location: Hamburg, Germany
Indeed, what amount of icy detail!

To be able to see it better I cut out the lower part, here it is

Image

And in reality, instead of 700 pixels it's 1773 pixels wide! Wow.

Fridger


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 10:51 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
By the way. The image I posted was P07_003660_2340_MA_00N114W.IMG
It was found here. http://pds-imaging.jpl.nasa.gov/data/mr ... 0052/data/
I used this script to run it.
Code:
#!/bin/sh
ISISROOT=/srv/disk5/isis3/isis
export ISISROOT
. $ISISROOT/scripts/isis3Startup.sh
cd /home/cartrite/marci/3660-2340-114w
marci2isis from=P07_003660_2340_MA_00N114W.IMG to=P07_003660_2340_MA_00N114W.cub coloroffset=no flip=no
spiceinit from=P07_003660_2340_MA_00N114W.odd.cub
spiceinit from=P07_003660_2340_MA_00N114W.even.cub
crop from=P07_003660_2340_MA_00N114W.odd.cub to=P07_003660_2340_MA_00N114W.odd.crop.cub line=1025 nlines=5376
marcical from=P07_003660_2340_MA_00N114W.odd.cub to=P07_003660_2340_MA_00N114W.odd.cal.cub
editlab from=P07_003660_2340_MA_00N114W.odd.crop.cub options=modkey grpname=Instrument keyword=ExposureDuration value=0.015
marcical from=P07_003660_2340_MA_00N114W.odd.crop.cub to=P07_003660_2340_MA_00N114W.odd.crop.cal.cub
uncrop from=P07_003660_2340_MA_00N114W.odd.crop.cal.cub parent=P07_003660_2340_MA_00N114W.odd.cal.cub
rm P07_003660_2340_MA_00N114W.odd.cub
rm P07_003660_2340_MA_00N114W.odd.crop.cub
rm P07_003660_2340_MA_00N114W.odd.crop.cal.cub
crop from=P07_003660_2340_MA_00N114W.even.cub to=P07_003660_2340_MA_00N114W.even.crop.cub line=1025 nlines=5376
marcical from=P07_003660_2340_MA_00N114W.even.cub to=P07_003660_2340_MA_00N114W.even.cal.cub
editlab from=P07_003660_2340_MA_00N114W.even.crop.cub options=modkey grpname=Instrument keyword=ExposureDuration value=0.015
marcical from=P07_003660_2340_MA_00N114W.even.crop.cub to=P07_003660_2340_MA_00N114W.even.crop.cal.cub
uncrop from=P07_003660_2340_MA_00N114W.even.crop.cal.cub parent=P07_003660_2340_MA_00N114W.even.cal.cub
rm P07_003660_2340_MA_00N114W.even.cub
rm P07_003660_2340_MA_00N114W.even.crop.cub
rm P07_003660_2340_MA_00N114W.even.crop.cal.cub
cam2map from=P07_003660_2340_MA_00N114W.odd.cal.cub map=/home/cartrite/marci/simplecylindrical.map to=P07_003660_2340_MA_00N114W.odd.map.cub pixres=mpp resolution=1000 defaultrange=map slat=-90 elat=-20 slon=-119 elon=-89
cam2map from=P07_003660_2340_MA_00N114W.odd.cal.cub map=/home/cartrite/marci/simplecylindrical.map to=P07_003660_2340_MA_00N114W.odd.map.top.cub pixres=mpp resolution=1000 defaultrange=map slat=-21 elat=40 slon=-129 elon=-104
rm P07_003660_2340_MA_00N114W.odd.cal.cub
cam2map from=P07_003660_2340_MA_00N114W.even.cal.cub map=P07_003660_2340_MA_00N114W.odd.map.cub to=P07_003660_2340_MA_00N114W.even.map.cub matchmap=yes
cam2map from=P07_003660_2340_MA_00N114W.even.cal.cub map=P07_003660_2340_MA_00N114W.odd.map.top.cub to=P07_003660_2340_MA_00N114W.even.map.top.cub matchmap=yes
rm P07_003660_2340_MA_00N114W.even.cal.cub
ls *.map.cub > auto1.txt
ls *.map.top.cub > auto2.txt
automos fromlist=auto1.txt mosaic=P07_003660_2340_MA_00N114W.bot.cub
automos fromlist=auto2.txt mosaic=P07_003660_2340_MA_00N114W.top.cub
rm P07_003660_2340_MA_00N114W.even.map.cub
rm P07_003660_2340_MA_00N114W.odd.map.cub
rm P07_003660_2340_MA_00N114W.even.map.top.cub
rm P07_003660_2340_MA_00N114W.odd.map.top.cub
explode from=P07_003660_2340_MA_00N114W.bot.cub to=P07_003660_2340_MA_00N114W.cub
isis2std red=P07_003660_2340_MA_00N114W.cub.band0003.cub green=P07_003660_2340_MA_00N114W.cub.band0002.cub blue=P07_003660_2340_MA_00N114W.cub.band0001.cub to=P07_003660_2340_MA_00N114W.ogb.cub mode=rgb
rm P07_003660_2340_MA_00N114W.cub.band0001.cub
rm P07_003660_2340_MA_00N114W.cub.band0002.cub
rm P07_003660_2340_MA_00N114W.cub.band0003.cub
rm P07_003660_2340_MA_00N114W.cub.band0004.cub
rm P07_003660_2340_MA_00N114W.cub.band0005.cub
explode from=P07_003660_2340_MA_00N114W.top.cub to=P07_003660_2340_MA_00N114W.cub
isis2std red=P07_003660_2340_MA_00N114W.cub.band0003.cub green=P07_003660_2340_MA_00N114W.cub.band0002.cub blue=P07_003660_2340_MA_00N114W.cub.band0001.cub to=P07_003660_2340_MA_00N114W.ogb.top.cub mode=rgb
rm P07_003660_2340_MA_00N114W.cub.band0001.cub
rm P07_003660_2340_MA_00N114W.cub.band0002.cub
rm P07_003660_2340_MA_00N114W.cub.band0003.cub
rm P07_003660_2340_MA_00N114W.cub.band0004.cub
rm P07_003660_2340_MA_00N114W.cub.band0005.cub

On my limping computer running 1 GB of RAM, it takes about 3 hours. The crop, editlab and uncrop were run to deal with the 2 exposure durations for that image. See http://pds-imaging.jpl.nasa.gov/data/mr ... varexp.lbl and http://pds-imaging.jpl.nasa.gov/data/mr ... varexp.tab

The calibration process is explained here. http://pds-imaging.jpl.nasa.gov/data/mr ... rcical.txt I think that ISIS follows most or all of the process.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 12:54 GMT 
Offline
Site Admin
User avatar

Joined: Fri, 31-08-07, 7:01 GMT
Posts: 4665
Location: Hamburg, Germany
Many thanks, Steve, that's really interesting.

Could you imagine that one might generate this way (with a faster computer and more memory) most of a simple cylindrical Mars map?? Or are ther "holes" without imaging?

Fridger

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 13:43 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
A full simple cylindrical map of Mars is not only possible but probable. That is only one image. There are thousands. I can't see why it couldn't be done. These MARCI images are taken every day. Currently, it is being used as a weather camera.

A good map would require that clouds/dust be removed. The images would also need to be calibrated further to compensate for changing luminosity so they could be seamless, kind of like the way the Blue Marble imagery was done.

I think processing time can be trimmed down by only processing "useful" data. The MARCI camera lens is extremely wide angle and only a small portion of each image is really useful. And since each image captures polar regions, each image creates a full global mosaic if simple cylindrical projection is used. With simple cylindrical projection, that is mega Giga Byte for each image at full resolution.

Oh Yeah. There are 5 bands to an image. Only 3 are needed for a rgb image. So...when I decide which 3 I will use, processing time will decrease. Currently I'm undecided between band 3 (Orange 600 nanometers) and band 4 (Red 650 nanometers). One of those and the "NIR" band will not be needed. Right now, I'm processing those 2 bands even though I'm not using them. So I will need to deal with that in the script. The program "explode" separates the bands. Running it on a MARCI image produces 5 band files. The program "cubeit" will reassemble them using only band4 or band3, band2, band1.
cartrite


Last edited by cartrite on Sat, 25-04-09, 14:50 GMT, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 14:10 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
I forgot to mention that there are 2 types of MARCI images. Type 1 has constant exposure times. Type 2 has 2 exposure times. The script I posted runs 2 exposure time images. Here is a simpler script that I've been using for type1 images.
Code:
#!/bin/sh
ISISROOT=/srv/disk5/isis3/isis
export ISISROOT
. $ISISROOT/scripts/isis3Startup.sh
cd /home/cartrite/marci/6274-3543-200w
marci2isis from=P13_006274_3543_MA_00N200W.IMG to=P13_006274_3543_MA_00N200W.cub
spiceinit from=P13_006274_3543_MA_00N200W.odd.cub
spiceinit from=P13_006274_3543_MA_00N200W.even.cub
marcical from=P13_006274_3543_MA_00N200W.odd.cub to=P13_006274_3543_MA_00N200W.odd.cal.cub
rm P13_006274_3543_MA_00N200W.odd.cub
marcical from=P13_006274_3543_MA_00N200W.even.cub to=P13_006274_3543_MA_00N200W.even.cal.cub
rm P13_006274_3543_MA_00N200W.even.cub
cam2map from=P13_006274_3543_MA_00N200W.odd.cal.cub map=/home/cartrite/marci/simplecylindrical.map to=P13_006274_3543_MA_00N200W.odd.map.cub pixres=mpp resolution=1000 defaultrange=map slat=-50 elat=50 slon=150 elon=170
rm P13_006274_3543_MA_00N200W.odd.cal.cub
cam2map from=P13_006274_3543_MA_00N200W.even.cal.cub map=P13_006274_3543_MA_00N200W.odd.map.cub to=P13_006274_3543_MA_00N200W.even.map.cub matchmap=yes
rm P13_006274_3543_MA_00N200W.even.cal.cub
ls *.map.cub > auto.txt
automos fromlist=auto.txt mosaic=P13_006274_3543_MA_00N200W.cub
Quote:
resolution=1000 defaultrange=map slat=-50 elat=50 slon=150 elon=170

Adjustable in red.
You only need to change the file name, folder, and lat/lon coordinates to process different images.
Figuring the lat/lon coords can be tricky. The file names use westerly longitudes. So 200W is actually 160E which ISIS uses. :shock:
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 14:43 GMT 
Offline
Site Admin
User avatar

Joined: Thu, 30-08-07, 22:52 GMT
Posts: 2727
Location: France, South, not far from Montpellier
[Useless comment but still necessary:]
The expertise you show guys on this topic just make my 3 brain cells in complete admiration... :o


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 15:08 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
ElChristou wrote:
[Useless comment but still necessary:]
The expertise you show guys on this topic just make my 3 brain cells in complete admiration... :o

Here is a thought. Imagine the people that Write the code to the programs that actually make this possible. I'm just a user.

Actually, this all was way over my head a few years ago. I still have a lo......ng way to go before I could even fantasize about being an expert. :shock:
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 16:14 GMT 
Offline
Site Admin
User avatar

Joined: Thu, 30-08-07, 22:52 GMT
Posts: 2727
Location: France, South, not far from Montpellier
cartrite wrote:
Here is a thought. Imagine the people that Write the code to the programs that actually make this possible...


You're all but right, but I prefer to not think about it! :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 25-04-09, 20:59 GMT 
Offline
User avatar

Joined: Sat, 13-10-07, 18:18 GMT
Posts: 373
Well, as always...

I simply continue to admire the brain-cells at work, and to profit from
their engagement. (NOT monetarily, just in enjoyment of the results.)

Many thanks, Brain-Dead

_________________
Brain-Dead Geezer Bob
Windows 8.1 Home Premium
AMD A8-5500 APU with Radeon HD Graphics
8.00 GB RAM, 64-bit Operating System
HP Hardware


Top
 Profile  
 
 Post subject: re
PostPosted: Sat, 25-04-09, 23:37 GMT 
Offline
User avatar

Joined: Tue, 04-09-07, 21:55 GMT
Posts: 859
Location: N 42.38846 W 83.45456
Quote:
Actually, this all was way over my head a few years ago. I still have a lo......ng way to go before I could even fantasize about being an expert.

no kidding i am still "just learning" and isis has been installed for two years
I don't use it every day ( or for that matter every-other day ether )

_________________
"I don't pitch Linux to my friends, I let Microsoft do that for me."
Using OpenSUSE Leap 15 & CentOS 7.6


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 272 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group