Namespace: Rx.Net – Class: ImageFormat – Assembly: Rx.Net.Mixed

ImageFormat Class

C#
class ImageFormat

Image format.

Constructors

ImageFormat()

Default constructor.

ImageFormat(xFormat)

Copy constructor.

ImageFormat(xFormat)

Constructor.

ImageFormat(iWidth, iHeight, ePixelType, eDataType)

Constructor.

Finalizer

~ImageFormat()

Finalizer.

Properties

Width

Gets or sets the width.

Height

Gets or sets the height.

PixelType

Gets or sets the type of the pixel.

DataType

Gets or sets the type of the data.

ROI

If this image format describes an image that is taken from a ROI of a larger area (e.g. a camera sensor), these 4 values describe the ROI:

Methods

Equals(xFormat)

Tests if this ImageFormat^ is considered equal to another.

GetBytesPerPixel()

Gets the bytes per pixel.

GetComponentCount()

Gets the component count.

GetByteCount()

Gets the byte count.

GetPixelCount()

Gets the pixel count.

IsBayerPixelType()

Query if this object is of bayer pixel type.

IsValid()

Query if this object is valid.

Reset()

Resets this object.

ToString()

Convert this ImageFormat into a string representation.

ToNative()

Converts this ImageFormat to a CRxImageFormat.

GetNative()

Gets the native CRxImageFormat.

HasCustomDataType()

Returns true if the data type of this image format is one of the custom (non primitive) data types.

Dispose()

Destructor.

Static Methods

ToNative(xImageFormat)

Converts an ImageFormat to a CRxImageFormat.