opencv_stitching
opencv_stitching is a beta version of new application that makes a panorama out of a set of photos which were took from the same point.
Usage
Rotation model images stitcher.
opencv_stitching img1 img2 [...imgN] [flags]
Flags:
- --preview
- Run stitching in the preview mode. Works faster than usual mode, but output image will have lower resolution.
- Try to use GPU. The default value is 'no'. All default values are for CPU mode.
Motion Estimation Flags:
--work_megapix <float>
- Resolution for image registration step. The default is 0.6 Mpx.
--match_conf <float>
- Confidence for feature matching step. The default is 0.65.
--conf_thresh <float>
- Threshold for two images are from the same panorama confidence. The default is 1.0.
- Bundle adjustment cost function. The default is 'focal_ray'.
- Perform wave effect correction. The default is 'yes'.
--save_graph <file_name>
Save matches graph represented in DOT language to <file_name> file. Labels description: Nm is number of matches, Ni is number of inliers, C is confidence.
Compositing Flags:
- --warp (plane|cylindrical|spherical)
- Warp surface type. The default is 'spherical'.
--seam_megapix <float>
- Resolution for seam estimation step. The default is 0.1 Mpx.
- Seam estimation method. The default is 'gc_color'.
--compose_megapix <float>
- Resolution for compositing step. Use -1 for original resolution. The default is -1.
- Exposure compensation method. The default is 'gain_blocks'.
- Blending method. The default is 'multiband'.
--blend_strength <float>
- Blending strength from [0,100] range. The default is 5.
--output <result_img>
- The default is 'result.jpg'.
Samples
Sample 1
opencv_stitching a1.jpg a2.jpg a3.jpg --output a_result.jpg
Sample 2
opencv_stitching b1.jpg b2.jpg --output b_result.jpg
Ask a Question
Feel free to ask your question here: OpenCV Yahoo Group.