Class Stitcher
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
Inheritance
System.Object
Stitcher
Assembly: OpenCvSharp.dll
Syntax
public sealed class Stitcher : DisposableCvObject, ICvPtrHolder
Fields
|
Improve this Doc
View Source
ORIG_RESOL
Declaration
public const int ORIG_RESOL = -1
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Component
Declaration
public IReadOnlyList<int> Component { get; }
Property Value
Type |
Description |
IReadOnlyList<System.Int32> |
|
|
Improve this Doc
View Source
CompositingResol
Declaration
public double CompositingResol { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
PanoConfidenceThresh
Declaration
public double PanoConfidenceThresh { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
RegistrationResol
Declaration
public double RegistrationResol { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
SeamEstimationResol
Declaration
public double SeamEstimationResol { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
WaveCorrection
Declaration
public bool WaveCorrection { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WaveCorrectKind
Declaration
public WaveCorrectKind WaveCorrectKind { get; set; }
Property Value
|
Improve this Doc
View Source
WorkScale
Declaration
public double WorkScale { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
|
Improve this Doc
View Source
ComposePanorama(IEnumerable<Mat>, OutputArray)
Declaration
public Stitcher.Status ComposePanorama(IEnumerable<Mat> images, OutputArray pano)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public Stitcher.Status ComposePanorama(InputArray images, OutputArray pano)
Parameters
Returns
|
Improve this Doc
View Source
ComposePanorama(OutputArray)
Declaration
public Stitcher.Status ComposePanorama(OutputArray pano)
Parameters
Returns
|
Improve this Doc
View Source
Create(Stitcher.Mode)
Creates a Stitcher configured in one of the stitching modes.
Declaration
public static Stitcher Create(Stitcher.Mode mode = Stitcher.Mode.Panorama)
Parameters
Type |
Name |
Description |
Stitcher.Mode |
mode |
Scenario 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
|
Improve this Doc
View Source
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
|
Improve this Doc
View Source
Declaration
public Stitcher.Status EstimateTransform(IEnumerable<Mat> images)
Parameters
Type |
Name |
Description |
IEnumerable<Mat> |
images |
|
Returns
|
Improve this Doc
View Source
Declaration
public Stitcher.Status EstimateTransform(IEnumerable<Mat> images, Rect[][] rois)
Parameters
Type |
Name |
Description |
IEnumerable<Mat> |
images |
|
OpenCvSharp.Rect[][] |
rois |
|
Returns
|
Improve this Doc
View Source
Declaration
public Stitcher.Status EstimateTransform(InputArray images)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public Stitcher.Status EstimateTransform(InputArray images, Rect[][] rois)
Parameters
Type |
Name |
Description |
InputArray |
images |
|
OpenCvSharp.Rect[][] |
rois |
|
Returns
|
Improve this Doc
View Source
Stitch(IEnumerable<Mat>, OutputArray)
Try to stitch the given images.
Declaration
public Stitcher.Status Stitch(IEnumerable<Mat> images, OutputArray pano)
Parameters
Type |
Name |
Description |
IEnumerable<Mat> |
images |
Input images.
|
OutputArray |
pano |
Final pano.
|
Returns
|
Improve this Doc
View Source
Stitch(IEnumerable<Mat>, Rect[][], OutputArray)
Try to stitch the given images.
Declaration
public Stitcher.Status Stitch(IEnumerable<Mat> images, Rect[][] rois, OutputArray pano)
Parameters
Type |
Name |
Description |
IEnumerable<Mat> |
images |
Input images.
|
OpenCvSharp.Rect[][] |
rois |
Region of interest rectangles.
|
OutputArray |
pano |
Final pano.
|
Returns
|
Improve this Doc
View Source
Try to stitch the given images.
Declaration
public Stitcher.Status Stitch(InputArray images, OutputArray pano)
Parameters
Returns
|
Improve this Doc
View Source
Try to stitch the given images.
Declaration
public Stitcher.Status Stitch(InputArray images, Rect[][] rois, OutputArray pano)
Parameters
Type |
Name |
Description |
InputArray |
images |
Input images.
|
OpenCvSharp.Rect[][] |
rois |
Region of interest rectangles.
|
OutputArray |
pano |
Final pano.
|
Returns
Implements