oevislib_net  0.14.3.0
Loading...
Searching...
No Matches

ImageMap class. More...

Inheritance diagram for oevislib_net.ImageMap:

Public Member Functions

 ImageMap ()
 Creates an empty ImageMap object.
bool IsEmpty ()
 Checks whether the ImageMap is empty.
int GetInputWidth ()
 Returns the input width.
int GetInputHeight ()
 Returns the input height.
Size GetInputSize ()
 Returns a Size object containing the input image's width and height.
Size GetOutputSize ()
 Returns a Size object containing the output image's width and height.
int GetOutputWidth ()
 Returns the output width.
int GetOutputHeight ()
 Returns the output height.
float[] GetDataX ()
 Returns the pointer to the internal map X data.
float[] GetDataY ()
 Returns the pointer to the internal map Y data.
ByteBuffer Serialize ()
 Serialize ImageMap object using flatbuffers.
ImageMap CombineWith (ImageMap inImageMap)
 Combine the current ImageMap with another one.
ImageMap Inverse ()
 Invert the current ImageMap.
bool Equals (ImageMap other)
override bool Equals (object obj)
override int GetHashCode ()
override object Clone ()
override void Dispose ()

Static Public Member Functions

static bool operator== (ImageMap inImageMap1, ImageMap inImageMap2)
static bool operator!= (ImageMap inImageMap1, ImageMap inImageMap2)
static ImageMap Deserialize (ByteBuffer inBuffer)
 De-serialize an ImageMap buffer.
static ImageMap MakeMirrorMap (Size inInputSize, bool inMirrorX, bool inMirrorY)
 Creates an ImageMap to obtain a mirror of an image.
static ImageMap MakeResizeMap (Size inInputSize, Size inOutputSize, Optional< Region > outMappedRegion=null)
 Creates an ImageMap for a resize operation.
static ImageMap MakePolarMap (Size inInputSize, Size inOutputSize, Point2D inCenter, PolarSpace inPolarSpace, bool inInverse, Optional< Region > outMappedRegion=null)
 Creates a polar transform ImageMap.
static ImageMap MakeMatrixTransformMap (Size inInputSize, Size inOutputSize, Matrix inTransformMatrix, InterpolationMethod2D inInterpolationMethod)
 Creates an ImageMap which performs a transformation defined as a 3x3 homography.

Detailed Description

ImageMap class.

Constructor & Destructor Documentation

◆ ImageMap()

oevislib_net.ImageMap.ImageMap ( )
inline

Creates an empty ImageMap object.

Member Function Documentation

◆ CombineWith()

ImageMap oevislib_net.ImageMap.CombineWith ( ImageMap inImageMap)
inline

Combine the current ImageMap with another one.

Parameters
inImageMapAnother ImageMap.
Returns
Output ImageMap.

◆ Deserialize()

ImageMap oevislib_net.ImageMap.Deserialize ( ByteBuffer inBuffer)
inlinestatic

De-serialize an ImageMap buffer.

Parameters
inBufferBuffer containing the object.
Returns
Deserialized object.

◆ GetDataX()

float[] oevislib_net.ImageMap.GetDataX ( )
inline

Returns the pointer to the internal map X data.

Returns
Data pointer for X map.

◆ GetDataY()

float[] oevislib_net.ImageMap.GetDataY ( )
inline

Returns the pointer to the internal map Y data.

Returns
Data pointer for Y map.

◆ GetInputHeight()

int oevislib_net.ImageMap.GetInputHeight ( )
inline

Returns the input height.

Returns
Input height.

◆ GetInputSize()

Size oevislib_net.ImageMap.GetInputSize ( )
inline

Returns a Size object containing the input image's width and height.

Returns
Input size.

◆ GetInputWidth()

int oevislib_net.ImageMap.GetInputWidth ( )
inline

Returns the input width.

Returns
Input width.

◆ GetOutputHeight()

int oevislib_net.ImageMap.GetOutputHeight ( )
inline

Returns the output height.

Corresponds to the internal maps' height.

Returns
Output height.

◆ GetOutputSize()

Size oevislib_net.ImageMap.GetOutputSize ( )
inline

Returns a Size object containing the output image's width and height.

Returns
Output size.

◆ GetOutputWidth()

int oevislib_net.ImageMap.GetOutputWidth ( )
inline

Returns the output width.

Corresponds to the internal maps' width.

Returns
Output width.

◆ Inverse()

ImageMap oevislib_net.ImageMap.Inverse ( )
inline

Invert the current ImageMap.

Returns
ov::ImageMap

◆ IsEmpty()

bool oevislib_net.ImageMap.IsEmpty ( )
inline

Checks whether the ImageMap is empty.

Returns
True if it's empty, false otherwise.

◆ MakeMatrixTransformMap()

ImageMap oevislib_net.ImageMap.MakeMatrixTransformMap ( Size inInputSize,
Size inOutputSize,
Matrix inTransformMatrix,
InterpolationMethod2D inInterpolationMethod )
inlinestatic

Creates an ImageMap which performs a transformation defined as a 3x3 homography.

matrix.

Parameters
inInputSizeSize of input image.
inOutputSizeSize of output image.
inTransformMatrix3x3 homography matrix.
inInterpolationMethodInterpolation method used in the pixels' extraction.
Returns
Output ImageMap.

◆ MakeMirrorMap()

ImageMap oevislib_net.ImageMap.MakeMirrorMap ( Size inInputSize,
bool inMirrorX,
bool inMirrorY )
inlinestatic

Creates an ImageMap to obtain a mirror of an image.

Parameters
inInputSizeSize of input image.
inMirrorXWhether to mirror x.
inMirrorYWhether to mirror y.
Returns
Output ImageMap.

◆ MakePolarMap()

ImageMap oevislib_net.ImageMap.MakePolarMap ( Size inInputSize,
Size inOutputSize,
Point2D inCenter,
PolarSpace inPolarSpace,
bool inInverse,
Optional< Region > outMappedRegion = null )
inlinestatic

Creates a polar transform ImageMap.

Parameters
inInputSizeSize of input image.
inOutputSizeSize of output image.
inCenterCenter of transformation.
inPolarSpacePolar space type.
inInverseWhether to perform the inverse transform.
outMappedRegionPixels set by the ImageMap application.
Returns
Output ImageMap.

◆ MakeResizeMap()

ImageMap oevislib_net.ImageMap.MakeResizeMap ( Size inInputSize,
Size inOutputSize,
Optional< Region > outMappedRegion = null )
inlinestatic

Creates an ImageMap for a resize operation.

Parameters
inInputSizeSize of input image.
inOutputSizeSize of output image.
outMappedRegionPixels set by the ImageMap application.
Returns
Output ImageMap.

◆ Serialize()

ByteBuffer oevislib_net.ImageMap.Serialize ( )
inline

Serialize ImageMap object using flatbuffers.

Returns
Buffer where the object is stored.