Differences between revisions 4 and 9 (spanning 5 versions)
Revision 4 as of 2018-05-23 12:56:40
Size: 4599
Editor: EricPalmer
Comment:
Revision 9 as of 2018-06-01 13:27:32
Size: 5705
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
= Itinerary = == Day 1 - It's all about LITHOS ==
Line 4: Line 4:
The core of SPC is [[lithos]]. That tool lets you create landmarks, associate images, align images, determine the 3D position of the landmark and create topography.
Line 5: Line 6:
== Day 1 == === Landmarks ===
Line 7: Line 8:
 * Introductions Fixing landmarks, using [[Input landmark]]
Line 9: Line 10:
 *Discussion of the Wiki/User’s manual
 *Unix file layout and paths
 * executables
 * source code
 * helpers
 * scripts
 * support
 
 * SPC files
 * working
 * mapfile/landmark files
 * kernels
 * images
 * START1 - nominal
 * START2 - simple autoalign [[Align landmarks]]
 * START3 - align with an images [[Align landmarks]]
 * START4 - manually align a single image [[Align landmarks]]
 * START5 - using correlation and template [[Find template]]
Line 23: Line 16:
 * Show Theory of SPC Building a landmark [[Create new landmark]]
 * Name: START6
 * Lat/Lon: -10/350
 * Res: 0.001
 * Q-size: 49
Line 25: Line 22:
 * <LUNCH> === Topography ===
Line 27: Line 24:
 * SPC Landmarks
 * display landmark
 * landmark management
  * create
  * delete
  * rename
 * images
  * add images
  * remove images - auto and manual
  * select useable, correlation and manual
  * adjust image position, auto, manual
 * global shift
 * build template
  * 0 0 40
  * 0 c
  * 0 1234
 * find height
  * options
Once all the images are aligned (the center pixel of every image is at the exact same feature of the surface), then you can build topography using photoclinometry with some conditions. [[Find heights]]
Line 46: Line 26:
 * Tile 120
 * make_scriptT.seed
 * make_scriptT
 * sh run_script.b
 * find_nofit
 * TESTFILES, TESTFILES1
 


== Day 2 ==

Let's talk about images

 * IMAGEFILES
 * format -- 16bit, 32bit
 * SPC options

 * Describe NOMINALS, SUMFILES

 * Overview of adding images
 * process_fits
 * make_sumfiles
 * make_sumfiles.txt
 * make_sumfilex.in

 * Register
 * Demo
 * Practice
 * Batch

 * Autoregister
 * Demo
 * Practice
 * Batch


 * <Lunch>

 * Iteration
 * Setup
  * cp LMRKLIST.TXT make_script.in
  * ln -s <whatever> make_scriptP.seed
  * make_scriptP > run.sh
 * Running
  * sh run.sh
 * Evaluation
  * find_nofitP

 * Tile 75
 * Setup
  * ln -s make_scriptT_75.seed make_scriptT.in
  * make_script
 * Running
  * sh run_script.b


== Day 3 ==

 * Clean up from 75cm tiling

 * SPC Technical Info - Gaskell
 * Discussion of SPC Design
 * Technical details
 * Issues and complexities

 * Evaluation
 * RESIDUALS, *INFO


 * <LUNCH>

 * Tiling by BIGMAP
 * Making a bigmap
 * Criteria for size, scale
 * Setup
 * Running
 * Evaluation

 * More evaluation
 * Error evaluation
 * Questions
[[toposcript]]
Line 133: Line 33:

----
== 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)


 * [[make_scriptR.seed]] - generic
 * [[make_scriptR_01.seed]]
 * [[make_scriptR_02.seed]]

=== 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
}}}

[[make_scriptA.seed]]


Day 1 - It's all about LITHOS

The core of SPC is lithos. That tool lets you create landmarks, associate images, align images, determine the 3D position of the landmark and create topography.

Landmarks

Fixing landmarks, using Input landmark

Building a landmark Create new landmark

  • Name: START6
  • Lat/Lon: -10/350
  • Res: 0.001
  • Q-size: 49

Topography

Once all the images are aligned (the center pixel of every image is at the exact same feature of the surface), then you can build topography using photoclinometry with some conditions. Find heights

toposcript


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

make_scriptA.seed


  • 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
  • Lunch



  • Day 3, Thursday
  • Notes, Day 4

  • 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

Information Needed

ImDayModel-draft (last edited 2018-06-05 21:02:24 by EricPalmer)