Table:  For a result buffer 
+ combination:  For determining whether results are available 
+ combination:  For retrieving results as a percentage 
+ combination:  For specifying whether undecimated wavelet transformations are centered 
+ combination:  For determining the required array size (number of elements) to store the returned values 
+ combination:  For specifying the data type 
MIL_ID ResultImId,  //in 
MIL_INT64 ResultType,  //in 
void *UserArrayPtr  //out 
This function retrieves all the results of the specified type from the specified result buffer and stores them in the specified onedimensional destination user array. Results are only available after calling MimCountDifference(), MimFindExtreme(), MimHistogram(), MimLocateEvent(), MimProjection(), MimStatCalculate(), or MimWaveletTransform().
If your target image was associated with a camera calibration context, positional and dimensional results are, by default, returned with respect to the relative coordinate system of the image. Otherwise, these results are returned in pixels, relative to the topleft pixel in the target image.
If your target image was associated with a camera calibration context but you want to retrieve positional and dimensional results in pixel units, use MimControl() with the M_RESULT_OUTPUT_UNITS control type set to M_PIXEL. However, note that if you set M_RESULT_OUTPUT_UNITS to M_WORLD without specifying a calibrated image in which to calculate the results, MimGetResult() will generate an error.
If your results were calculated using MimStatCalculate(), the M_STATISTICS_RESULT buffer contains results from an operation performed on a single image (M_STATISTICS_CONTEXT context), or from cumulative operations performed on numerous images (M_STATISTICS_CUMULATIVE_CONTEXT context). Single image results are calculated from all pixels, a region of interest (ROI), or tiled regions of the single image; whereas, cumulative results are calculated for the same pixel location across multiple images. Use MimGetResult2d() to obtain most cumulative results. Note that M_STAT_NUMBER and M_TOTAL_NUMBER are available for cumulative results using MimGetResult(). Also use MimGetResult() to retrieve statistics results from a single image divided into tiles (specified using MimControl() with M_TILE_SIZE... and M_STEP_SIZE...). For a tiled image, one result per tile is returned for most of the supported statistics.
Specifies the identifier of the image processing result buffer from which to retrieve results.
Specifies the type of results to retrieve.
See the Parameter associations section for possible values that can be specified.
Specifies the address of the onedimensional array in which to write the results read from the MIL result buffer.
See the Parameter associations section for possible values that can be returned.
The table below lists possible values for the ResultType parameter and possible values returned to the UserArrayPtr parameter.
For a result buffer



Description  
UserArrayPtr  Possible values returned 

M_AUG_ASPECT_RATIO + 
Retrieves the aspect ratio applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_ASPECT_RATIO_MODE + 
Retrieves the mode of the aspect ratio applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_BOTH 
Specifies that MIL sets the aspect ration mode. INFO 

M_INVERT 
Specifies to apply the aspect ratio as height/width. INFO 

M_NORMAL 
Specifies to apply the aspect ratio as width/height. INFO 

M_AUG_BLUR_MOTION_ANGLE + 
Retrieves the motion blur angle applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_BLUR_MOTION_SIZE + 
Retrieves the size of the motion blur kernel applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_CROP_BOTTOM_RIGHT_X + 
Retrieves the Xcoordinate of the bottomright corner of the cropping applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_CROP_BOTTOM_RIGHT_Y + 
Retrieves the Ycoordinate of the bottomright corner of the cropping applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_CROP_TOP_LEFT_X + 
Retrieves the Xcoordinate of the topleft corner of the cropping applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_CROP_TOP_LEFT_Y + 
Retrieves the Ycoordinate of the topleft corner of the cropping applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a
MIL_DOUBLE


M_AUG_DILATION_ASYM_NB_ITERATIONS + 
Retrieves the number of iterations of the asymmetrical dilation applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_AUG_DILATION_ASYM_SUBAREA + 
Retrieves the area selected for the asymmetrical dilation applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_LEFT_HALF 
Specifies the left half of the image. 

M_LOWER_HALF 
Specifies the lower half of the image. 

M_RIGHT_HALF 
Specifies the right half of the image. 

M_UPPER_HALF 
Specifies the upper half of the image. 

