In file mydocsrc/iml_ndim.h:

template class iml_scalar_image : public iml_typed_image

A template image class for scalar images

Inheritance:

iml_scalar_image < iml_typed_image < iml_image


Public Methods

iml_scalar_image (const iml_index IML_REF Dimensions)
General, n-D image constructor
iml_scalar_image (const iml_scalar_image IML_REF TrueImage)
A constructor that implements image aliasing such that the new image shares the same memory segment as the image in the argument of the constructor.
iml_scalar_image (IML_USINT XSize, IML_USINT YSize)
Simple 2-D image constructor
iml_scalar_image (IML_USINT XSize, IML_USINT YSize, IML_USINT TSize)
Simple 3-D image constructor
iml_scalar_image (IML_USINT X0, IML_USINT X1, IML_USINT X2, IML_USINT X3)
Simple 4-D image constructor
iml_scalar_image (IML_USINT XSize)
Simple 1-D image constructor
void mean_and_sdev (IML_DOUBLE &Mean, IML_DOUBLE &SDev)
Calculate the mean and standard deviation of the image elements
void min_max_element (IML_DOUBLE &Min, IML_DOUBLE &Max)
Find the min and max values of the elements of the image
void scale_elements (IML_DOUBLE Min, IML_DOUBLE Max)
Scale the elements of the image to be from Min to Max (inclusive)

Inherited from iml_typed_image:

Public Methods

T IML_REF fa(IML_LINT Axis0Index, IML_LINT Axis1Index, IML_LINT Axis2Index, IML_LINT Axis3Index)
T IML_REF fa(IML_LINT Axis0Index, IML_LINT Axis1Index, IML_LINT Axis2Index)
T IML_REF fa(IML_LINT Axis0Index, IML_LINT Axis1Index)
T IML_REF hp_fa(IML_LINT Axis0Index, ...)
iml_image_type image_type(void)
T IML_REF operator()(IML_ULINT Index)
T IML_REF operator()(IML_LINT Axis0Index, IML_LINT Axis1Index, ...)
T IML_REF operator()(iml_index IML_REF ImIndex)
T IML_REF operator[](IML_LINT Index)
IML_BYTE valid_memory(void)

Inherited from iml_image:

Public Methods

IML_ULINT byte_order_signature(void)
IML_ULINT dimension_size(IML_USINT Dim)
IML_ULINT dimension_start(IML_USINT Dim)
IML_ULINT dimensionality(void)
IML_ULINT element_count(void)
IML_ULINT get_hyperplane_size(void)
IML_ULINT hyperplane_dimension_size(IML_USINT Dim)
IML_ULINT hyperplane_dimension_start(IML_USINT Dim)
IML_ULINT hyperplane_dimensionality(void)
IML_ULINT hyperplane_element_count(void)
void select_hyperplane(IML_LINT FirstSuperAxisIndex, ...)
void set_hyperplane_size(IML_USINT OSSpace)
void shift_hyperplane_corner_by(IML_USINT Dim, IML_AXIS_TYPE V)
void shift_hyperplane_corner_to(IML_USINT Dim, IML_AXIS_TYPE V)

Documentation

A template image class for scalar images. Provides functions for intstance classes, particularly various basic math operations and manipulations. See the documentation for class iml_typed_image for details about these.
iml_scalar_image(const iml_scalar_image IML_REF TrueImage)

A constructor that implements image aliasing. That is, it creates a an image that shares the same memory segment as the image in the argument of the constructor. The memory chunk is deleted when the original image is deleted! Use this when you want to use part of a larger image as scratch space, or want to access different hyperplanes of one image simultaneously. Don't forget that an alias image points to another image's raw memory!


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++