High level image stitcher. More...
#include <opencv2/stitching.hpp>
Public Types | |
enum | Mode { PANORAMA = 0, SCANS = 1 } |
enum | Status { OK = 0, ERR_NEED_MORE_IMGS = 1, ERR_HOMOGRAPHY_EST_FAIL = 2, ERR_CAMERA_PARAMS_ADJUST_FAIL = 3 } |
Static Public Member Functions | |
static Ptr< Stitcher > | create (Mode mode=Stitcher::PANORAMA) |
Creates a Stitcher configured in one of the stitching modes. More... | |
Static Public Attributes | |
static const double | ORIG_RESOL |
When setting a resolution for stitching, this values is a placeholder for preserving the original resolution. More... | |
High level image stitcher.
It's possible to use this class without being aware of the entire stitching pipeline. However, to be able to achieve higher stitching stability and quality of the final images at least being familiar with the theory is recommended.
enum cv::Stitcher::Mode |
enum cv::Stitcher::Status |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Status cv::Stitcher::composePanorama | ( | OutputArray | pano | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Status cv::Stitcher::composePanorama | ( | InputArrayOfArrays | images, |
OutputArray | pano | ||
) |
These functions try to compose the given images (or images stored internally from the other function calls) into the final pano under the assumption that the image transformations were estimated before.
images | Input images. |
pano | Final pano. |
|
inline |
|
static |
Status cv::Stitcher::estimateTransform | ( | InputArrayOfArrays | images, |
InputArrayOfArrays | masks = noArray() |
||
) |
These functions try to match the given images and to estimate rotations of each camera.
images | Input images. |
masks | Masks for each input image specifying where to look for keypoints (optional). |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References cv::createStitcher(), and cv::createStitcherScans().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References cv::UMat::clone(), cv::UMat::cols, CV_8U, CV_Assert, cv::UMat::rows, and cv::UMat::type().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Status cv::Stitcher::stitch | ( | InputArrayOfArrays | images, |
OutputArray | pano | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Status cv::Stitcher::stitch | ( | InputArrayOfArrays | images, |
InputArrayOfArrays | masks, | ||
OutputArray | pano | ||
) |
These functions try to stitch the given images.
images | Input images. |
masks | Masks for each input image specifying where to look for keypoints (optional). |
pano | Final pano. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
When setting a resolution for stitching, this values is a placeholder for preserving the original resolution.