M_AUG_DILATION_NB_ITERATIONS + 
Retrieves the number of iterations of the dilation applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_AUG_EROSION_ASYM_NB_ITERATIONS + 
Retrieves the number of iterations of the asymmetrical erosion applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_AUG_EROSION_ASYM_SUBAREA + 
Retrieves the area selected for the asymmetrical erosion applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_LEFT_HALF 
Specifies the left half of the image. 

M_LOWER_HALF 
Specifies the lower half of the image. 

M_RIGHT_HALF 
Specifies the right half of the image. 

M_UPPER_HALF 
Specifies the upper half of the image. 

M_AUG_EROSION_NB_ITERATIONS + 
Retrieves the number of iterations of the erosion applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_AUG_FLIP_DIRECTION + 
Retrieves the direction of the flip applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info: Data
type: address of a MIL_DOUBLE


M_BOTH 
Specifies to flip in either the horizontal or vertical direction. 

M_FLIP_HORIZONTAL 
Specifies to flip exclusively in the horizontal direction. 

M_FLIP_VERTICAL 
Specifies to flip exclusively in the vertical direction. 

M_AUG_GAMMA_VALUE_BAND_0 + 
Retrieves the value of the gamma correction for band 0 applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_GAMMA_VALUE_BAND_1 + 
Retrieves the value of the gamma correction for band 1 applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_GAMMA_VALUE_BAND_2 + 
Retrieves the value of the gamma correction for band 2 applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_HSV_VALUE_GAIN + 
Retrieves the value with which the value band (in the HSV color space) was multiplied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_HUE_OFFSET + 
Retrieves the angular value added to the hue band (in the HSV color space) by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_INTENSITY_ADD_VALUE + 
Retrieves the value of the intensity addition (offset) applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_INTENSITY_MULTIPLY_VALUE + 
Retrieves the value of the intensity multiplication (gain) applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_LIGHTING_DIRECTIONAL_ANGLE + 
Retrieves the angle of the directional lighting (addramp) applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_NOISE_GAUSSIAN_ADDITIVE_STDDEV + 
Retrieves the standard deviation of the Gaussian additive noise applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_NOISE_MULTIPLICATIVE_STDDEV + 
Retrieves the standard deviation of the multiplicative noise applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_NOISE_SALT_PEPPER_DENSITY + 
Retrieves the density of the salt and pepper noise applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_OPERATION_ASSOCIATED_WITH_RESULT_TYPES + 
Retrieves the list of the operations, and their associated result types, that MimAugment() applied. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_AUG_OPERATION_RESULT_TYPES + 
Retrieves the list of the result types that are related to the operations that MimAugment() applied. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_AUG_OPERATION_RESULT_VALUES + 
Retrieves the list of the values that were used for the operations that MimAugment() applied. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_AUG_OPERATIONS_APPLIED + 
Retrieves a list of M_TRUE and M_FALSE values, indicating whether the corresponding enabled operations, returned by M_AUG_OPERATIONS_ENABLED, were actually applied by MimAugment(). 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_AUG_OPERATIONS_ENABLED + 
Retrieves the list of the operations that were enabled for MimAugment(). 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_AUG_OPTIMAL_SIZE_X + 
Retrieves the suggested optimal width of an image buffer in which to produce all possible augmentation results. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


Value 
Specifies the width, in pixels. 

M_AUG_OPTIMAL_SIZE_Y + 
Retrieves the suggested optimal height of an image buffer in which to produce all possible augmentation results. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


Value 
Specifies the height, in pixels. 

M_AUG_ROTATION_ANGLE + 
Retrieves the rotation angle applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SATURATION_GAIN + 
Retrieves the value with which the saturation band (in the HSV color space) was multiplied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SCALE_FACTOR + 
Retrieves the scale applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SEED_USED + 
Retrieves the value (seed) used to generate the randomized settings to perform the augmentation. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


Value 
Specifies the seed. 

