A readable and writable base-class image for typed images
![]() | byte_order_signature (void) Find the byte-order signature for the current machine |
![]() | dimension_size (IML_USINT Dim) Returns the size of each image dimension |
![]() | dimension_start (IML_USINT Dim) Returns the starting index of each image dimension (should be 0 (zero) because image dimensions can't change) |
![]() | dimensionality (void) Returns the number of image dimensions |
![]() | element_count (void) Returns the total number of elements (pixels) in the image, disregarding the hyperplane dimensionality |
![]() | get_hyperplane_size (void) Find out how many dimensions to which the image hyperplane is restricted |
![]() | hyperplane_dimension_size (IML_USINT Dim) Returns the size of each hyperplane dimension |
![]() | hyperplane_dimension_start (IML_USINT Dim) Returns the starting index of each hyperplane dimension (because hyperplane dimension index ranges can be moved about arbitrarily) |
![]() | hyperplane_dimensionality (void) Returns the number of dimensions in the hyperplane |
![]() | hyperplane_element_count (void) Returns the total number of elements (pixels) in the hyperplane |
![]() | select_hyperplane (IML_LINT FirstSuperAxisIndex, ...) Select one of the image hyperplanes determined by the call to set_hyperplane_size() |
![]() | set_hyperplane_size (IML_USINT OSSpace) Restrict the image hyperplane to the first OSSpace dimensions |
![]() | shift_hyperplane_corner_by (IML_USINT Dim, IML_AXIS_TYPE V) Move the starting index of the hyperplane |
![]() | shift_hyperplane_corner_to (IML_USINT Dim, IML_AXIS_TYPE V) Set the starting index of the hyperplane |
A readable and writable base-class image for typed images. Provides functions for the derived classes, particularly hyperplane restriction and selection.
IML_ULINT Test = 0x01020408; IML_UBYTE *BP = (IML_UBYTE *)&Test; IML_ULINT Result = (((IML_ULINT)BP[0])<<24) | (((IML_ULINT)BP[1])<<16) | (((IML_ULINT)BP[2])<<8) | (((IML_ULINT)BP[3])<<0) ;Big-Endian machines have the unsigned long signature value 16,909,320. Little endian machines have the unsigned long signature value 134,480,385. Other (esoteric) byte orders are not currently supported and have the unsigned long signature value of zero. These are provide in macros:
IML_BIG_ENDIAN_BYTE_ORDER IML_LITTLE_ENDIAN_BYTE_ORDER IML_UNSPECIFIED_BYTE_ORDER
NOTE: You must make sure to have the argument count right! I have no way
of checking that for you.
IML_ULINT dimension_size(IML_USINT Dim)
IML_ULINT dimension_start(IML_USINT Dim)
IML_ULINT hyperplane_dimension_size(IML_USINT Dim)
IML_ULINT hyperplane_dimension_start(IML_USINT Dim)
void shift_hyperplane_corner_by(IML_USINT Dim, IML_AXIS_TYPE V)
void shift_hyperplane_corner_to(IML_USINT Dim, IML_AXIS_TYPE V)
void select_hyperplane(IML_LINT FirstSuperAxisIndex, ...)
generated by doc++