Day 3 Script
Ingest in the Detailed Survey Images
You can get images 3 ways. Command line argument, prompt or new_pics.txt. For today's work, we will use a helper script to do it in batch. The normal way is via new_picts.txt, but that doesn't exist with the version we need to use.
We will be using a version of process_fits from an older version of the software. The current one includes a bunch of ORex specific functions that are not present in other missions. Thus, we will run a program from <working directory>/scripts, which will run process_fits from 3.0A2.
For this script, you just give it a list of the files you want (with relative path). I've built it for you already.
support/processScript.sh support/appList
Register the Images
Personally, I like to make thumbnails of the images using the display command. That is an exercise that is left for the student (but you might find a hint in /opt/local/spc/bin -- something about thumbnails -- maybe do a "grep -i display" and see what you get.
I've placed a symbolic link in your working directory to a scripts directory. Bob has his specific scripts, so I try to use them. The symbolic link allows me to link to Bob's so it is easier to keep updated (rather than having every working directory with its own copy that will get outdated.
ln -s scripts/make_scriptR_01.seed make_scriptR.seed cp PICTLIST.TXT make_script.in make_scriptR sh run_script.b find_nofit
Then monitor the work. Look at TEMPFILES.pgm (image on left, model on the right) and TEMPFILES.ppm (blue/magenta overlay)
Autoregister the Images
Here, we batch load landmarks onto images (note: lithos allows us to batch load images into a single landmark)
ln -s scripts/make_scriptA.seed make_scriptR.seed cp PICTLIST.TXT make_script.in make_scriptR sh run_script.b
- Day 1, Wednesday
- Introductions and facilities
- Check the install the software and test cases
- Introduce SPC and Bob
Intro SPC Lesson_1.pdf
- Show wiki
- Provide documentations, unix help
- Theory of SPC
- Basic SPC operation
Build landmarks Lesson 2
- Fixing landmarks
- Landmark management
Notes from day 1 - Helping cheat sheet
- Manual shift
- Global shift
- Introductions and facilities
- Lunch
Install spc_tools and updateDisplay
- Batch shift
- Day 2, Thursday
Discuss training levels Training_Notes#Training_levels
- Review SPC from yesterday
Make more landmarks Notes Day 2
- Introduce Lat/Lon tiling
- Show
- "find" in lithos
Show register
- Day 3, Thursday
- Work with the new model
- Correct landmarks that threw errors
- Build the Shape model
- Define a big map
- Show how to generate
- Show how to display
Setup and run a Standard_iteration Block 5 - Iterate
bigmap part 2
- Build maplets using a map
- Overlaps
- Practice
- Register
- Fixing landmarks
Introduce autoregister
- Iteration (continuation from yesterday)
- Fix landmarks from the iterate
- Clean up the directory using rem_script.b
- Build shape model -- Call it H2-Test2-
- Change the support/buildShape.sh file
- Install the shape model
- Add Preliminary Survey images to the shape model
- Register -- done
- Autoregister the new images -- see notes
- Iterate over the north pole landmarks
- Build shape model -- Call it H2-Test3-
- Tile the TAG site at 75 cm -- see notes
- Review tools and technique to describe errors
- CompareOBJ
- Other tools
- Error analysis
- residuals
Shape model evaluation criteria Processing States
- Review tools and technique to describe errors
Information Needed
tile_120cm_seed - the seed file to tile at 120cm
tile_75cm_seed - the seed file to tile at 75cm
tile_30cm_seed - the seed file to tile at 30cm
make_scriptT_120.in - the list of latitude/longitudes needed to tile at the 120 cm level
make_scriptT_075.in - the list of latitude/longitudes needed to tile at the 75 cm level
make_scriptT_030.in - the list of latitude/longitudes needed to tile at the 30 cm level