M_AUG_SHARPEN_DERICHE_VALUE + 
Retrieves the value of the Deriche sharpening filter applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SHEAR_X + 
Retrieves the horizontal direction of the shear applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SHEAR_Y + 
Retrieves the vertical direction of the shear applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SMOOTH_DERICHE_VALUE + 
Retrieves the value of the Deriche filter smoothing applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_SMOOTH_GAUSSIAN_STDDEV + 
Retrieves the standard deviation of the Gaussian smoothing applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_TRANSLATION_X + 
Retrieves the horizontal translation applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_AUG_TRANSLATION_Y + 
Retrieves the vertical translation applied by MimAugment(), from an M_AUGMENTATION_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_CUMULATIVE_VALUE + 
Retrieves the cumulative histogram values from an M_HIST_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]


M_HIST_REAL_SIZE + 
Retrieves the number of values (entries) used by the histogram, from an M_HIST_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_HIST_VALUE_OFFSET + 
Retrieves the intensity value in the source that corresponds to the first bin (entry 0) in the histogram, from an M_HIST_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_HIST_VALUE_RANGE + 
Retrieves the number of intensity values in the source that were used to generate the histogram, from an M_HIST_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_NB_EVENT + 
Retrieves the number of events from an M_EVENT_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_NUMBER_OF_LEVELS + 
Retrieves the total number of transformation levels calculated by the wavelet transformation, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_ORIGINAL_IMAGE_SIZE_X + 
Retrieves the unaltered width of the image used by the wavelet transformation, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_ORIGINAL_IMAGE_SIZE_Y + 
Retrieves the unaltered height of the image used by the wavelet transformation, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_PERCENTILE_VALUE + 
Retrieves the inverse cumulative histogram from an M_HIST_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]


M_POSITION_X + 
Retrieves the image Xcoordinate of each event from an M_EVENT_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]  array of type MIL_FLOAT
[optionally, in C++: a reference to a std::vector<MIL_FLOAT>
]


M_POSITION_Y + 
Retrieves the image Ycoordinate of each event from an M_EVENT_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]  array of type MIL_FLOAT
[optionally, in C++: a reference to a std::vector<MIL_FLOAT>
]


M_SIZE_X + 
Retrieves the number of tiles along the Xdimension, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_SIZE_Y + 
Retrieves the number of tiles along the Ydimension, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_STAT_ANGULAR_DATA_COHERENCE + 
Retrieves the coherence, from an M_STATISTICS_RESULT result buffer, of pixels representing angles and as such, treated as unit vectors. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_ANGULAR_DATA_MEAN + 
Retrieves the angle of the vector sum, from an M_STATISTICS_RESULT result buffer, of pixels representing angles, and as such, treated as unit vectors. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_GLCM_CONTRAST + 
Retrieves the contrast of all the grayscale pixel values within a specified neighborhood in relation to the normalized cooccurrence probability of each pixel, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_GLCM_CORRELATION + 
Retrieves the correlation within the normalized cooccurrence probability in a specified neighborhood, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_GLCM_DISSIMILARITY + 
Retrieves the dissimilarity between the normalized cooccurrence probability and the gray level cooccurrence matrix of a specified neighborhood. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_GLCM_ENERGY + 
Retrieves the energy between two points in the gray level cooccurrence matrix of a given neighborhood, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_GLCM_ENTROPY + 
Retrieves the inverse of the energy between two points in the normalized cooccurrence probability of a specified neighborhood, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_GLCM_HOMOGENEITY + 
Retrieves the similarity between the normalized cooccurrence probability and the gray level cooccurrence matrix of a given neighborhood, from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_MAX + 
Retrieves the maximum pixel value from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_MAX_ABS + 
Retrieves the maximum absolute pixel value from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_MEAN + 
Retrieves the mean pixel value from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_MIN + 
Retrieves the minimum pixel value from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_MIN_ABS + 
Retrieves the minimum absolute pixel value from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_NUMBER + 
Retrieves the number of pixels or the number of images, depending on the context type. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_ORIENTATION_DATA_COHERENCE + 
Retrieves the coherence of the orientation data from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_ORIENTATION_DATA_MEAN + 
Retrieves the dominant orientation of the unit vectors from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_STANDARD_DEVIATION + 
Retrieves the pixel standard deviation value from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_SUM + 
Retrieves the sum of the pixel values from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_SUM_ABS + 
Retrieves the sum of the absolute pixel values from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_STAT_SUM_OF_SQUARES + 
Retrieves the sum of the squared pixel values from an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE  array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]


