Table of Contents

Class Stitcher

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

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

public sealed class Stitcher : CvObject, IDisposable
Inheritance
Stitcher
Implements
Inherited Members

Fields

ORIG_RESOL

When setting a resolution for stitching, this value is a placeholder for preserving the original resolution.

Properties

Cameras

Estimated camera parameters, one per stitched image.

Component

Returns indices of input images used in panorama stitching.

CompositingResol
MatchingMask

Mask indicating which image pairs must be matched.

PanoConfidenceThresh
RegistrationResol
SeamEstimationResol
WaveCorrectKind
WaveCorrection
WorkScale

Methods

ComposePanorama(InputArray, OutputArray)

Tries to compose the given images into the final pano, under the assumption that the image transformations were estimated before. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(InputArray, OutputArray).

ComposePanorama(OutputArray)

Tries to compose the images stored internally from the other function calls into the final pano, under the assumption that the image transformations were estimated before. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(InputArray, OutputArray).

ComposePanorama(IEnumerable<Mat>, OutputArray)

Tries to compose the given images into the final pano, under the assumption that the image transformations were estimated before. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(IEnumerable<Mat>, OutputArray).

Create(Mode)

Creates a Stitcher configured in one of the stitching modes.

EstimateTransform(InputArray)

Tries to match the given images and to estimate rotations of each camera. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(InputArray, OutputArray).

EstimateTransform(InputArray, Rect[][])

Tries to match the given images and to estimate rotations of each camera. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(InputArray, Rect[][], OutputArray).

EstimateTransform(IEnumerable<Mat>)

Tries to match the given images and to estimate rotations of each camera. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(IEnumerable<Mat>, OutputArray).

EstimateTransform(IEnumerable<Mat>, Rect[][])

Tries to match the given images and to estimate rotations of each camera. Note: Use this method only if you're aware of the stitching pipeline, otherwise use Stitch(IEnumerable<Mat>, Rect[][], OutputArray).

SetBlender(Blender)

Sets the blender used to compose the final panorama.

SetBundleAdjuster(BundleAdjusterBase)

Sets the bundle adjuster used to refine camera parameters.

SetExposureCompensator(ExposureCompensator)

Sets the exposure compensator used to remove exposure related artifacts.

SetFeaturesFinder(Feature2D)

Sets the features finder used to detect keypoints and compute descriptors.

SetFeaturesMatcher(FeaturesMatcher)

Sets the features matcher used to match images pairwise.

SetSeamFinder(SeamFinder)

Sets the seam finder used to estimate seams between images.

SetWarper(WarperCreator)

Sets the warper creator used to project images onto the panorama surface.

Stitch(InputArray, OutputArray)

Try to stitch the given images.

Stitch(InputArray, Rect[][], OutputArray)

Try to stitch the given images.

Stitch(IEnumerable<Mat>, OutputArray)

Try to stitch the given images.

Stitch(IEnumerable<Mat>, Rect[][], OutputArray)

Try to stitch the given images.