Skip to content

Latest commit

 

History

History
86 lines (63 loc) · 2.57 KB

README.md

File metadata and controls

86 lines (63 loc) · 2.57 KB

photogram

photogrammetry pipeline

1. Conversion to DNG format

Convert all files to the widely used DNG raw photo format.

cd photogram/
for file in ./test_data/*.CR3; 
	do dnglab convert $file dng_data/${file%.CR3}.DNG;
done

2. Apply color calibration to photos

The X-rite color palette is supported in darktable.

darktable-cli ...

3. Cluster and organize photos

3.1 by angle-rotation

# python script using opencv
opencv?

3.2 by time intervals

Use ExifTool to extract the timestamp of photos, indentify to intervals by 1) setting manual threshold, or 2) fitting them into gmm distribution.

SOFTWARE

  • [DNGLAB] A tool for converting between raw formats, specifically here for CR3 -> DNG, since very few tools support CR3. Tested and working. Install from .deb or source.

  • EXIFTOOL Command line perl program for editing meta data (EXIF) on various file formats. A dependency of ART. Can be installed within conda.

  • ART This is a fork of RawTherapee, a windows-only tool for converting between different raw file formats. It is the only Linux software I have found that can load the proprietary Canon raw format CR3. Available install from APT.

  • [DARKTABLE] A lightroom-like raw photo viewer and editor. Can be used to apply color corrections. Has a command line utility darktable-cli that may be able to implement batch processing. Available install from APT.

DNGLAB -> DARKTABLE -> 
  1. Collect a set of images from the same sample.
  2. Color correct and convert image to JPG
    • X-RITE software (free but NOT LINUX)
    • CRAW format (.CR3) is not supported by darktable.
  3. Identify sets of images from the same angle.
    • Image clustering analysis
  4. Focus stacking of images from the same angle.
    • Helicon Focus
    • photoshop
    • enfuse (free Linux)
  5. Background removal
    • Automate... maybe gimp or OpenCV
  6. Build mesh model
    • AGISOFT