M_TOTAL_NUMBER + 
Retrieves the total number of images that were used to calculate the results in an M_STATISTICS_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE


M_TRANSFORMATION_DOMAIN + 
Retrieves whether the mathematical domain of the resulting wavelet transformation values consist of complex numbers or only real numbers, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_COMPLEX 
Specifies that the mathematical domain of the values consist of real and imaginary numbers. 

M_REAL 
Specifies that the mathematical domain of the values consist of only real numbers. 

M_TRANSFORMATION_MODE + 
Retrieves the wavelet transformation mode, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_DEFAULT 
Same as M_DYADIC. 

M_DYADIC 
Specifies a dyadic wavelet transformation. INFO 

M_UNDECIMATED + 
Specifies an undecimated wavelet transformation. INFO 

M_VALID + 
Retrieves the validity of projection data for each lane, from an M_PROJ_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]  array of type MIL_FLOAT
[optionally, in C++: a reference to a std::vector<MIL_FLOAT>
]


0 
Specifies invalid projection data for the lane due to no valid pixels residing in the lane of pixels in the source image corresponding to the M_PROJ_LIST entry. 

Value != 0 
Specifies valid projection data for the lane. 

M_VALUE + 
Retrieves values from an M_HIST_LIST, M_PROJ_LIST, M_EXTREME_LIST, M_EVENT_LIST, or M_COUNT_LIST result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]  array of type MIL_FLOAT
[optionally, in C++: a reference to a std::vector<MIL_FLOAT>
]


M_WAVELET_DRAW_SIZE_X + 
Retrieves the width required to draw, for every level calculated, all wavelet coefficient results (diagonal, horizontal, vertical, and the approximation), from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_WAVELET_DRAW_SIZE_X_WITH_PADDING + 
Retrieves the width required to draw, for every level calculated, all wavelet coefficient results (diagonal, horizontal, vertical, and the approximation), from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_WAVELET_DRAW_SIZE_Y + 
Retrieves the height required to draw, for every level calculated, all wavelet coefficient results (diagonal, horizontal, vertical, and the approximation), from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_WAVELET_DRAW_SIZE_Y_WITH_PADDING + 
Retrieves the height required to draw, for every level calculated, all wavelet coefficient results (diagonal, horizontal, vertical, and the approximation), from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_WAVELET_SIZE + 
Retrieves the size of the wavelet transformation, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_WAVELET_TYPE + 
Retrieves the type of the wavelet transformation, from an M_WAVELET_TRANSFORM_RESULT result buffer. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT


M_DEFAULT 
Same as M_HAAR. 

M_CUSTOM 
Specifies a custom wavelet processing. 

M_DAUBECHIES_1 
Specifies a Daubechies wavelet filter that uses 1 vanishing moment and real coefficients. 

M_DAUBECHIES_2 
Specifies a Daubechies wavelet filter that uses 2 vanishing moments and real coefficients. 

M_DAUBECHIES_3 
Specifies a Daubechies wavelet filter that uses 3 vanishing moments and real coefficients. 

M_DAUBECHIES_3_COMPLEX 
Specifies a Daubechies wavelet filter that uses 3 vanishing moments and complex coefficients. 

M_DAUBECHIES_4 
Specifies a Daubechies wavelet filter that uses 4 vanishing moments and real coefficients. 

M_DAUBECHIES_5 
Specifies a Daubechies wavelet filter that uses 5 vanishing moments and real coefficients. 

M_DAUBECHIES_5_COMPLEX 
Specifies a Daubechies wavelet filter that uses 5 vanishing moments and complex coefficients. 

M_DAUBECHIES_6 
Specifies a Daubechies wavelet filter that uses 6 vanishing moments and real coefficients. 

M_DAUBECHIES_7 
Specifies a Daubechies wavelet filter that uses 7 vanishing moments and real coefficients. 

M_DAUBECHIES_7_COMPLEX 
Specifies a Daubechies wavelet filter that uses 7 vanishing moments and complex coefficients. 

