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 : DisposableCvObject, IDisposable, ICvPtrHolder
- Inheritance
-
Stitcher
- Implements
- Inherited Members
Fields
ORIG_RESOL
public const int ORIG_RESOL = -1
Field Value
Properties
Component
public IReadOnlyList<int> Component { get; }
Property Value
CompositingResol
public double CompositingResol { get; set; }
Property Value
PanoConfidenceThresh
public double PanoConfidenceThresh { get; set; }
Property Value
RegistrationResol
public double RegistrationResol { get; set; }
Property Value
SeamEstimationResol
public double SeamEstimationResol { get; set; }
Property Value
WaveCorrectKind
public WaveCorrectKind WaveCorrectKind { get; set; }
Property Value
WaveCorrection
public bool WaveCorrection { get; set; }
Property Value
WorkScale
public double WorkScale { get; }
Property Value
Methods
ComposePanorama(InputArray, OutputArray)
public Stitcher.Status ComposePanorama(InputArray images, OutputArray pano)
Parameters
imagesInputArraypanoOutputArray
Returns
ComposePanorama(OutputArray)
public Stitcher.Status ComposePanorama(OutputArray pano)
Parameters
panoOutputArray
Returns
ComposePanorama(IEnumerable<Mat>, OutputArray)
public Stitcher.Status ComposePanorama(IEnumerable<Mat> images, OutputArray pano)
Parameters
imagesIEnumerable<Mat>panoOutputArray
Returns
Create(Mode)
Creates a Stitcher configured in one of the stitching modes.
public static Stitcher Create(Stitcher.Mode mode = Mode.Panorama)
Parameters
modeStitcher.ModeScenario for stitcher operation. This is usually determined by source of images to stitch and their transformation.Default parameters will be chosen for operation in given scenario.
Returns
DisposeManaged()
Releases managed resources
protected override void DisposeManaged()
EstimateTransform(InputArray)
public Stitcher.Status EstimateTransform(InputArray images)
Parameters
imagesInputArray
Returns
EstimateTransform(InputArray, Rect[][])
public Stitcher.Status EstimateTransform(InputArray images, Rect[][] rois)
Parameters
imagesInputArrayroisRect[][]
Returns
EstimateTransform(IEnumerable<Mat>)
public Stitcher.Status EstimateTransform(IEnumerable<Mat> images)
Parameters
imagesIEnumerable<Mat>
Returns
EstimateTransform(IEnumerable<Mat>, Rect[][])
public Stitcher.Status EstimateTransform(IEnumerable<Mat> images, Rect[][] rois)
Parameters
imagesIEnumerable<Mat>roisRect[][]
Returns
Stitch(InputArray, OutputArray)
Try to stitch the given images.
public Stitcher.Status Stitch(InputArray images, OutputArray pano)
Parameters
imagesInputArrayInput images.
panoOutputArrayFinal pano.
Returns
Stitch(InputArray, Rect[][], OutputArray)
Try to stitch the given images.
public Stitcher.Status Stitch(InputArray images, Rect[][] rois, OutputArray pano)
Parameters
imagesInputArrayInput images.
roisRect[][]Region of interest rectangles.
panoOutputArrayFinal pano.
Returns
Stitch(IEnumerable<Mat>, OutputArray)
Try to stitch the given images.
public Stitcher.Status Stitch(IEnumerable<Mat> images, OutputArray pano)
Parameters
imagesIEnumerable<Mat>Input images.
panoOutputArrayFinal pano.
Returns
Stitch(IEnumerable<Mat>, Rect[][], OutputArray)
Try to stitch the given images.
public Stitcher.Status Stitch(IEnumerable<Mat> images, Rect[][] rois, OutputArray pano)
Parameters
imagesIEnumerable<Mat>Input images.
roisRect[][]Region of interest rectangles.
panoOutputArrayFinal pano.