Show / Hide Table of Contents

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
DisposableObject
DisposableCvObject
Stitcher
Implements
ICvPtrHolder
Inherited Members
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
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
Type Description
WaveCorrectKind
| 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
Type Name Description
IEnumerable<Mat> images
OutputArray pano
Returns
Type Description
Stitcher.Status
| Improve this Doc View Source

ComposePanorama(InputArray, OutputArray)

Declaration
public Stitcher.Status ComposePanorama(InputArray images, OutputArray pano)
Parameters
Type Name Description
InputArray images
OutputArray pano
Returns
Type Description
Stitcher.Status
| Improve this Doc View Source

ComposePanorama(OutputArray)

Declaration
public Stitcher.Status ComposePanorama(OutputArray pano)
Parameters
Type Name Description
OutputArray pano
Returns
Type Description
Stitcher.Status
| 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
Type Description
Stitcher
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

EstimateTransform(IEnumerable<Mat>)

Declaration
public Stitcher.Status EstimateTransform(IEnumerable<Mat> images)
Parameters
Type Name Description
IEnumerable<Mat> images
Returns
Type Description
Stitcher.Status
| Improve this Doc View Source

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

Declaration
public Stitcher.Status EstimateTransform(IEnumerable<Mat> images, Rect[][] rois)
Parameters
Type Name Description
IEnumerable<Mat> images
OpenCvSharp.Rect[][] rois
Returns
Type Description
Stitcher.Status
| Improve this Doc View Source

EstimateTransform(InputArray)

Declaration
public Stitcher.Status EstimateTransform(InputArray images)
Parameters
Type Name Description
InputArray images
Returns
Type Description
Stitcher.Status
| Improve this Doc View Source

EstimateTransform(InputArray, Rect[][])

Declaration
public Stitcher.Status EstimateTransform(InputArray images, Rect[][] rois)
Parameters
Type Name Description
InputArray images
OpenCvSharp.Rect[][] rois
Returns
Type Description
Stitcher.Status
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr
| 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
Type Description
Stitcher.Status

Status code.

| 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
Type Description
Stitcher.Status

Status code.

| Improve this Doc View Source

Stitch(InputArray, OutputArray)

Try to stitch the given images.

Declaration
public Stitcher.Status Stitch(InputArray images, OutputArray pano)
Parameters
Type Name Description
InputArray images

Input images.

OutputArray pano

Final pano.

Returns
Type Description
Stitcher.Status

Status code.

| Improve this Doc View Source

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

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
Type Description
Stitcher.Status

Status code.

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX