command line tools#

spymicmac comes with the following command line tools, organized roughly by what they are used for:

setting up micmac files#

  • generate_measures_files: for creating the various input files needed for processing KH-9 Hexagon mapping camera images.

  • create_localchantier_xml: for creating a MicMac-LocalChantierDescripteur.xml file.

  • write_micmac_xml: creates an XML file for a geotiff. Used for preparing a seed DEM to pass to mm3d Malt, for example.

pre-processing#

  • preprocess_kh9_mc: for pre-processing KH-9 Hexagon mapping camera images from .tgz files to a relative orientation

  • preprocess_pan: for pre-processing panoramic camera images from .tgz files to cropped images.

individual steps#

These tools do individual steps as part of pre-processing:

  • join_hexagon: for joining scanned parts of an image together.

  • find_reseau_grid: for finding réseau marks in a KH-9 Hexagon mapping camera image.

  • remove_crosses: for removing réseau marks in a KH-9 Hexagon mapping camera image.

  • resample_hexagon: for resampling a KH-9 Hexagon mapping camera image using the réseau marks found previously.

image registration and gcps#

The following tools perform steps related to automatically finding GCPs:

image processing#

  • balance_images: for applying CLAHE to all images in the current directory.

post-processing#