DataType Structure

CVB.Net Documentation
Data type description for a Image plane.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public struct DataType

The DataType type exposes the following members.

Properties

  NameDescription
Public propertyBitsPerPixel
Number of actually valid bits per pixel.
Public propertyBytesPerPixel
Number of bytes that each pixel occupies.
Public propertyClrType
Returns a type object that indicates the appropriate CLR type (where applicable) in which to store pixels of the given data type or null if no appropriate CLR type exists.
Public propertyHasOverlayBit
Gets whether bit 0 of the plane's pixels is being used as an overlay indicator bit.
Public propertyIsComplexPacked
Indicates whether or not the plane contains a complex packed image format that makes use of the hermitian symmetries in images resulting from Fourier transformation of a real-valued image.
Public propertyIsFloat
Gets whether the plane's pixels have floating point values.
Public propertyIsSignedInteger
Gets whether the plane's pixels have signed integer values.
Public propertyIsUnsignedInteger
Gets whether the plane's pixels have unsigned integer values.
Public propertyMaxVal
Maximum pixel value that fits this data type
Public propertyMinVal
Minimum pixel value that fits this data type
Public propertyNativeDescriptor
Native data type value.
Public propertyNumericType
Returns the basic numeric type of the pixels.
Public propertyUndefinedVal
Pixel value for those pixels whose value cannot be defined properly e.g. where in scanning situations pixels outside the image are accessed
Top
Methods

  NameDescription
Public methodEquals
Comparison function.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromUnmanagedDescriptor
Construct a data type descriptor from one of the native library's unmanaged descriptor values.
Public methodGetHashCode
Hash code.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets a string representation of this data type.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Comparison operator for DataType objects.
Public operatorStatic memberInequality
Comparison operator for DataType objects.
Top
See Also

Reference