OpenCV453
モジュール | クラス | 関数
Images stitching

モジュール

 Features Finding and Images Matching
 
 Rotation Estimation
 
 Autocalibration
 
 Images Warping
 
 Seam Estimation
 
 Exposure Compensation
 
 Image Blenders
 

クラス

class  cv::Stitcher
 High level image stitcher. [詳解]
 
struct  cv::detail::CameraParams
 Describes camera parameters. [詳解]
 
class  cv::detail::Timelapser
 
class  cv::detail::TimelapserCrop
 
class  cv::detail::DisjointSets
 
struct  cv::detail::GraphEdge
 
class  cv::detail::Graph
 

関数

CV_DEPRECATED Ptr< Stitchercv::createStitcher (bool try_use_gpu=false)
 
CV_DEPRECATED Ptr< Stitchercv::createStitcherScans (bool try_use_gpu=false)
 
CV_EXPORTS_W bool cv::detail::overlapRoi (Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi)
 
CV_EXPORTS_W Rect cv::detail::resultRoi (const std::vector< Point > &corners, const std::vector< UMat > &images)
 
CV_EXPORTS_W Rect cv::detail::resultRoi (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 
CV_EXPORTS_W Rect cv::detail::resultRoiIntersection (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 
CV_EXPORTS_W Point cv::detail::resultTl (const std::vector< Point > &corners)
 
CV_EXPORTS_W void cv::detail::selectRandomSubset (int count, int size, std::vector< int > &subset)
 
CV_EXPORTS_W int & cv::detail::stitchingLogLevel ()
 
 cv::detail::GraphEdge::GraphEdge (int from, int to, float weight)
 

詳解

This figure illustrates the stitching module pipeline implemented in the Stitcher class. Using that class it's possible to configure/remove some steps, i.e. adjust the stitching pipeline according to the particular needs. All building blocks from the pipeline are available in the detail namespace, one can combine and use them separately.

The implemented stitching pipeline is very similar to the one proposed in [BL07] .

stitching pipeline

Camera models

There are currently 2 camera models implemented in stitching pipeline.

Homography model is useful for creating photo panoramas captured by camera, while affine-based model can be used to stitch scans and object captured by specialized devices. Use cv::Stitcher::create to get preconfigured pipeline for one of those models.

覚え書き
Certain detailed settings of cv::Stitcher might not make sense. Especially you should not mix classes implementing affine model and classes implementing Homography model, as they work with different transformations.

関数詳解

◆ createStitcher()

CV_DEPRECATED Ptr< Stitcher > cv::createStitcher ( bool  try_use_gpu = false)

◆ createStitcherScans()

CV_DEPRECATED Ptr< Stitcher > cv::createStitcherScans ( bool  try_use_gpu = false)