| Size: 10277 Comment:  | Size: 13972 Comment:  | 
| Deletions are marked like this. | Additions are marked like this. | 
| Line 4: | Line 4: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 9: | Line 11: | 
| * [[Table_of_Contents_For_User's_Manual]] - We will come up with a table of contents for OSIRIS SPC. Here is where I will be putting my notes. Other's with suggestions are welcome. | * [[Table_of_Contents_For_User's_Manual]] - We will come up with a table of contents for OSIRIS SPC. Here is where I will be putting my notes. Other's with suggestions are welcome. [[User Manual Author's Task List]] | 
| Line 14: | Line 16: | 
| * [[Error_evaluation]] - How to evaluate things for error and consistancy -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 25: | Line 30: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 27: | Line 33: | 
| === Procedures for Bennu === * [[Bennu_Initial_Setup]] * [[Bennu_PROCESS_FITS]] * [[Bennu_make_sumfiles]] * [[Bennu_REGISTER]] * [[Bennu_LatLonTiling]] | |
| Line 29: | Line 43: | 
| * [[Basic_tiling]] - The core procedures for tile a [[bigmap]] | * [[Basic_tiling]] - The core procedures for tiling a [[bigmap]] * [[Basic Tiling - Achieving the Desired Maplet Overlap]] - The bigmap.in file parameters to achieved the desired maplet overlap percentage. | 
| Line 42: | Line 57: | 
| * [[Basic Procedure]] -- Simple way to fix landmarks using [[lithos.e|lithos]] that usually works. | * [[Basic Procedure]] -- Simple way to fix landmarks using [[lithos]] that usually works. | 
| Line 45: | Line 60: | 
| * [[Poor topography]] -- What to do when the topography is too poor for any alignment. * [[LITHOSP crashes]] -- How to recover without starting over | |
| Line 47: | Line 64: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 66: | Line 84: | 
| === Fun Tools === * [[updateDisplay]] - aid for visualization | -------------------------------------------------------------------------------------------------------------------------------------------------- == Fun Tools == * [[updateDisplay]] - aid for landmark/maplet visualization -------------------------------------------------------------------------------------------------------------------------------------------------- | 
| Line 72: | Line 93: | 
| * [[lithos.e]] - aligns maplets to the current shape model and will provide slight changes to the shape (stored in MAPFILES) | * [[lithos]] - aligns maplets to the current shape model and will provide slight changes to the shape (stored in MAPFILES) | 
| Line 77: | Line 98: | 
| * [[autoregisterP]] - adds groups of landmarks to an image using parallel processing | |
| Line 92: | Line 114: | 
| * [[Imager_MG]] - How to make images from maplets | |
| Line 97: | Line 120: | 
| * [[shape_info]] - generates DTM information | |
| Line 99: | Line 123: | 
| * [[find_nofitT.e]] - searches for alignments that had problems | * [[duplicates]] - Generates the make_script.in file to accompany [[make_scriptP]], comprising an ordered list of unique landmark names. * [[find_nofit]] - searches for alignments that had problems | 
| Line 102: | Line 127: | 
| * [[make_scriptT.e]] [[make_scriptT]] - generates the script that tiles (makes new maplets) | * [[make_lmrklistX]] - generates [[LMRKLISTX]] * [[make_scriptA]] - generates the script that batch autoregisters images * [[make_scriptAP]] - generates the script for batch autoregistering images using parallel processing * [[make_scriptP]] - generates the script for iterating landmarks using [[lithosP]] * [[make_scriptR]] - generates the script that batch registers images * [[make_scriptT]] - generates the script that tiles (makes new maplets) | 
| Line 109: | Line 139: | 
| * [[make_tilefile]] - Generates the pixel/line maplet-center locations required to complete the tiling of a bigmap. | |
| Line 120: | Line 151: | 
| === Directories === | -------------------------------------------------------------------------------------------------------------------------------------------------- == Directories == | 
| Line 131: | Line 163: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 137: | Line 170: | 
| * [[LMRKLISTX.TXT]] | |
| Line 151: | Line 185: | 
| * [[INIT_LITHOS]] === Key Diagnostic Files === | * [[INIT_LITHOS.TXT]] -------------------------------------------------------------------------------------------------------------------------------------------------- == Key Diagnostic Files == | 
| Line 159: | Line 194: | 
| === Support Files === | -------------------------------------------------------------------------------------------------------------------------------------------------- == Support Files == | 
| Line 162: | Line 198: | 
| * [[make_scriptA.seed]] - Used by [[make_scriptA]] to build ?? * [[make_scriptR.seed]] - Used by [[make_scriptR]] to build ?? | |
| Line 163: | Line 201: | 
| === SPC Lessons === | * [[MAPTRANS]] - Diagnostic tools to visualize maplet translations. -------------------------------------------------------------------------------------------------------------------------------------------------- == SPC Lessons == | 
| Line 182: | Line 222: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 185: | Line 226: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| Line 189: | Line 231: | 
| -------------------------------------------------------------------------------------------------------------------------------------------------- | 
WIKI for Bob Gaskell's StereoPC
General Info
This is an attempt to document of some of the key programs and support files for Stereo Photoclinometry. I've been taking pretty good notes, and I thought we could all share and benefit from what we each have learned. If you figure something out (or get help from Bob himself), be sure to post it. If you need help with the wiki, let me know (or just send me the info).
- General_Parameters - Resolution scale, etc. 
- Questions_to_ask - When I talk to Bob, these are things I am wondering 
- Table_of_Contents_For_User's_Manual - We will come up with a table of contents for OSIRIS SPC. Here is where I will be putting my notes. Other's with suggestions are welcome. User Manual Author's Task List 
- Training_Notes - Eric's notes for what to introduce and how 
- SPC_V_and_V_testing - Directions and guideline for testing 
- Error_evaluation - How to evaluate things for error and consistancy 
Versions
- 1.0 -- Initial version of SPC
- 2.0 -- Version of SPC with the Common library created
- 2.1A7 -- This is the baseline version of Gaskell's software. I has gone under SubComponent testing 
- 3.0A0 -- These have changed required in SPC to finish the SubComponent testing. It changed regress, process_fits and geometry 
- 3.0A1 -- Released by Bob in support of Dawn @ Ceres
- 3.0A1a -- Minor changes
- 3.0A2 -- In development. Includes miscellaneous changes.
- 3.1 -- (in progress) Will have all code improvements from Rosetta. Will receive regression testing.
- 3.2 -- (in progress) Will include polar wobble.
Work Flow
Procedures for Bennu
Building Landmarks
- Making_new_landmarks - Workflow from the 50m resolution work done for Dawn at Vesta 
- Basic_tiling - The core procedures for tiling a bigmap - Basic Tiling - Achieving the Desired Maplet Overlap - The bigmap.in file parameters to achieved the desired maplet overlap percentage. 
 
- LatLon_tiling - Tiling using Lat/Lon. Used for the initial sets of landmarks 
- Export_Import - Build landmarks on other machines and export them and import them 
Test Procedure
- Standard_iteration - Runs lithosP 
- Adding new images - How to run autoregister 
- Building a shape model - How to run densify 
Problems
- Fill_procedure -- Replace current topography with shape or bigmap. Fixes problems 
- Fixing_problem_landmarks -- Techniques to deal with landmarks that don't work well - When to Fix Landmarks - When? 
- Basic Procedure -- Simple way to fix landmarks using lithos that usually works. 
- Aligning to a Single Image -- What to do if initial image alignment shows no to very miniscule correlation. 
- Manually Moving An Image -- What to do when some images (that you want/need to use for building template) won't auto correlate. 
- Poor topography -- What to do when the topography is too poor for any alignment. 
 
- LITHOSP crashes -- How to recover without starting over 
- Obsolete Small_Footprint_Processing - Lets you do tiling copying only the files that you need for the specific task. 
Scripts - from AAA.TXT
- Fill - Take topography from a bigmap and replace a landmark's terrain with it. 
Fun Tools
- updateDisplay - aid for landmark/maplet visualization 
Programs
Lithos
- lithos - aligns maplets to the current shape model and will provide slight changes to the shape (stored in MAPFILES) 
- geometry - figures out a surface based on landmarks 
- residuals.e - figures out a surface based on landmarks 
- register - aligns a new image with a reference, manually 
- autoregister - adds groups of landmarks to an image 
- autoregisterP - adds groups of landmarks to an image using parallel processing 
Imager
- map_coverage.e - shows the coverage that has been processed by resolution 
- coverage.e - shows the global coverage that has been processed by resolution 
- image_map_rgb.e - Renders a 3D image of a bigmap using red and blue 
- view_shape.e - The generates a point-of-view image of the shape model 
- panaroma.e - Makes a 360 degree panaroma image from a big map 
- surface_imager.e - Makes an image using a surface point of view from a big map 
- display.e - Appears to generate an image that shows the location of landmarks on it 
- mosaic - Creates a mosaic of images registered to the shape model 
- Imager_MG - How to make images from maplets 
Shaper
- bigmap - processes maplets to form a bigmap 
- spheremapB.e - This reads the Zmap files and makes the resulting map line by line. 
- update_infiles.e - generates a list of landmarks and headers for showing coverage 
- shape_info - generates DTM information 
Utilities
- duplicates - Generates the make_script.in file to accompany make_scriptP, comprising an ordered list of unique landmark names. 
- find_nofit - searches for alignments that had problems 
- export.e - builds scripts to package up the new maplets/landmarks into a tar ball 
- importL.e - builds script to unpack maplets/landmarks and integrate into a master directory 
- make_lmrklistX - generates LMRKLISTX 
- make_scriptA - generates the script that batch autoregisters images 
- make_scriptAP - generates the script for batch autoregistering images using parallel processing 
- make_scriptP - generates the script for iterating landmarks using lithosP 
- make_scriptR - generates the script that batch registers images 
- make_scriptT - generates the script that tiles (makes new maplets) 
- refresh_sumfiles.e - updates the sumfiles to match the maplets 
- showmap.e - generates an image (.pgm) for a specific bigmap 
- pr_template - (copy the codes for when making a new prog page) 
- make_pictlistX - Builds the file PICTLISTX.TXT which makes things run faster 
- process_img - Takes a list of files and creates make_sumfiles.in. Creates IMAGEFILE for each images 
- make_sumfiles - Computes the SUMFILE and NOMINALS 
- make_tilefile - Generates the pixel/line maplet-center locations required to complete the tiling of a bigmap. 
Gravity
- Mgrav.e - Makes MGRAV.TXT and generates gravity images based on a map or bigmap. 
- Sgrav.e - Makes a file called SGRAV.TXT that is like SHAPE.TXT but with extra columns for surface acceleration, potential and laplacian (just as a check). Based on a shape model. This is for a non-rotating body with GM=1. 
- Sacc.e - Provided the correct GM and Omega, it will use SGRAV.TXT file to create the surface acceleration. 
- Selv.e - Provided the correct GM and Omega, it will use SGRAV.TXT file to create the surface elevation (same as geoid). 
- Slap - Provided the correct GM and Omega, it will use SGRAV.TXT file to create the surface laplacian. 
- Spot.e - Provided the correct GM and Omega, it will use SGRAV.TXT file to create the surface potential. 
- Sslpa.e - ? 
Directories
- LMKFILES - Stores the actual landmarkts, .LMK 
- MAPFILES - Stores the maplets, .MAP 
- IMAGEFILES - Directory that holds the image files, .DAT 
- SUMFILES - Directory that holds the sum files, .SUM 
- NOMINALS - Directory that holds the sum files, .NOM 
- NEW_IMAGES - Directory that holds the new, and unprocessed image files (in pgm format) 
- DATA - A place for the SPICE kernels 
- UTILITIES - Programs that are specific for this project 
- SHAPEFILES - Holds the different types of shapefiles 
Key Input Files
- LMRKLIST.TXT - The full list of landmarks 
- PICTLIST.TXT - List of the images that are in the system 
- PICTLISTX.TXT - List of the images that are in the system with precomputed metadata. 
- BIGLIST.TXT - List of mapfiles (bigmaps) used to make a new bigmap. Generated from bigmap.e 
- SGRAV.TXT - produced from Sgrav.e. Similar to SHAPE.TXT with extra columns for surface acceleration, potential and laplacian (just as a check). 
- MGRAV.TXT - produced by Mgrav.e. It contains vector position, potential, acceleration, slope and delta elevation. 
- SHAPE.TXT - The shape model of the object. Done is 3 column format of vertex using x, y, z coordinates 
- GEOID.TXT - gives the geoid in X, Y, Z position. A 3 column file. 
- SHAPEC.TXT - gives the height above the surface. A 4 column file. 
- MOSAIC.TXT - A list of images that mosaic uses to build a moasic 
- make_sumfiles.in - List of new images to process 
- make_sumfiles.txt - SPICE references 
- IFRAME.TXT - Converts to J2000 
Key Diagnostic Files
- RESIDUALS.TXT - Errors within the map and images 
- INSIDE.TXT - Only the maps that are inside of the most recent bigmap created 
- USED_MAPS.TXT - All maps used when making a bigmap 
- USED_PICS.TXT - All images used when making a bigmap 
- PICINFO.TXT - List all the images and parameters about them 
Support Files
- Usually these files are used to run batch jobs or scripts.
- make_scriptA.seed - Used by make_scriptA to build ?? 
- make_scriptR.seed - Used by make_scriptR to build ?? 
- make_scriptT.in - Used by make_scriptT.e to build run_script.b 
- MAPTRANS - Diagnostic tools to visualize maplet translations. 
SPC Lessons
- Generate a maplet with specific parameters
- Then tile maplet with overlapping better resolution maplets
 
- Process more images and tile a maplet (3-4 hours)
 
- AUTOREGISTER, Create Bigmap from 0.4 pm/px maps, set up batch run tiling
 
Papers and Presentations
Deprecated
- view_maps.in - A list of all the maplets to be used in view_maps.e. The first line isn't read. The file should be terminated with "END" 
- view_maps.e - This will do "paper mache" of all the maplets listed in view_maps.in. 
Help
Contact me with questions. Email: <epalmer AT SPAMFREE psi DOT edu>
Links to wiki formatting and help https://moinmo.in/HelpOnMoinWikiSyntax
- Test_Files - I'm going to store the scripts here for the testing proceedures 