M_DAUBECHIES_8 
Specifies a Daubechies wavelet filter that uses 8 vanishing moments and real coefficients. 

M_HAAR 
Specifies a Haar wavelet filter. INFO 

M_SYMLET_1 
Specifies a Symlet wavelet filter that uses 1 vanishing moment and real coefficients. 

M_SYMLET_2 
Specifies a Symlet wavelet filter that uses 2 vanishing moments and real coefficients. 

M_SYMLET_3 
Specifies a Symlet wavelet filter that uses 3 vanishing moments and real coefficients. 

M_SYMLET_4 
Specifies a Symlet wavelet filter that uses 4 vanishing moments and real coefficients. 

M_SYMLET_5 
Specifies a Symlet wavelet filter that uses 5 vanishing moments and real coefficients. 

M_SYMLET_6 
Specifies a Symlet wavelet filter that uses 6 vanishing moments and real coefficients. 

M_SYMLET_7 
Specifies a Symlet wavelet filter that uses 7 vanishing moments and real coefficients. 

M_SYMLET_8 
Specifies a Symlet wavelet filter that uses 8 vanishing moments and real coefficients. 
You can add the following value to the abovementioned values to specify whether a result is available.
For determining whether results are
available


ResultType  Description  
UserArrayPtr  Possible values returned 

M_AVAILABLE 
Retrieves whether a result is available to be returned. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_INT  array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]


M_NULL 
Specifies that the result is not available to be retrieved. 

Value != 0 
Specifies that the result is available to be retrieved. 
You can add the following value to the abovementioned values to get the requested results as a percentage. Alternatively, you can add a value from For determining the required array size (number of elements) to store the returned values.
For retrieving results as a percentage



Description  
UserArrayPtr  Possible values returned 

M_PERCENTAGE 
Retrieves the histogram values or cumulative histogram values, as a percentage. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]

The following value might be combined with the abovementioned value to determine if undecimated wavelet transformations are centered.
For specifying whether undecimated wavelet
transformations are centered



Description  
M_CENTER 
Specifies undecimated wavelet transformations that are centered. INFO 
You can add the following value to the abovementioned values to determine the required array size (number of elements) to store the returned values. Alternatively, you can add a value from For retrieving results as a percentage.
For determining the required array size (number of
elements) to store the returned values


ResultType combination value  Description  
UserArrayPtr  Possible values returned 

M_NB_ELEMENTS 
Retrieves the required array size (number of elements) to store the returned values. 

UserArrayPtr extra info 
Data type info:
Data type: address of a
MIL_DOUBLE

You can add one of the following values to the abovementioned values to cast the requested results to the required data type.
Note: In C++, when using a standard vector (std::vector) instead of an array, the values listed in this combination table must not be used. If you need to use a specific data type, instantiate the vector with the necessary data type.
For specifying the data type


ResultType  Description  
UserArrayPtr  Possible values returned 

M_TYPE_MIL_DOUBLE 
Casts the requested results to a MIL_DOUBLE. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_DOUBLE [optionally, in C++: a reference to a std::vector<MIL_DOUBLE>
]  address of a
MIL_DOUBLE


M_TYPE_MIL_FLOAT 
Casts the requested results to a MIL_FLOAT. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_FLOAT [optionally, in C++: a reference to a std::vector<MIL_FLOAT>
]  address of a
MIL_FLOAT


M_TYPE_MIL_INT 
Casts the requested results to a MIL_INT. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT [optionally, in C++: a reference to a std::vector<MIL_INT>
]  address of a
MIL_INT


M_TYPE_MIL_INT32 
Casts the requested results to a MIL_INT32. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT32 [optionally, in C++: a reference to a std::vector<MIL_INT32>
]  address of a
MIL_INT32


M_TYPE_MIL_INT64 
Casts the requested results to a MIL_INT64. 

UserArrayPtr extra info 
Data type info:
Data type: array of type
MIL_INT64 [optionally, in C++: a reference to a std::vector<MIL_INT64>
]  address of a
MIL_INT64

Header  Include mil.h. 
Library  Use mil.lib; milim.lib. 
DLL  Requires mil.dll; milim.dll. 