Table of Contents

Class RotationWarper

Namespace
Emgu.CV.Stitching
Assembly
Emgu.CV.dll

Rotation-only model image warper interface.

public abstract class RotationWarper : UnmanagedObject, IDisposable
Inheritance
RotationWarper
Implements
Derived
Inherited Members

Constructors

RotationWarper()

protected RotationWarper()

Fields

_rotationWarper

Pointer to the unmanaged RotationWarper object

protected nint _rotationWarper

Field Value

nint

Methods

BuildMaps(Size, IInputArray, IInputArray, IOutputArray, IOutputArray)

Builds the projection maps according to the given camera data.

public Rectangle BuildMaps(Size srcSize, IInputArray K, IInputArray R, IOutputArray xmap, IOutputArray ymap)

Parameters

srcSize Size

Source image size

K IInputArray

Camera intrinsic parameters

R IInputArray

Camera rotation matrix

xmap IOutputArray

Projection map for the x axis

ymap IOutputArray

Projection map for the y axis

Returns

Rectangle

Projected image minimum bounding box

DisposeObject()

Reset the unmanaged pointer associated to this object

protected override void DisposeObject()

Warp(IInputArray, IInputArray, IInputArray, Inter, BorderType, IOutputArray)

Projects the image.

public Point Warp(IInputArray src, IInputArray K, IInputArray R, Inter interpMode, BorderType borderMode, IOutputArray dst)

Parameters

src IInputArray

Source image

K IInputArray

Camera intrinsic parameters

R IInputArray

Camera rotation matrix

interpMode Inter

Interpolation mode

borderMode BorderType

Border extrapolation mode

dst IOutputArray

Projected image

Returns

Point

Project image top-left corner