Describe Adding new images here.
1 - Run process_fits or process_img to bring the images in from their native format into SPC's format (signed long int)
2 - Run make_sumfiles to create the SUMFILES and NOMINALS. This pulls in the SPICE information and figures out the position of the image relative to the object.
3 - Run register. This will do a macro-alignment to get the images close
4 - Run autoregister. It will add all the landmarks to this specific image
How to do [[register]]
You use the file TEMPFILE.pgm and TEMPFILE.ppm to see how well things worked.
For each image, we will align the image to the shape model. (Basic proceedure) /usr/local/bin/register <image number> s # shape .1 # km/pixel resolution 3 # correlate y 1 # change resolution .01 # km/pixel resolution 3 # correlate y 1 # change resolution .001 # km/pixel resolution 3 # correlate y 1 # change resolution .00015 # km/pixel resolution 3 # correlate y 0 y n n 0 If one of these auto-aligns do not work, then we must manually work out the offsets. This is done by reviewing the TEMPFILE.pgm and TEMPFILE.ppm, which show the two objects (the shape and the image) in a single image. You calculate the delta X and delta Y required to align the two images and put them in for the correlation option. Once done, you try to auto-correlate again.
How to run [[autoregister]]
autoregister <image num> y .5 n # Now eliminate new images (or use a for all) # Autoreg script - from test proc - 12 Jan 2015 # Auto-remove images that are poor fits (resolution, lack of image data) n 20 50 .5 0 2 # Now you can use autocorrelation to get an initial registration 1 1 n 0 y 1 2 n 0 y # If that seems good, stop there. Do a final 1 1 to get small adjustments 1 1 n 0 y # Remove crummy o .4 # Make them all "non-starred" 4 a 0 q