Category D |
Version 3.0 |
Imager_MG makes images from a set of maplets. You provide it with a 12 character image name (standard SPC name). Imager_MG will read the solar position and spacecraft pointing, position, focal length and number of samples/lines to generate model derived image that matches the observing parameters from the source image.
Directories:
Files:
NOTE!
$ Imager_MG input 12-character picture name P607165886A4 Save image as template? (y/n) y
This will make a .RAW file and place it in TEMPLATES. The format for the .RAW file is the same as a DAT file.
== Output ==
Two options exist. Either a TEMPLATE file, <imagename>.RAW will be created in the TEMPLATES directory or it will simply make a display image, TEMPFILE.pgm.
Output is an 8-bit image (DN range 0 to 255)
A batch script exists to support creating a large number of these files, makeImages. The source is in the GitHub repository, OREXSupport.
sh makeImages.sh
This will make a .RAW file and place it in TEMPLATES. makeImages.sh should have an "exit" at the end of the loop which will make it generate one .RAW file and then stop. Once you have confirmation that the script is working you can comment out the "exit" so the rest of the script will run.
sh viewImages.sh
This will read the .RAW files and make thumbnails for viewing in IMAGEFILES. This shell script can be used even before makeImages.sh is finished, although it will generate some errors.
Be sure to comment out the "exit" in viewImages.sh to generate all the images. Thumbnails of the images will show up in ~/send/
img-list - Contains a list of all the image names. (Can be built from the .SUM file list, but need to remove the ".SUM" from each line. No need for an "END." Also no need for spaces before the image name.)
Be sure to comment out the "exit" in viewImages.sh to generate all the images. Thumbnails of the images will show up in ~/send/