Difference between revisions of "Align image stack"
|Line 1:||Line 1:|
align_image_stack is a command-line tool
align_image_stack is a command-line tool to align overlapping images to facilitate [[HDR]] creation, [[Exposure blending]], extended [[Depth of Field]], and [[Stereoscopic]] images.
== Usage ==
== Usage ==
Latest revision as of 21:34, 27 April 2017
align_image_stack [options] input_files
Options: modes of operation
Output .pto file. (Useful for debugging, or further refinement.)
Align images, output as prefix_xxxx.tif.
Merge images to HDR, generate output.hdr.
Verbose, print progress messages.
Remove all control points with an error higher than num pixels (default: 3).
Correlation threshold for identifying control points (default: 0.9).
Optimize field of view for all images, except for first. Useful for aligning focus stacks with slightly different magnification.
Optimize radial distortion for all images, except for first.
Optimize image center shift for all images, except for first.
Optimize X coordinate of the camera position.
Optimize Y coordinate of the camera position.
Optimize Z coordinate of the camera position. Useful for aligning more distorted images.
Assume stereo images - allow horizontal shift of control points. Adds all control points as "horizontal lines".
Align stereo window - assumes -S. Adds one "normal" control point that is the nearest point, so that everything will appear behind the display plane.
Align stereo window with pop-out effect - assumes -S. Adds one "normal" control point that is the nearest point from the border areas, so that the center of the image may appear in front of the display plane.
Auto crop the image to the area covered by all images.
Number of control points (per grid, see option -g) to create between adjacent images (default: 8).
Assume linear input files.
Scale down image by 2scale (default: 1 [2x downsampling]). Scaling down images will improve speed at the cost of accuracy.
Break image into a rectangular grid (gsize x gsize) and attempt to find num control points in each section (default: 5 [5x5 grid] )
Try to load distortion information from lens database.
Use the image order as given from command line. (By default images will be sorted by exposure values as found in EXIF data.)
Use GPU for remapping.