Filters
Filter values by
Image processing operation type
  • Augmentation operation
  • Adaptive binarization operation
  • Adaptive binarization from seed operation
  • Cumulative statistics type operation
  • Adaptive histogram equalization type operation
  • Dead pixel correction type operation
  • Deinterlacing type operation
  • Event list operation
  • Find orientation type operation
  • Flat field type operation
  • Intensity histogram operation
  • Linear IIR filter operation
  • Locate peak 1D type operation
    • Context
    • Result buffer
  • Match type operation
  • Statistics type operation
  • Rearrangement type operation
  • Wavelet type operation
  • Wavelet custom type operation
Augmentation operation type
  • Affine operations
  • Structure operations
  • Geometric operations
  • Intensity operations
  • Linear filter operations
  • Noise operations
  • General augmentation operations
| Customize Help
| Save Settings

MimControl



Function Map
Synopsis
Control an image processing context or result buffer setting.
Syntax
void MimControl(
MIL_ID ContextOrResultImId, //in
MIL_INT64 ControlType, //in
MIL_DOUBLE ControlValue //in
)
Description

This function allows you to control an image processing context or result buffer setting. All the control type settings can be inquired using MimInquire().

Note that when using a C compiler (not a C++ or other compiler) in 64-bit mode, MimControl() internally calls the MIL_INT64 version of this function (MimControlInt64()). If you need to pass floating-point values, call the MIL_INT64 version of this function (MimControlDouble()).
Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameters
ContextOrResultImId

Specifies the identifier of the image processing context or result buffer. The image processing context or result buffer must have been previously allocated on the system using MimAlloc() or MimAllocResult(), respectively.

See the Parameter associations section for possible values that can be specified.

ControlType

Specifies the processing feature to control.

See the Parameter associations section for possible values that can be specified.

ControlValue

Specifies the value needed for the control. When the ControlValue is an image buffer, the internal representation of the image stored in the image processing context might not be the same as the original image.

See the Parameter associations section for possible values that can be specified.

The table below lists possible values for the ContextOrResultImId, ControlType, and ControlValue parameters.

The following ContextOrResultImId, ControlType, and ControlValue parameter settings can be specified for different types of image processing contexts or result buffers.

function map For specifying the control type and control value for an image processing context or result buffer
Click to summarize
ContextOrResultImId
Description
ControlType
ControlValue
Click to summarize Adaptive binarize context ID

Specifies an adaptive binarize context, allocated using MimAlloc() with M_BINARIZE_ADAPTIVE_CONTEXT, and used in MimBinarizeAdaptive() operations.

The main setting with which to control an adaptive binarize context is M_THRESHOLD_MODE. In general, all other control settings are used by the specified thresholding process to establish the threshold values with which to binarize.

(summarize)
Click to summarize M_AVERAGE_MODE

Sets how MIL establishes average pixel values that can be required to determine threshold values. This is typically used when M_THRESHOLD_MODE is set to M_NIBLACK or M_LOCAL_MEAN. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_UNIFORM.

Click to summarize M_GAUSSIAN

Specifies a Gaussian type average.

Click to summarize M_UNIFORM

Specifies a uniform type average.

Click to summarize M_FOREGROUND_VALUE

Sets whether the objects to binarize are lighter or darker than the background. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_FOREGROUND_WHITE.

Click to summarize M_FOREGROUND_BLACK

Specifies that the objects to binarize are darker than the background.

Click to summarize M_FOREGROUND_WHITE

Specifies that the objects to binarize are lighter than the background.

Click to summarize M_GLOBAL_MAX

Sets the maximum threshold value. The threshold destination image (MimBinarizeAdaptive()) cannot hold values higher than M_GLOBAL_MAX. Higher threshold values are clipped.

If the source image (MimBinarizeAdaptive()) also has a maximum value restriction (MbufControl() with M_MAX), MIL uses the lower maximum value as the actual maximum.

Before calling MimBinarizeAdaptive(), if both M_GLOBAL_MAX and M_GLOBAL_MIN are set to values, then M_GLOBAL_MAX must be greater than or equal to M_GLOBAL_MIN.

By default, MIL binarizes pixels with an intensity higher than the maximum as part of the foreground (object). To change this behavior, use the M_FOREGROUND_VALUE control. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies that there is no maximum threshold value restriction imposed by M_GLOBAL_MAX.

Click to summarize Value

Specifies the maximum threshold value.

Click to summarize M_GLOBAL_MIN

Sets the minimum threshold value. The threshold destination image (MimBinarizeAdaptive()) cannot hold values lower than M_GLOBAL_MIN. Lower threshold values are clipped.

If the source image (MimBinarizeAdaptive()) also has a minimum value restriction (MbufControl() with M_MIN), MIL uses the greater minimum value as the actual maximum.

Before calling MimBinarizeAdaptive(), if both M_GLOBAL_MIN and M_GLOBAL_MAX are set to values, then M_GLOBAL_MIN must be less than or equal to M_GLOBAL_MAX.

By default, MIL binarizes pixels with an intensity lower than the minimum as part of the background. To change this behavior, use the M_FOREGROUND_VALUE control. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies that there is no minimum threshold value restriction imposed by M_GLOBAL_MIN.

Click to summarize Value

Specifies the minimum threshold value.

Click to summarize M_GLOBAL_OFFSET

Sets the offset to add to each threshold value. MimBinarizeAdaptive() uses the adjusted threshold values. The specified offset is reflected in the threshold destination image (MimBinarizeAdaptive()). INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize Value

Specifies the offset.

Click to summarize M_GLOBAL_OFFSET_SECOND_PASS

Sets the offset to apply to the threshold values for the second pass of a hysteresis adaptive binarization. MIL applies the offset for the second pass in the same way that it applies the offset for the first pass (M_GLOBAL_OFFSET). For M_GLOBAL_OFFSET_SECOND_PASS to have an effect, you must specify a threshold type other than M_SINGLE.

For an M_NIBLACK threshold mode, either M_GLOBAL_OFFSET_SECOND_PASS must have a value different from M_GLOBAL_OFFSET, or M_NIBLACK_BIAS_SECOND_PASS must have a value different from M_NIBLACK_BIAS; otherwise, MIL generates an error. For other threshold modes, MIL generates an error if M_GLOBAL_OFFSET_SECOND_PASS and M_GLOBAL_OFFSET have the same value. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize Value

Specifies the offset.

Click to summarize M_LOCAL_DIMENSION

Specifies the size of the neighborhood that the threshold mode uses to establish threshold values.

For an M_NIBLACK or M_LOCAL_MEAN threshold mode, the size should be the largest square that represents a uniform background. The size should also be greater than the object's expected thickness. For an M_BERNSEN threshold mode, the size should be close to the object's expected width. For an M_PSEUDOMEDIAN threshold mode, the size should be half the object's expected thickness. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 15 pixels.

Click to summarize Value >= 1

Specifies the size of the neighborhood, in pixels. Only integer values accepted.

(summarize)
Click to summarize M_MINIMUM_CONTRAST

Sets the minimum contrast between background and foreground (object) pixels. MIL binarizes (classifies) pixels in a neighborhood as background if they do not meet the minimum contrast. An M_LOCAL_MEAN threshold mode ignores the minimum contrast. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 5.0.

Click to summarize Value >= 0.0

Specifies the minimum contrast.

Click to summarize M_NIBLACK_BIAS

Sets the bias for Niblack's binarization mode. This value only has an effect if M_THRESHOLD_MODE is set to M_NIBLACK.

The bias gives you some general control over thresholding. A higher bias binarizes fainter values as part of the object. A lower bias binarizes fainter values as part of the background. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.2.

Click to summarize Value >= 0.0

Specifies the bias. Typical values range from 0.1 to 0.3.

(summarize)
Click to summarize M_NIBLACK_BIAS_SECOND_PASS

Sets the bias for the second pass of a Niblack adaptive binarization that uses a hysteresis process. For this control type to have an effect, you must specify an M_NIBLACK threshold mode and you must specify a threshold type other than M_SINGLE.

Either M_NIBLACK_BIAS_SECOND_PASS must have a value different from M_NIBLACK_BIAS, or M_GLOBAL_OFFSET_SECOND_PASS must have a value different from M_GLOBAL_OFFSET; otherwise, MIL generates an error. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.2.

Click to summarize Value >= 0.0

Specifies the bias.

Click to summarize M_THRESHOLD_MODE

Sets how MIL establishes the threshold values with which to binarize the source image. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NIBLACK.

Click to summarize M_BERNSEN

Specifies that threshold values are established using Bernsen's adaptive threshold algorithm. This represents a type of morphological erosion and dilation. This threshold results in the fastest process.

(summarize)
Click to summarize M_LOCAL_MEAN

Specifies that threshold values are established using adaptive local mean calculations. This is a simplified version of M_NIBLACK. M_LOCAL_MEAN usually results in a faster, though less precise, binarization than M_NIBLACK.

(summarize)
Click to summarize M_NIBLACK

Specifies that threshold values are established using Niblack's adaptive threshold algorithm. This setting offers the highest precision. The processing time is usually quite quick.

(summarize)
Click to summarize M_PSEUDOMEDIAN

Specifies that threshold values are established using adaptive pseudomedian calculations. This is similar to an M_BERNSEN threshold, except it represents a type of morphological open or close process instead of erosion or dilation.

(summarize)
Click to summarize M_THRESHOLD_TYPE

Sets the type of threshold to use for the adaptive binarization. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SINGLE.

Click to summarize M_HYSTERESIS

Specifies that the adaptive binarization uses a hysteresis process. In this case, MIL performs a geodesic reconstruction (a type of morphological operation) after a second pass of the specified threshold.

Regardless of the threshold mode, MIL uses M_GLOBAL_OFFSET_SECOND_PASS instead of M_GLOBAL_OFFSET during the second pass of MimBinarizeAdaptive(). For an M_NIBLACK threshold mode, the second pass uses M_NIBLACK_BIAS_SECOND_PASS instead of M_NIBLACK_BIAS. MIL generates an error if every M_..._SECOND_PASS value it uses is the same as its first pass counterpart.

(summarize)
Click to summarize M_IN_RANGE

Specifies to use the values inside the range defined by the two passes as the foreground.

Click to summarize M_OUT_RANGE

Specifies to use the values outside the range defined by the two passes as the foreground.

Click to summarize M_SINGLE

Specifies to use a single pass of the specified threshold. Hysteresis is not used.

(summarize)
Click to summarize Adaptive binarize from seed context ID

Specifies an adaptive binarize context that uses seeds, allocated using MimAlloc() with M_BINARIZE_ADAPTIVE_FROM_SEED_CONTEXT, and used in MimBinarizeAdaptive() operations.

The main setting with which to control an adaptive binarize context that uses seeds is M_THRESHOLD_MODE. In general, all other control settings are used by the specified thresholding process to establish the threshold values with which to binarize.

(summarize)
Click to summarize M_FOREGROUND_VALUE

Sets whether the objects to binarize are lighter or darker than the background. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_FOREGROUND_WHITE.

Click to summarize M_FOREGROUND_BLACK

Specifies that the objects to binarize are darker than the background.

Click to summarize M_FOREGROUND_WHITE

Specifies that the objects to binarize are lighter than the background.

Click to summarize M_GLOBAL_OFFSET

Sets the offset to add to each established threshold value. Binarization uses the adjusted threshold values, however offsets do not change the threshold values themselves. The content of the threshold destination image (MimBinarizeAdaptive() with ThresholdImageBufId) remains unaltered. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize Value

Specifies the offset.

Click to summarize M_NB_ITERATIONS

Sets the number of times to perform the adaptive threshold process specified with M_THRESHOLD_MODE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_TO_IDEMPOTENCE.

Click to summarize M_TO_IDEMPOTENCE

Specifies that the threshold process iterates until idempotence is reached. This is the number of iterations at which subsequent iterations do not alter results.

(summarize)
Click to summarize Value > 0

Specifies the number of iterations. Only integer values accepted. The threshold process for an M_TOGGLE threshold mode is always performed once.

(summarize)
Click to summarize M_NB_SEED_ITERATIONS

Sets the number of iterations with which to internally establish the seeds that the threshold mode requires. This value only has an effect if you do not specify your own seed images with MimBinarizeAdaptive(). INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize Value > 0

Specifies the number of iterations. Only integer values accepted.

(summarize)
Click to summarize M_THRESHOLD_MODE

Sets how MIL uses seeds to establish the threshold values with which to binarize the source image. You can provide the required seed images when you call MimBinarizeAdaptive(). If you do not, MIL internally establishes the seed data. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_RECONSTRUCT.

Click to summarize M_LEVEL

Specifies that threshold values are established using an adaptive leveling. This essentially performs two geodesic reconstructions. One that processes the foreground as white, and the other that processes the foreground as black. This results in M_LEVEL generally taking twice as long as M_RECONSTRUCT. M_LEVEL uses one seed image.

(summarize)
Click to summarize M_RECONSTRUCT

Specifies that threshold values are established using an adaptive geodesic reconstruction. This represents a type of morphological erosion or dilation. M_RECONSTRUCT uses one seed image. M_RECONSTRUCT is typically faster than M_LEVEL and slower than M_TOGGLE.

(summarize)
Click to summarize M_TOGGLE

Specifies that threshold values are established as one of two possibilities, defined by the seeds. MIL compares the source pixel (including the offset) to each seed. The value of the closest seed is the threshold value for that pixel. M_TOGGLE uses two seed images (typically min and max values). M_TOGGLE is the fastest threshold mode.

(summarize)
Click to summarize Augmentation context ID

Specifies an augmentation context, allocated using MimAlloc() with M_AUGMENTATION_CONTEXT, and used in MimAugment() operations.

(summarize)
Click to summarize M_AUG_ASPECT_RATIO_OP +

Sets whether to enable the aspect ratio operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_ASPECT_RATIO_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_ASPECT_RATIO_OP.

Click to summarize M_AUG_ASPECT_RATIO_OP_MAX

Sets the maximum aspect ratio, to apply for M_AUG_ASPECT_RATIO_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize 0.0 <= Value <= 16.0

Specifies the maximum aspect ratio.

Click to summarize M_AUG_ASPECT_RATIO_OP_MIN

Sets the minimum aspect ratio, to apply for M_AUG_ASPECT_RATIO_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.0 <= Value <= 16.0

Specifies the minimum aspect ratio.

Click to summarize M_AUG_ASPECT_RATIO_OP_MODE

Sets the aspect ratio mode, to apply for M_AUG_ASPECT_RATIO_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_BOTH.

Click to summarize M_BOTH

Specifies that MIL sets the aspect ration mode. That is, either M_INVERT or M_NORMAL is randomly set.

(summarize)
Click to summarize M_INVERT

Specifies to apply the aspect ratio as height/width. In this case, the width stays the same while the height changes.

(summarize)
Click to summarize M_NORMAL

Specifies to apply the aspect ratio as width/height. In this case, the height stays the same while the width changes.

(summarize)
Click to summarize M_AUG_BLUR_MOTION_OP +

Sets whether to enable the operation that applies a motion blur kernel with random direction and kernel size. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_BLUR_MOTION_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_BLUR_MOTION_OP.

Click to summarize M_AUG_BLUR_MOTION_OP_ANGLE_MAX

Sets the maximum value for the motion blur angle's random distribution [min, max], to apply for M_AUG_BLUR_MOTION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 360.0°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the maximum value for the motion blur angle's random distribution [min, max].

Click to summarize M_AUG_BLUR_MOTION_OP_ANGLE_MIN

Sets the minimum value for the motion blur angle's random distribution [min, max], to apply for M_AUG_BLUR_MOTION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the minimum value for the motion blur angle's random distribution [min, max].

Click to summarize M_AUG_BLUR_MOTION_OP_SIZE_MAX

Sets the maximum value for the kernel size's random distribution [min, max], to apply for M_AUG_BLUR_MOTION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 15.

Click to summarize 5.0 <= Value <= 15.0

Specifies the maximum value for the kernel size's random distribution.

Click to summarize M_AUG_BLUR_MOTION_OP_SIZE_MIN

Sets the minimum value for the kernel size's random distribution [min, max], to apply for M_AUG_BLUR_MOTION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 5.0.

Click to summarize 5.0 <= Value <= 15.0

Specifies the min value for the kernel size's random distribution.

Click to summarize M_AUG_CROP_OP +

Sets whether to enable the crop operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_CROP_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_CROP_OP.

Click to summarize M_AUG_CROP_OP_FACTOR_X

Sets the crop width factor, to apply for M_AUG_CROP_OP. The actual width with which to crop depends on the specified factor and the source image (MimAugment()); that is: CropWidth = M_AUG_CROP_OP_FACTOR_X x SourceImageWidth . INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.0 <= Value <= 1.0

Specifies the width factor.

Click to summarize M_AUG_CROP_OP_FACTOR_Y

Sets the crop height factor, to apply for M_AUG_CROP_OP. The actual height with which to crop depends on the specified factor and the source image (MimAugment()); that is: CropHeight = M_AUG_CROP_OP_FACTOR_Y x SourceImageHeight . INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.0 <= Value <= 1.0

Specifies the height factor.

Click to summarize M_AUG_CROP_OP_RESIZE

Sets the crop resize option, to apply for M_AUG_CROP_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_FALSE.

Click to summarize M_FALSE

Specifies to not resize.

Click to summarize M_TRUE

Specifies to resize the crop dimensions according to the destination buffer size (MimAugment()).

Click to summarize M_AUG_DILATION_ASYM_OP +

Sets whether to enable the asymmetrical dilation operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_DILATION_ASYM_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_DILATION_ASYM_OP.

Click to summarize M_AUG_DILATION_ASYM_OP_NB_ITERATIONS_MAX

Sets the maximum number of iterations for dilation, to apply for M_AUG_DILATION_ASYM_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value >= 0

Specifies the maximum number of iterations.

Click to summarize M_AUG_DILATION_OP +

Sets whether to enable the dilation operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_DILATION_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_DILATION_OP.

Click to summarize M_AUG_DILATION_OP_NB_ITERATIONS_MAX

Sets the maximum number of iterations, to apply for M_AUG_DILATION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value >= 0

Specifies the maximum number of iterations.

Click to summarize M_AUG_EROSION_ASYM_OP +

Sets whether to enable the asymmetrical erosion operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_EROSION_ASYM_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_EROSION_ASYM_OP.

Click to summarize M_AUG_EROSION_ASYM_OP_NB_ITERATIONS_MAX

Sets the maximum number of iterations for dilation, to apply for M_AUG_EROSION_ASYM_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value >= 0

Specifies the maximum number of iterations.

Click to summarize M_AUG_EROSION_OP +

Sets whether to enable the erosion operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_EROSION_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_EROSION_OP.

Click to summarize M_AUG_EROSION_OP_NB_ITERATIONS_MAX

Sets the maximum number of iterations, to apply for M_AUG_EROSION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value >= 0

Specifies the maximum number of iterations.

Click to summarize M_AUG_FLIP_OP +

Sets whether to enable the flip operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_FLIP_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_FLIP_OP.

Click to summarize M_AUG_FLIP_OP_DIRECTION

Sets the direction with which to flip the image, to apply for M_AUG_FLIP_OP.

(summarize)
Click to summarize M_DEFAULT

Same as M_BOTH.

Click to summarize M_BOTH

Specifies to flip in either the horizontal or vertical direction.

Click to summarize M_FLIP_HORIZONTAL

Specifies to flip exclusively in the horizontal direction.

Click to summarize M_FLIP_VERTICAL

Specifies to flip exclusively in the vertical direction.

Click to summarize M_AUG_GAMMA_OP +

Sets whether to enable the gamma correction operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_GAMMA_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_GAMMA_OP.

Click to summarize M_AUG_GAMMA_OP_DELTA

Sets the range for the random distribution of gamma values, to apply for M_AUG_GAMMA_OP.

The range for the random distribution of gamma values can be expressed as: [gamma - delta, gamma + delta]. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.0 <= Value <= 10.0

Specifies the range for the random distribution of gamma values.

Click to summarize M_AUG_GAMMA_OP_MODE

Sets the gamma correction mode, to apply for M_AUG_GAMMA_OP.

If you call MimAugment() with a 1-band buffer, MIL applies the gamma correction to band 0, regardless of the specified mode (for example, to retrieve the gamma correction value and offset applied by MimAugment(), you must call MimGetResult() with M_AUG_GAMMA_VALUE_BAND_0). INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ALL_BANDS.

Click to summarize M_ALL_BANDS

Specifies to apply the same gamma correction to each color band.

Click to summarize M_PER_BAND

Specifies to apply a different random gamma correction to each color band.

Click to summarize M_AUG_GAMMA_OP_VALUE

Sets the gamma value, to apply for M_AUG_GAMMA_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.0.

Click to summarize 0.0 <= Value <= 10.0

Specifies the gamma value.

Click to summarize M_AUG_HSV_VALUE_GAIN_OP +

Sets whether to enable the operation that multiplies the image's value band (in the HSV color space) by a random factor. Multiplying an image's value band can be seen as a type of gain operation.

When specifying a color (3-band) image, MimAugment() assumes an RGB color space by default. Operations that require a different color space (for example, HSV) internally convert the source image color. If your source image is not RGB, the conversion produces erroneous results. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_HSV_VALUE_GAIN_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_HSV_VALUE_GAIN_OP.

Click to summarize M_AUG_HSV_VALUE_GAIN_OP_MAX

Sets the maximum value for the random value factor's distribution [min, max], to use for M_AUG_HSV_VALUE_GAIN_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value >= 0.0

Specifies the maximum value for the random value factor's distribution.

Click to summarize M_AUG_HSV_VALUE_GAIN_OP_MIN

Sets the minimum value for the random value factor's distribution [min, max], to use for M_AUG_HSV_VALUE_GAIN_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize Value >= 0.0

Specifies the minimum value for the random value factor's distribution.

Click to summarize M_AUG_HUE_OFFSET_OP +

Sets whether to enable the operation that adds a random hue angle to hue values. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_HUE_OFFSET_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_HUE_OFFSET_OP.

Click to summarize M_AUG_HUE_OFFSET_OP_MAX

Sets the maximum value for the random hue angles' distribution [min, max], to use for M_AUG_HUE_OFFSET_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 360.

Click to summarize 0.0 <= Value <= 360.0

Specifies the maximum value for the random hue angles' distribution [min, max].

Click to summarize M_AUG_HUE_OFFSET_OP_MIN

Sets the minimum value for the random hue angles' distribution [min, max], to use for M_AUG_HUE_OFFSET_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize 0.0 <= Value <= 360.0

Specifies the minimum value for the random hue angles' distribution [min, max].

Click to summarize M_AUG_INTENSITY_ADD_OP +

Sets whether to enable the intensity addition operation. Adding to an image's intensity can be seen as a type of offset operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_INTENSITY_ADD_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_INTENSITY_ADD_OP.

Click to summarize M_AUG_INTENSITY_ADD_OP_DELTA

Sets the range for the random distribution of intensity addition (offset) values, to apply for M_AUG_INTENSITY_ADD_OP.

The random distribution of intensity addition (offset) values can be expressed as: [offset - delta, offset + delta]. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_AUTO_VALUE.

Click to summarize M_AUTO_VALUE

Specifies a value that is automatically established according to the data type and data depth of the source image buffer with which to perform MimAugment().

Source image buffer

M_AUTO_VALUE

8-bit unsigned

127.0

16-bit unsigned

32767.0

32-bit floating-point

0.5

(summarize)
Click to summarize Value >= 0.0

Specifies the range for the random distribution of intensity addition (offset) values.

Click to summarize M_AUG_INTENSITY_ADD_OP_MODE

Sets the intensity addition value (offset) mode, to apply for M_AUG_INTENSITY_ADD_OP.

When specifying a color (3-band) image, MimAugment() assumes an RGB color space by default. Operations that require a different color space (for example, HSV) internally convert the source image color. If your source image is not RGB, the conversion produces erroneous results. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_LUMINANCE.

Click to summarize M_LUMINANCE

Specifies to apply the intensity addition value (offset) to the luminance band only.

Click to summarize M_RGB

Specifies to apply the intensity addition value (offset) to each color band.

Click to summarize M_AUG_INTENSITY_ADD_OP_VALUE

Sets the intensity addition value (offset), to apply for M_AUG_INTENSITY_ADD_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value >= 0.0

Specifies the intensity addition value (offset).

Click to summarize M_AUG_INTENSITY_MULTIPLY_OP +

Sets whether to enable the intensity multiplication operation. Multiplying an image's intensity can be seen as a type of gain operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_INTENSITY_MULTIPLY_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_INTENSITY_MULTIPLY_OP.

Click to summarize M_AUG_INTENSITY_MULTIPLY_OP_DELTA

Sets the range for the random distribution of the intensity multiplication (gain) values, to apply for M_AUG_INTENSITY_MULTIPLY_OP.

The random distribution of the intensity multiplication (gain) values can be expressed as: [gain - delta, gain + delta]. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize Value >= 0.0

Specifies the range for the random distribution of the intensity multiplication (gain) values.

Click to summarize M_AUG_INTENSITY_MULTIPLY_OP_MODE

Sets the multiplication value (gain) mode, to apply for M_AUG_INTENSITY_MULTIPLY_OP.

When specifying a color (3-band) image, MimAugment() assumes an RGB color space by default. Operations that require a different color space (for example, HSV) internally convert the source image color. If your source image is not RGB, the conversion produces erroneous results. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_LUMINANCE.

Click to summarize M_LUMINANCE

Specifies to apply the multiplication value (gain) to the luminance band only.

Click to summarize M_RGB

Specifies to apply the multiplication value (gain) to each color band.

Click to summarize M_AUG_INTENSITY_MULTIPLY_OP_VALUE

Sets the intensity multiplication value (gain), to apply for M_AUG_INTENSITY_MULTIPLY_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize Value >= 0.0

Specifies the intensity multiplication value (gain).

Click to summarize M_AUG_LIGHTING_DIRECTIONAL_OP +

Sets whether to enable the directional lighting operation. Modifying an image's directional lighting can be seen as a type of add-ramp operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_LIGHTING_DIRECTIONAL_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_LIGHTING_DIRECTIONAL_OP.

Click to summarize M_AUG_LIGHTING_DIRECTIONAL_OP_ANGLE_MAX

Sets an illumination to add to the image at a random angle (ramp), to apply for M_AUG_LIGHTING_DIRECTIONAL_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 360°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the maximum angle (ramp) with which to add the illumination, in degrees.

Click to summarize M_AUG_LIGHTING_DIRECTIONAL_OP_INTENSITY_MAX

Sets the maximum light intensity, to use for M_AUG_LIGHTING_DIRECTIONAL_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.0.

Click to summarize Value >= 0.0

Specifies the maximum light intensity.

Click to summarize M_AUG_LIGHTING_DIRECTIONAL_OP_INTENSITY_MIN

Sets the minimum light intensity, to use for M_AUG_LIGHTING_DIRECTIONAL_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value >= 0.0

Specifies the minimum light intensity.

Click to summarize M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP +

Sets whether to enable the operation that applies a Gaussian additive noise with the option of a random noise standard deviation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP.

Click to summarize M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP_STDDEV

Sets standard deviation for noise, to apply for M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_AUTO_VALUE.

Click to summarize M_AUTO_VALUE

Specifies a value that is automatically established according to the data type and data depth of the source image buffer with which to perform MimAugment().

Source image buffer

M_AUTO_VALUE

8-bit unsigned

25.0

16-bit unsigned

3553.5

32-bit floating-point

0.5

(summarize)
Click to summarize Value >= 0.0

Specifies the standard deviation for noise.

Click to summarize M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP_STDDEV_DELTA

Sets the range for the random distribution of noise standard deviation values, to apply for M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP.

The range for the random distribution of noise standard deviation values can be expressed as: [stddev - delta, stddev + delta]. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_AUTO_VALUE.

Click to summarize M_AUTO_VALUE

Specifies a value that is automatically established according to the data type and data depth of the source image buffer with which to perform MimAugment().

Source image buffer

M_AUTO_VALUE

8-bit unsigned

25.0

16-bit unsigned

3553.5

32-bit floating-point

0.5

(summarize)
Click to summarize Value >= 0.0

Specifies the range for the random distribution of noise standard deviation values.

Click to summarize M_AUG_NOISE_MULTIPLICATIVE_OP +

Sets whether to enable the operation that applies a multiplicative noise with option of a random noise standard deviation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_NOISE_MULTIPLICATIVE_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_NOISE_MULTIPLICATIVE_OP.

Click to summarize M_AUG_NOISE_MULTIPLICATIVE_OP_DISTRIBUTION

Sets the uniform distribution for noise generation, to apply for M_AUG_NOISE_MULTIPLICATIVE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_UNIFORM.

Click to summarize M_GAUSSIAN

Specifies a Gaussian distribution for noise generation.

Click to summarize M_UNIFORM

Specifies a uniform distribution for noise generation.

Click to summarize M_AUG_NOISE_MULTIPLICATIVE_OP_INTENSITY_MIN

Sets an optional minimum noise intensity value (white noise threshold), to apply for M_AUG_NOISE_MULTIPLICATIVE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize Value >= 0.0

Specifies an optional minimum noise intensity value (white noise threshold).

Click to summarize M_AUG_NOISE_MULTIPLICATIVE_OP_STDDEV

Sets the standard deviation for noise, to apply for M_AUG_NOISE_MULTIPLICATIVE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize Value >= 0.0

Specifies the standard deviation for noise.

Click to summarize M_AUG_NOISE_MULTIPLICATIVE_OP_STDDEV_DELTA

Sets the range for the random distribution of noise standard deviation values, to apply for M_AUG_NOISE_MULTIPLICATIVE_OP.

The range for the random distribution of noise standard deviation values can be expressed as: [stddev - delta, stddev + delta]. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.1.

Click to summarize Value >= 0.0

Specifies the range for the random distribution of noise standard deviation values.

Click to summarize M_AUG_NOISE_SALT_PEPPER_OP +

Sets whether to enable salt and pepper noise with the option of random density. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_NOISE_SALT_PEPPER_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_NOISE_SALT_PEPPER_OP.

Click to summarize M_AUG_NOISE_SALT_PEPPER_OP_DENSITY

Sets the density value for salt and pepper noise, to use for M_AUG_NOISE_SALT_PEPPER_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.01.

Click to summarize 0.0 <= Value <= 1.0

Specifies the density value for salt and pepper noise.

Click to summarize M_AUG_NOISE_SALT_PEPPER_OP_DENSITY_DELTA

Sets the range for the random distribution of noise density values, to use for M_AUG_NOISE_SALT_PEPPER_OP.

The range for the random distribution of noise density values can be expressed as: [density - delta, density + delta]. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.005.

Click to summarize 0.0 <= Value <= 1.0

Specifies the range for the random distribution of noise density values.

Click to summarize M_AUG_RNG_INIT_VALUE

Sets the explicit initialization value for the internal random number generator, when M_AUG_SEED_MODE is set to M_RNG_INIT_VALUE. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value >= 0

Specifies the explicit initialization value for the internal random number generator. You cannot specify a value that is greater than the maximum value of a MIL_INT32.

(summarize)
Click to summarize M_AUG_ROTATION_OP +

Sets whether to enable the rotation operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_ROTATION_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_ROTATION_OP.

Click to summarize M_AUG_ROTATION_OP_ANGLE_DELTA

Sets the delta angle, to apply for M_AUG_ROTATION_OP.

The range for possible rotations can be expressed as: [min < reference + (i * step) ± (delta / 2) < max]. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 360°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the delta angle, in degrees.

Click to summarize M_AUG_ROTATION_OP_ANGLE_MAX

Sets the maximum rotation angle, to apply for M_AUG_ROTATION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 360°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the maximum rotation angle, in degrees.

Click to summarize M_AUG_ROTATION_OP_ANGLE_MIN

Sets the minimum rotation angle, to apply for M_AUG_ROTATION_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the minimum rotation angle, in degrees.

Click to summarize M_AUG_ROTATION_OP_ANGLE_REF

Sets the reference angle, which all other angles for M_AUG_ROTATION_OP will be calculated relative to. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the reference angle, in degrees.

Click to summarize M_AUG_ROTATION_OP_ANGLE_STEP

Sets the step size, to apply for M_AUG_ROTATION_OP.

The range for possible rotations can be expressed as: [min < reference + (i * step) ± (delta / 2) > max]. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0°.

Click to summarize 0.0 <= Value <= 360.0

Specifies the reference angle, in degrees.

Click to summarize M_AUG_SATURATION_GAIN_OP +

Sets whether to enable the operation that multiplies the image's saturation band (in the HSV color space) by a random factor. Multiplying an image's saturation band can be seen as a type of gain operation.

When specifying a color (3-band) image, MimAugment() assumes an RGB color space by default. Operations that require a different color space (for example, HSV) internally convert the source image color. If your source image is not RGB, the conversion produces erroneous results. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SATURATION_GAIN_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SATURATION_GAIN_OP.

Click to summarize M_AUG_SATURATION_GAIN_OP_MAX

Sets the maximum value for the random saturation factor's distribution [min, max], to use for M_AUG_SATURATION_GAIN_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value >= 0.0

Specifies the maximum value for the random saturation factor's distribution.

Click to summarize M_AUG_SATURATION_GAIN_OP_MIN

Sets the minimum value for the random saturation factor's distribution [min, max], to use for M_AUG_SATURATION_GAIN_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize Value >= 0.0

Specifies the minimum value for the random saturation factor's distribution.

Click to summarize M_AUG_SCALE_OP +

Sets whether to enable the scale operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SCALE_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SCALE_OP.

Click to summarize M_AUG_SCALE_OP_FACTOR_MAX

Sets the maximum scale factor, to apply for M_AUG_SCALE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize 0.0 <= Value <= 16.0

Specifies the maximum scale factor.

Click to summarize M_AUG_SCALE_OP_FACTOR_MIN

Sets the minimum scale factor, to apply for M_AUG_SCALE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.0 <= Value <= 16.0

Specifies the minimum scale factor.

Click to summarize M_AUG_SEED_MODE

Sets the mode with which to initialize seeds. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_RNG_AUTO.

Click to summarize M_RNG_AUTO

Specifies that the initialization value of the internal random number generator is chosen at random.

Click to summarize M_RNG_INIT_VALUE

Specifies an explicit initialization value for the internal random number generator, using M_AUG_RNG_INIT_VALUE. Specifying the same initialization value lets you rerun the augmentation with the same randomized settings. This initialization value is saved with the augmentation context.

(summarize)
Click to summarize M_USER_DEFINED_SEED

Specifies a user-defined value for the seeds, using MimAugment() with the SeedValue parameter.

Click to summarize M_AUG_SHARPEN_DERICHE_OP +

Sets whether to enable the operation that applies a Deriche sharpening filter with a random filter smoothness value. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SHARPEN_DERICHE_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SHARPEN_DERICHE_OP.

Click to summarize M_AUG_SHARPEN_DERICHE_OP_FACTOR_MAX

Sets the maximum value for the sharpen filter smoothness value's random distribution [min, max], to apply for M_AUG_SHARPEN_DERICHE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 50°.

Click to summarize 0.0 <= Value <= 100.0

Specifies the maximum value for the sharpen filter smoothness value's random distribution [min, max].

Click to summarize M_AUG_SHARPEN_DERICHE_OP_FACTOR_MIN

Sets the minimum value for the sharpen filter smoothness value's random distribution [min, max], to apply for M_AUG_SHARPEN_DERICHE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0°.

Click to summarize 0.0 <= Value <= 100.0

Specifies the minimum value for the sharpen filter smoothness value's random distribution [min, max].

Click to summarize M_AUG_SHEAR_X_OP +

Sets whether to enable the X-direction shear operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SHEAR_X_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SHEAR_X_OP.

Click to summarize M_AUG_SHEAR_X_OP_MAX

Sets the maximum value for the X-coefficient's random distribution [min, max], to use for M_AUG_SHEAR_X_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.0.

Click to summarize 0.5 <= Value <= 1.0

Specifies the maximum value for the X-coefficient's random distribution [min, max].

Click to summarize M_AUG_SHEAR_X_OP_MIN

Sets the minimum value for the X-coefficient's random distribution [min, max], to use for M_AUG_SHEAR_X_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.5 <= Value <= 1.0

Specifies the minimum value for the X-coefficient's random distribution [min, max].

Click to summarize M_AUG_SHEAR_Y_OP +

Sets whether to enable the Y-direction shear operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SHEAR_Y_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SHEAR_Y_OP.

Click to summarize M_AUG_SHEAR_Y_OP_MAX

Sets the maximum value for the Y-coefficient's random distribution [min, max], to use for M_AUG_SHEAR_Y_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.0.

Click to summarize 0.5 <= Value <= 1.0

Specifies the maximum value for the Y-coefficient's random distribution [min, max].

Click to summarize M_AUG_SHEAR_Y_OP_MIN

Sets the minimum value for the Y-coefficient's random distribution [min, max], to use for M_AUG_SHEAR_Y_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.5.

Click to summarize 0.5 <= Value <= 1.0

Specifies the minimum value for the Y-coefficient's random distribution [min, max].

Click to summarize M_AUG_SMOOTH_DERICHE_OP +

Sets whether to enable the operation that performs a Deriche filter smoothing with random filter smoothness value. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SMOOTH_DERICHE_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SMOOTH_DERICHE_OP.

Click to summarize M_AUG_SMOOTH_DERICHE_OP_FACTOR_MAX

Sets the maximum value for the Deriche smoothness value's random distribution [min, max], to use for M_AUG_SMOOTH_DERICHE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the maximum value for the Deriche smoothness value's random distribution [min, max].

Click to summarize M_AUG_SMOOTH_DERICHE_OP_FACTOR_MIN

Sets the minimum value for the Deriche smoothness value's random distribution [min, max], to use for M_AUG_SMOOTH_DERICHE_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the minimum value for the Deriche smoothness value's random distribution [min, max].

Click to summarize M_AUG_SMOOTH_GAUSSIAN_OP +

Sets whether to enable the operation that performs a blurring of the image with a Gaussian blurring kernel calculated using a Gaussian function with a random standard deviation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_SMOOTH_GAUSSIAN_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_SMOOTH_GAUSSIAN_OP.

Click to summarize M_AUG_SMOOTH_GAUSSIAN_OP_STDDEV_MAX

Sets the maximum value for the Gaussian standard deviation's random distribution [min, max], to apply for M_AUG_SMOOTH_GAUSSIAN_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 3.0.

Click to summarize Value >= 0.0

Specifies the maximum value for the Gaussian standard deviation's random distribution [min, max].

Click to summarize M_AUG_SMOOTH_GAUSSIAN_OP_STDDEV_MIN

Sets the minimum value for the Gaussian standard deviation's random distribution [min, max], to apply for M_AUG_SMOOTH_GAUSSIAN_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.0.

Click to summarize Value >= 0.0

Specifies the minimum value for the Gaussian standard deviation's random distribution [min, max].

Click to summarize M_AUG_TRANSLATION_X_OP +

Sets whether to enable the X-direction translation operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_TRANSLATION_X_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_TRANSLATION_X_OP.

Click to summarize M_AUG_TRANSLATION_X_OP_MAX

Sets the maximum translation in the X-direction, to apply for M_AUG_TRANSLATION_X_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.

Click to summarize Value >= 0.0

Specifies the maximum translation in the X-direction.

Click to summarize M_AUG_TRANSLATION_Y_OP +

Sets whether to enable the Y-direction translation operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to disable M_AUG_TRANSLATION_Y_OP.

Click to summarize M_ENABLE

Specifies to enable M_AUG_TRANSLATION_Y_OP.

Click to summarize M_AUG_TRANSLATION_Y_OP_MAX

Sets the maximum translation in the Y-direction, to apply for M_AUG_TRANSLATION_Y_OP. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.

Click to summarize Value >= 0.0

Specifies the maximum translation in the Y-direction.

Click to summarize Cumulative statistics image processing
context ID

Specifies a cumulative statistics image processing context, allocated using MimAlloc() with M_STATISTICS_CUMULATIVE_CONTEXT, and used in MimStatCalculate() operations.

To process multiple images, call MimStatCalculate() multiple times, each time with a different source image. Note that the source image must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

Note, use multiple calls to this function to enable multiple statistical operations. Enabling fewer statistics will help increase the speed of the operation.

(summarize)
Click to summarize M_SOURCE_SIZE_X

Sets the X-size of the target area in the source images. Note that, the setting of this control type is ignored, unless using MimStatCalculate() with M_PREPROCESS when you do not provide a source image. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NULL.

Click to summarize M_NULL

Specifies to clear the size.

Click to summarize Width

Specifies the width of the target area in the source images, in pixels.

Click to summarize M_SOURCE_SIZE_Y

Sets the Y-size of the target area in the source images. Note that, the setting of this control type is ignored, unless using MimStatCalculate() with M_PREPROCESS, when you do not provide a source image. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NULL.

Click to summarize M_NULL

Specifies to clear the size.

Click to summarize Height

Specifies the height of the target area in the source images, in pixels.

Click to summarize M_STAT_MAX

Sets whether to calculate the maximum pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MAX_ABS

Sets whether to calculate the maximum absolute pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MEAN

Sets whether to calculate the mean pixel value for each pixel location across the different source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MIN

Sets whether to calculate the minimum pixel value for each pixel location across the different source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MIN_ABS

Sets whether to calculate the minimum absolute pixel value for each pixel location across the different source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_NUMBER

Sets whether to keep track of the number of source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to keep track.

Click to summarize M_ENABLE

Specifies to keep track.

Click to summarize M_STAT_STANDARD_DEVIATION

Sets whether to calculate the standard deviation. Note that MIL calculates the standard deviation using the following formula: INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_SUM

Sets whether to calculate the sum of the pixel value for each pixel location across the different source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_SUM_ABS

Sets whether to calculate the sum of the absolute pixel values for each pixel location across the different source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_SUM_OF_SQUARES

Sets whether to calculate the sum of the squared pixel values for each pixel location across the different source images. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize Dead pixel correction image processing
context ID

Specifies a dead pixel correction image processing context, allocated using MimAlloc() with M_DEAD_PIXEL_CONTEXT, and used in MimDeadPixelCorrection() operations.

(summarize)
Click to summarize M_DEAD_PIXELS

Sets the dead pixels image buffer used to identify dead pixels in the source image, where all non-zero pixels are considered dead pixels.

Note that you should only use this control type if you have not specified a series of values that identify the dead pixels, using MimPut() with M_XY_DEAD_PIXELS.

(summarize)
Click to summarize Dead pixel mask image buffer ID

Specifies identifier of the image buffer containing the dead pixel mask.

The buffer must be a single-band image buffer, allocated using MbufAlloc...().

This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

(summarize)
Click to summarize M_INTERPOLATION_MODE

Sets the interpolation mode. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_AVERAGE.

Click to summarize M_AVERAGE

Specifies to overwrite a dead pixel with an interpolation performed using a weighted average of all its neighboring pixels in the source image.

Click to summarize Deinterlacing image processing context ID

Specifies a deinterlacing image processing context, allocated using MimAlloc() with M_DEINTERLACE_CONTEXT, and used in MimDeinterlace() operations.

(summarize)
Click to summarize M_DEINTERLACE_TYPE

Sets the deinterlacing algorithm to use. The chosen algorithm can either be applied to all the pixels in the source image or to the pixels that are part of an object in motion (adaptive version of the algorithm).

To determine if a pixel is part of a moving object, the adaptive algorithm compares it with the pixel at the same location in neighboring frames. If the difference between the maximum and minimum pixel intensity exceeds a set threshold (M_MOTION_DETECT_THRESHOLD), then the pixel is considered to be part of a moving object. Otherwise, the pixel is considered to be part of the background. The deinterlacing algorithm is not applied to the background pixels. Instead, the background pixels in the output image will be formed by the corresponding pixels in the even or odd field. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISCARD.

Click to summarize M_ADAPTIVE_AVERAGE

Specifies that the average algorithm is applied to the pixels that are considered to be part of a moving object and leaves the background pixels unchanged.

Click to summarize M_ADAPTIVE_BOB

Specifies that the bob algorithm is applied to the pixels that are considered to be part of a moving object and leaves the background pixels unchanged.

Click to summarize M_ADAPTIVE_DISCARD

Specifies that the discard algorithm is applied to the pixels that are considered to be part of a moving object and leaves the background pixels unchanged.

Click to summarize M_AVERAGE

Performs the averaging algorithm. This algorithm is equivalent to performing the discard algorithm twice, once using the first field in the frame and once using the second. The resulting two frames will then be averaged to form one deinterlaced output frame.

(summarize)
Click to summarize M_BOB

Performs the bob algorithm. This algorithm performs the discard algorithm twice, once using the first field in the frame and once using the second. The result is two output frames. Therefore, the output frame rate is twice as high as the input frame rate.

(summarize)
Click to summarize M_DISCARD

Performs the discard algorithm. This algorithm takes one field from the source image and discards the other. The second field is then calculated from this field. Each row of the second field is obtained by averaging the two corresponding neighboring rows in the first field. For example, the first row of the second field is calculated from the average of the first and second rows of the first field.

(summarize)
Click to summarize M_DISCARD_FIELD

Sets the field to discard when using the M_DISCARD or M_ADAPTIVE_DISCARD algorithm. Note, in the averaging and bob algorithms, the discard algorithm is called twice; the first field is discarded on the first call and the second field is discarded on the second call. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_EVEN_FIELD.

Click to summarize M_EVEN_FIELD

Specifies that the even field is discarded.

Click to summarize M_ODD_FIELD

Specifies that the odd field is discarded.

Click to summarize M_FIRST_FIELD

Sets the first field to be processed for each input frame and consequently sets the order of the output frames when using the M_BOB or M_ADAPTIVE_BOB algorithm. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_EVEN_FIELD.

Click to summarize M_EVEN_FIELD

Specifies that the even field will be processed first.

Click to summarize M_ODD_FIELD

Specifies that the odd field will be processed first.

Click to summarize M_MOTION_DETECT_NUM_FRAMES

Sets the number of frames to use for comparison purposes to determine if a pixel is part of an object in motion. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 2.

Click to summarize Value > 1

Specifies the number of frames.

Click to summarize M_MOTION_DETECT_OUTPUT

Sets whether the output images of MimDeinterlace() are deinterlaced images or images indicating which pixels are considered to be part of an object in motion (the internal motion detection mask). In the latter case, the pixel values are either 0, if they are part of a background object, or the maximum unsigned value (0xFF for an 8 bit image), if they are part of an object in motion. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies that the output images are the deinterlaced images.

Click to summarize M_ENABLE

Specifies that the output images indicate the background pixels and the pixels that are considered to be part of the object in motion.

Click to summarize M_MOTION_DETECT_REFERENCE_FRAME

Sets the index of the frame to process within the group of frames that are used for motion detection. This frame is used as the reference frame. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_CENTER_FRAME.

Click to summarize M_CENTER_FRAME

Specifies that the center frame in the group is used as the reference frame.

Click to summarize M_FIRST_FRAME

Specifies that the first frame in the group is used as the reference frame.

Click to summarize M_LAST_FRAME

Specifies that the last frame in the group is used as the reference frame.

Click to summarize 0 <= Value < M_MOTION_DETECT_NUM_FRAMES

Specifies the index of the frame relative to the first frame of the group. The first frame of the group has index 0.

(summarize)
Click to summarize M_MOTION_DETECT_THRESHOLD

Sets the threshold value used to differentiate between pixels that are part of objects in motion and background pixels. Each pixel is compared with the pixel at the same location in neighboring frames. If the difference between the maximum and minimum pixel intensity exceeds the specified threshold, the pixel is considered part of a moving object. Otherwise, it is considered part of the background. INQ

(summarize)
Click to summarize Value >= 0

Specifies the threshold.

Click to summarize M_SOURCE_FIRST_IMAGE

Sets the index of the input image used to generate the first deinterlaced image. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value >= 0

Specifies the index of the image in the source image array.

Click to summarize Event list image processing result ID

Specifies an event list image processing result buffer, allocated using MimAllocResult() with M_EVENT_LIST, and used in MimLocateEvent() operations.

(summarize)
Click to summarize M_RESULT_OUTPUT_UNITS

Sets whether to return results in pixels or world units. This essentially sets the output coordinate system to use. The setting of this control type will only affect functions within this module which return positional results. This control type can be changed at any time to return results in the required output units. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ACCORDING_TO_CALIBRATION.

Click to summarize M_ACCORDING_TO_CALIBRATION

Specifies that results are returned in world units if the result was calculated on an image associated with a camera calibration context; otherwise, specifies that results are returned in pixel units.

Click to summarize M_PIXEL

Specifies that results are returned in pixel units, with respect to the pixel coordinate system.

Click to summarize M_WORLD

Specifies that results are returned in world units, with respect to the relative coordinate system. If world units are specified, calling MimGetResult() or MimGetResult1d() generates an error if the result was not calculated on a calibrated image.

(summarize)
Click to summarize Find orientation image processing context ID

Specifies a find orientation image processing context identifier, allocated using MimAlloc() with M_FIND_ORIENTATION_CONTEXT, and used in MimFindOrientation() operations.

(summarize)
Click to summarize M_BORDER_ATTENUATION

Sets whether MimFindOrientation() must process the image's borders, or if the operation can ignore spatial patterns occurring close to the ends of the image buffer. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies that MimFindOrientation() cannot ignore the image's borders. The find orientation operation will use the borders.

(summarize)
Click to summarize M_ENABLE

Specifies that MimFindOrientation() can ignore the image's borders. The find orientation operation will not necessarily use the borders.

(summarize)
Click to summarize M_FREQUENCY_CUTOFF_RATIO_HIGH

Specifies the upper limit of frequencies in which to look for dominant orientations, as a percentage of the maximum frequency; the maximum frequency is dictated by the size of the image. Larger images will have higher maximum frequencies. Frequencies higher than this percentage will be ignored during computation. This can be useful for discarding noise in the image. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 95%.

Click to summarize 0.0 <= Value <= 100.0

Specifies the upper limit of frequencies in which to look for dominant orientations, as a percentage of the maximum frequency. For example, by specifying 95% (the default), frequencies above MaxFrequency x 95% will be ignored.

(summarize)
Click to summarize M_FREQUENCY_CUTOFF_RATIO_LOW

Specifies the lower limit of frequencies in which to look for dominant orientations, as a percentage of the maximum frequency; the maximum frequency is dictated by the size of the image. Larger images will have higher maximum frequencies. Frequencies lower than this percentage will be ignored during computation. This can be useful for discarding noise in the image. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 5%.

Click to summarize 0.0 <= Value <= 100.0

Specifies the lower limit of frequencies in which to look for dominant orientations, as a percentage of the maximum frequency. For example, by specifying 5% (the default), frequencies below MaxFrequency x 5% will be ignored.

(summarize)
Click to summarize M_INTERPOLATION_MODE

Sets the interpolation mode used to internally resize the source image if it is of an inappropriate size. This will only be used if the source image has dimensions that are not a power of 2 (X-size and Y-size).

Note that you cannot set an interpolation mode if you are using M_CLIP_CENTER. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NEAREST_NEIGHBOR.

Click to summarize M_AVERAGE

Specifies averaging interpolation. The M_MODE control type must be set to M_RESIZE_DOWN.

(summarize)
Click to summarize M_BICUBIC

Specifies bicubic interpolation. The new value is determined by taking a weighted average of the 16 values (4x4) that surround the source point. Note that the sum of the weights used for bicubic interpolation might be greater than one. If this occurs, the result is saturated according to the depth and data type of the destination buffer.

(summarize)
Click to summarize M_BILINEAR

Specifies bilinear interpolation. The new value is determined by taking a weighted average of the 4 values (2x2) that surround the source point.

(summarize)
Click to summarize M_INTERPOLATE

Specifies interpolated resizing. For resizing up, this is equivalent to bilinear; for resizing down, this is equivalent to averaging. This gives the best speed/result compromise for interpolated resizing.

(summarize)
Click to summarize M_MAX

Specifies an interpolation based on the maximum pixel value in the source image area. The M_MODE control type must be set to M_RESIZE_DOWN.

Note that this can alter the shapes of objects and reduce the robustness of the operation.

(summarize)
Click to summarize M_MIN

Specifies an interpolation based on the minimum pixel value in the source image area. The M_MODE control type must be set to M_RESIZE_DOWN.

Note that this can alter the shapes of objects and reduce the robustness of the operation.

(summarize)
Click to summarize M_NEAREST_NEIGHBOR

Specifies nearest neighbor interpolation. The new value is that of the pixel closest to the source point.

(summarize)
Click to summarize M_MODE

Sets the resizing mode used if the source image is of an inappropriate size. Resizing will only occur if the source image has dimensions that are not a power of 2 (X-size and Y-size). The find orientation operation is then performed on the resized image, which is stored in a temporary image buffer. The original image is not altered.

For more information on resizing, see the Basic geometric transforms section of Chapter 3: Fundamental image processing. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_CLIP_CENTER.

Click to summarize M_CLIP_CENTER

Specifies to perform the find orientation operation using the largest centered portion of the image with dimensions that are a power of 2 (X-size and Y-size).

Click to summarize M_RESIZE_DOWN

Specifies to perform the find orientation operation on a subsampled version of the image with the closest possible dimensions that are a power of 2 (X-size and Y-size).

Click to summarize M_RESIZE_UP

Specifies to perform the find orientation operation on a zoomed version of the image with the closest possible dimensions that are a power of 2 (X-size and Y-size).

Click to summarize Flat-field image processing context ID

Specifies a flat-field image processing context, allocated using MimAlloc() with M_FLAT_FIELD_CONTEXT, and used in MimFlatField() operations.

(summarize)
Click to summarize M_DARK_CONST

Sets the dark constant value. This is used to remove thermal agitation recorded in the grabbed image (from the CCD) or to remove the darkest possible shade of black when removing uneven lighting from grabbed images.

Note that M_DARK_CONST and M_DARK_IMAGE both cannot be set in the same flat-field imaging processing context. INQ

(summarize)
Click to summarize 0 <= Value <= 65535

Specifies the constant.

Click to summarize M_DARK_IMAGE

Sets the identifier of the dark image. This is used to remove thermal agitation recorded in the grabbed image (from the CCD) or to remove the dark shadows from the source image when removing uneven lighting from grabbed images. Note that, this image should be a uniformly dark area (such as, grabbing with the lens cap on your camera).

Note that M_DARK_CONST and M_DARK_IMAGE both cannot be set in the same flat-field imaging processing context.

(summarize)
Click to summarize DarkImageId

Specifies the identifier of the image buffer. This image buffer must be an 8- or 16-bit unsigned processing image buffer.

This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

(summarize)
Click to summarize M_FLAT_CONST

Sets the flat constant value. This is used to remove the variations of CCD sensitivity recorded in the grabbed image (from the CCD) or to reduce the gray in the grabbed image when removing uneven lighting.

Note that M_FLAT_CONST and M_FLAT_IMAGE both cannot be set in the same flat-field imaging processing context. INQ

(summarize)
Click to summarize 0 <= Value <= 65535

Specifies the constant.

Click to summarize M_FLAT_IMAGE

Sets the identifier of the flat image. This is used to remove the variations of CCD sensitivity recorded in the grabbed image (from the CCD) or to reduce the gray in the grabbed image when removing uneven lighting. Note that, this image should be a uniform light gray area. When dealing with CCD sensitivity, the exposure time should be relatively short. Alternatively, when dealing with uneven lighting, the exposure time should be set so that no pixel is saturated.

Note that M_FLAT_CONST and M_FLAT_IMAGE both cannot be set in the same flat-field imaging processing context.

(summarize)
Click to summarize FlatImageId

Specifies the identifier of the image buffer. This image buffer must be an 8- or 16-bit unsigned processing buffer.

This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

(summarize)
Click to summarize M_GAIN_CONST

Sets the gain factor used to normalize (or scale) the result of the flat field calculation back to the full dynamic range of the destination image. INQ

(summarize)
Click to summarize M_AUTOMATIC

Specifies an automatic gain factor.

The automatically generated gain factor is determined by subtracting the flat image (M_FLAT_IMAGE) from the offset image (M_OFFSET_IMAGE) and then taking the average of the resulting image's pixels.

If a constant value is specified instead of images (by using M_FLAT_CONST and M_OFFSET_CONST), MIL returns the result of the subtraction instead.

(summarize)
Click to summarize Value > 0.0

Specifies the gain factor.

Click to summarize M_OFFSET_CONST

Sets the offset constant value. This is used to remove the electrical bias recorded in the grabbed image (from the CCD) or to reduce the black in the flat image when removing uneven lighting.

Note that M_OFFSET_CONST and M_OFFSET_IMAGE both cannot be set in the same flat-field imaging processing context. INQ

(summarize)
Click to summarize 0 <= Value <= 65535

Specifies the constant.

Click to summarize M_OFFSET_IMAGE

Sets the identifier of the offset image. This is used to remove the electrical bias recorded in the image (from the CCD) or to reduce the black in the flat image when removing uneven lighting. Note that, this image should be a uniform dark area. When dealing with electrical bias, the exposure time should be relatively short. Alternatively, when dealing with uneven lighting, the exposure time should be the same as for the flat image (that is, so that no pixel is saturated).

Note that M_OFFSET_CONST and M_OFFSET_IMAGE both cannot be set in the same flat-field imaging processing context.

(summarize)
Click to summarize OffsetImageId

Specifies the identifier of the image buffer. This image buffer must be an 8- or 16-bit unsigned processing buffer.

This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

(summarize)
Click to summarize Histogram equalization adaptive context ID

Specifies a histogram equalization adaptive context, allocated using MimAlloc() with M_HISTOGRAM_EQUALIZE_ADAPTIVE_CONTEXT, and used in MimHistogramEqualizeAdaptive() operations.

(summarize)
Click to summarize M_ALPHA_VALUE

Sets the adjustment factor for M_EXPONENTIAL and M_RAYLEIGH operations. For other operations, M_ALPHA_VALUE is ignored. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.4.

Click to summarize Value >= 0.0

Specifies the adjustment factor.

For an M_EXPONENTIAL operation, greater adjustment values result in less occurrences of the most frequent pixels of the histogram in the resulting image buffer.

For an M_RAYLEIGH operation, greater adjustment values result in greater occurrences of the most frequent pixels of the histogram in the resulting image buffer.

(summarize)
Click to summarize M_CLIP_LIMIT

Sets the maximum percentage of values that a tile's histogram bin can represent. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1%.

Click to summarize 0.0 < Value <= 100.0

Specifies the maximum percentage. For example, if a tile has 100 pixels and you specify a maximum limit of 10%, there can be no bin in that tile's histogram with more than 10 values. This essentially limits the contrast. Exceeding values are distributed evenly among the tile's other histogram bins.

(summarize)
Click to summarize M_HIST_SIZE

Sets the number of bins for each tile's histogram. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ACCORDING_TO_SOURCE.

Click to summarize M_ACCORDING_TO_SOURCE

Specifies that MimHistogramEqualizeAdaptive() automatically determines the number of bins for each tile's histogram, according to the number of intensities that are possible in the specified image buffer. For example, if you specify an 8-bit unsigned buffer, each tile's histogram will have 256 bins.

(summarize)
Click to summarize Value >= 2

Specifies the number of bins for each tile's histogram. Only integer values accepted.

(summarize)
Click to summarize M_NUMBER_OF_TILES_X

Sets the number of tiles along the X-direction of the source image specified with MimHistogramEqualizeAdaptive().

Given the number of tiles in the X- and Y-direction, the size of the source image, and the requirement that tiles be congruent rectangles, MimHistogramEqualizeAdaptive() is able to establish the size of the tiles with which to process the image. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 8.

Click to summarize Value >= 2

Specifies the number of tiles. Only integer values accepted.

(summarize)
Click to summarize M_NUMBER_OF_TILES_Y

Sets the number of tiles along the Y-direction of the source image specified with MimHistogramEqualizeAdaptive().

Given the number of tiles in the Y- and X-direction, the size of the source image, and the requirement that tiles be congruent rectangles, MimHistogramEqualizeAdaptive() is able to establish the size of the tiles with which to process the image. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 8.

Click to summarize Value >= 2

Specifies the number of tiles. Only integer values accepted.

(summarize)
Click to summarize M_OPERATION

Sets the equalization operation that MimHistogramEqualizeAdaptive() uses.

The cumulative probability distribution, Pf(f), of the input image is approximated by its cumulative histogram:

For more information, refer to "Pratt, William K. Digital Image Processing . United States: John Wiley & Sons, 1978. 318.". INQ (summarize)
Click to summarize M_DEFAULT

Same as M_UNIFORM.

Click to summarize M_EXPONENTIAL

Specifies an equalization density function which generates an Exponential distribution.

Output probability density model:

Transfer function:

(summarize)
Click to summarize M_HYPER_CUBE_ROOT

Specifies an equalization density function which generates a Hyperbolic Cube Root distribution.

Output probability density model:

Transfer function:

(summarize)
Click to summarize M_HYPER_LOG

Specifies an equalization density function which generates a Hyperbolic Logarithmic distribution.

Output probability density model:

Transfer function:

(summarize)
Click to summarize M_RAYLEIGH

Specifies an equalization density function which generates a Rayleigh distribution.

Output probability density model:

Transfer function:

(summarize)
Click to summarize M_UNIFORM

Specifies an equalization density function which generates a Uniform distribution.

Output probability density model:

Transfer function:

(summarize)
Click to summarize Intensity histogram image processing result
ID

Specifies an intensity histogram image processing result buffer, allocated using MimAllocResult() with M_HIST_LIST, and used in MimHistogram() operations.

(summarize)
Click to summarize M_HIST_BIN_SIZE_MODE

Sets the number of values each histogram bin can represent. To specify the number of histogram bins in the result, use MimAllocResult() and the NbEntries parameter. For example, if you are using an 8-bit unsigned source image, and you want to have one bin for every possible intensity value, you should set the NbEntries parameter to 256. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_REGULAR.

Click to summarize M_FIT_SRC_DATA

Specifies that MimHistogram() determines the resulting bin size according to the source image's minimum and maximum intensity values, and the total number of bins. For example, if you call MimHistogram() with a 16-bit signed buffer that holds a source image with a minimum pixel intensity value of 10 and a maximum of 1009, the histogram's bins must account for values between 10 and 1009, which is a total of 1000 possible values. In this case, if the histogram has 100 bins, each bin can represent 10 values (1000/100).

(summarize)
Click to summarize M_FIT_SRC_RANGE

Specifies that MimHistogram() determines the resulting bin size according to the full range of possible values in the source buffer, and the total number of bins. For example, if you call MimHistogram() with a 16-bit signed buffer, the histogram's bins must account for intensity values ranging from -32768 to 32767, which is a total of 65536 possible values. In this case, if the histogram has 512 bins, each bin can represent 128 values (65536/512). Note that the minimum and maximum values possible for a buffer can be modified using MbufControl() with M_MIN and M_MAX.

(summarize)
Click to summarize M_FREEDMAN

Specifies that MimHistogram() determines the resulting bin size according to the Freedman–Diaconis rule. This is a statistical estimate based on an equation of the general form: BinSize=2I Q R(x)n -1/3 .

For more information, see "Freedman, David; Diaconis, Persi. On the histogram as a density estimator . Heidelberg, Berlin: Springer, 1981. ".

(summarize)
Click to summarize M_REGULAR

Specifies that each histogram bin can hold 1 value.

Click to summarize M_HIST_SMOOTHING_ITERATIONS

Sets the number of smoothing iterations to perform on the histogram after it has been generated. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value >= 0

Specifies the number of smoothing iterations. Only integer values accepted.

The smoothing applied is an integer-based averaging of the histogram; the resulting number of values might therefore be different than the number of values in the source image.

(summarize)
Click to summarize Linear IIR filter image processing context ID

Specifies a linear IIR filter image processing context, allocated using MimAlloc() with M_LINEAR_FILTER_IIR_CONTEXT, and used in MimConvolve() and MimDifferential() operations.

(summarize)
Click to summarize M_FILTER_OPERATION

Specifies the linear filter operation to perform. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SMOOTH.

Click to summarize M_FIRST_DERIVATIVE_X

Computes the first derivative of the image, with respect to X, using the specified filter type.

Click to summarize M_FIRST_DERIVATIVE_Y

Computes the first derivative of the image, with respect to Y, using the specified filter type.

Click to summarize M_SECOND_DERIVATIVE_X

Computes the second derivative of the image, with respect to X, using the specified filter type.

Click to summarize M_SECOND_DERIVATIVE_XY

Computes the second derivative of the image, with respect to X and Y, using the specified filter type.

Click to summarize M_SECOND_DERIVATIVE_Y

Computes the second derivative of the image, with respect to Y, using the specified filter type.

Click to summarize M_SMOOTH

Performs a smoothing operation on the image using the specified filter type.

Click to summarize M_FILTER_RESPONSE_TYPE

Specifies the filter response type. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SLOPE.

Click to summarize M_SLOPE

Specifies a response that is normalized according to the input slope. With this setting, the filter response is consistent with the local slope of the input signal; that is, the rate of change of local intensity values in the input image is in line with the filter response. Any derivative operations performed maintain this consistency. For example, if using a first derivative operation, the response to a ramp input will be its slope. Note that saturation can occur with this setting.

(summarize)
Click to summarize M_STEP

Specifies a response that is normalized according to a step input. The response is adjusted so that saturation will not occur; that is, the maximum filter response is set according to the depth of the destination image buffer so that the destination image buffer can hold value extremes without saturation.

(summarize)
Click to summarize M_FILTER_SMOOTHNESS

Specifies the degree of smoothness (strength of the denoising) to apply, according to the filter smoothness type. Larger values result in greater smoothing. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies a default smoothness value that is mid-range. For an M_NORMALIZED filter smoothness type, the value is 50. For an M_SIZE or M_NATIVE filter smoothness type, the default value results in smoothing that is approximately equivalent to setting M_NORMALIZED to 50.

(summarize)
Click to summarize Value >= 0.0

Specifies the smoothness value.

The range available depends on the smoothness type. For an M_NORMALIZED type, the range is 0 <= Value <= 100. For an M_NATIVE type, the range is 0 < Value < 1. For an M_SIZE type, the value entered reflects the extent to which neighboring pixels affect the central pixel of the region receiving the filter. A size of 10, for example, is roughly equivalent to a 21 x 21 convolution kernel, where the 10 pixels on each side of the central pixel will have an impact on the filter operation.

(summarize)
Click to summarize M_FILTER_SMOOTHNESS_TYPE

Specifies the filter smoothness type. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NORMALIZED.

Click to summarize M_NATIVE

Specifies to control the alpha (), beta (), or sigma () value in the Deriche, Shen-Castan, or Vliet weighting function, depending on the filter type specified with M_FILTER_TYPE. Whereas the M_NORMALIZED and M_SIZE filter smoothness type settings reorganize the data to provide a more intuitive approach (such as the 0-100 range of M_NORMALIZED), this setting makes no such transformation and allows you to control the raw (native) smoothness directly. This is an advanced setting, and requires knowledge of the Deriche, Shen-Castan, or Vliet filter formulas.

Set the required alpha (), beta (), or sigma () value with M_FILTER_SMOOTHNESS.

(summarize)
Click to summarize M_NORMALIZED

Specifies to use a normalized smoothness value that is between 0 and 100.

Click to summarize M_SIZE

Specifies to use a smoothness value driven by a spatial size. This size specifies the extent to which neighboring pixels affect the central pixel of the region receiving the filter.

(summarize)
Click to summarize M_FILTER_TYPE

Specifies the type of IIR filter to use for the convolution operation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DERICHE.

Click to summarize M_DERICHE

Specifies a Deriche infinite support filter. M_DERICHE implements an approximation of the Gaussian filter using an IIR weighted exponential function, of which the general form is:

For the Deriche filter, the neighborhoods' influence decreases much slower as the distance from the central pixel increases, compared to the Shen-Castan filter.

(summarize)
Click to summarize M_SHEN

Specifies a Shen-Castan infinite support exponential filter. This is an exponential weighting function, of the general form:

For the Shen-Castan filter, the neighborhoods' influence decreases much faster as the distance from the central pixel increases, compared to the Deriche filter.

(summarize)
Click to summarize M_VLIET

Specifies a Vliet infinite support filter. This is an approximation of the Gaussian function, which has the general form:

The Vliet filter is an accurate approximation of the Gaussian function, especially when sigma () is large.

(summarize)
Click to summarize Locate peak 1D image processing context ID

Specifies a 1D locate peak image processing context, allocated using MimAlloc() with M_LOCATE_PEAK_1D_CONTEXT, and used in MimLocatePeak1d() operations.

(summarize)
Click to summarize M_FRAME_SIZE

Sets the Y-size of the frames. The Y-size must be set before preprocessing the context.

M_FRAME_SIZE will always be the Y-size, regardless of the direction set with M_SCAN_LANE_DIRECTION.

If a multi-frame image buffer is used, M_FRAME_SIZE sets the Y-size of each individual frame. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_FULL_SIZE.

Click to summarize M_FULL_SIZE

Specifies to use the buffer as a single frame.

Click to summarize Value >= 1

Specifies the Y-size of the frames.

Click to summarize M_MINIMUM_CONTRAST

Sets the minimum contrast (difference) between the intensity of the local 1D background and the minimum acceptable intensity of a pixel in the peak neighborhood.

This control type is intended to adjust how M3dmapAddScan() internally processes laser line images. When using MimLocatePeak1d(), you typically set the value using the function's parameters; this control type only sets the default value used by the function. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.

Click to summarize 0 <= Value <= 255

Specifies the minimum contrast.

Click to summarize M_NUMBER_OF_FRAMES

Sets the total number of frames for which peaks can be extracted. This is the maximum number of frames for which results can be accumulated. The number of frames must be set before preprocessing the context.

Note that when passing a multi-frame image buffer to MimLocatePeak1d(), the number of frames processed by each call to MimLocatePeak1d() can be different from M_NUMBER_OF_FRAMES. If M_NUMBER_OF_FRAMES is set to 10, and a 5-frame source image buffer is passed, you can call MimLocatePeak1d() 2 times to process the total number of frames. Note that, in this example case, the 2 calls need not be successive. You can retrieve results using MimGetResultSingle() at any time after a MimLocatePeak1d() operation. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize Value >= 1

Specifies the number of frames.

Click to summarize M_NUMBER_OF_PEAKS

Sets the maximum number of peaks to find along a given lane. If more than the specified number of peaks are found, the highest peaks are kept. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize Value >= 0

Specifies the number of peaks. Only integer values accepted.

(summarize)
Click to summarize M_PEAK_INTENSITY_RANGE

Sets the number of pixels used to calculate the average peak intensity. The pixels are chosen around the peak intensity pixel. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 10.

Click to summarize Value >= 0

Specifies the number of pixels.

Click to summarize M_PEAK_WIDTH_DELTA

Sets the number of pixels that can be added to or subtracted from the nominal width, when determining the range of allowable widths of the peak neighborhood.

This control type is intended to adjust how M3dmapAddScan() internally processes laser line images. When using MimLocatePeak1d(), you typically set the value using the function's parameters; this control type only sets the default value used by the function. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 20.

Click to summarize Value >= 0

Specifies the number of pixels.

Click to summarize M_PEAK_WIDTH_NOMINAL

Sets the nominal (expected average) width of the peak neighborhood. In laser line images, this is the average width of the laser line.

This control type is intended to adjust how M3dmapAddScan() internally processes laser line images. When using MimLocatePeak1d(), you typically set the value using the function's parameters; this control type only sets the default value used by the function. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 20.

Click to summarize Value >= 0

Specifies the number of pixels.

Click to summarize M_SCAN_LANE_DIRECTION

Sets the direction in which to detect peaks. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_VERTICAL.

Click to summarize M_HORIZONTAL

Detects peaks along the image's X-axis.

Typically for laser line images with a vertical laser line.

(summarize)
Click to summarize M_VERTICAL

Detects peaks along the image's Y-axis.

Typically for laser line images with a horizontal laser line.

(summarize)
Click to summarize Locate peak 1D image processing result ID

Specifies a locate peak 1D image processing result buffer, allocated using MimAllocResult() with M_LOCATE_PEAK_1D_RESULT, and used in MimLocatePeak1d() operations.

(summarize)
Click to summarize M_SORT_CRITERION

Sets the quality with which to sort peaks. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default; the default is M_PEAK_INTENSITY + M_SORT_DOWN. Note that M_SORT_DOWN is not the default sort order when explicitly specifying the sort criterion.

(summarize)
Click to summarize M_PEAK_INTENSITY +

Orders peaks according to their intensity.

Click to summarize M_PEAK_POSITION +

Orders peaks according to their position.

Click to summarize Match image processing context ID

Specifies a match image processing context, allocated using MimAlloc() with M_MATCH_CONTEXT, and used in MimMatch() operations.

(summarize)
Click to summarize M_MASK_IMAGE

Sets the image buffer containing the mask image. All non-zero values are considered masked pixels that will be ignored during the match.

(summarize)
Click to summarize MaskImageId

Specifies the identifier of the image buffer containing the mask image.

This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

(summarize)
Click to summarize M_MAX_SCORE

Sets the maximum score when performing a match using the normalized grayscale correlation mode. When using other matching modes, this control type is ignored.

This control type causes MIL to linearly remap the range of the internal match results to the range established, from the lowest possible value to the maximum score specified. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_MAX_DEPTH.

Click to summarize M_MAX_DEPTH

Specifies to establish the maximum score based on the pixel depth of the destination buffer (for example, when dealing with a 16-bit signed buffer, the maximum value would be 32, 767). Note that, when using floating-point destination buffers, the range is [-1, 1]; unless you use a clipping score type (using M_SCORE_TYPE set to either M_NORM_CLIP or M_NORM_CLIP_SQR), in which case the range is [0, 1].

(summarize)
Click to summarize Value

Specifies the maximum score. This score can be any positive value less than the maximum predetermined by the destination buffer's pixel depth.

(summarize)
Click to summarize M_MODE

Sets the type of computation to perform when matching the source image to the model image. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_CORRELATE_NORMALIZED.

Click to summarize M_ABS_SUM_OF_DIFFERENCES

Computes the absolute sum of the differences.

Click to summarize M_CORRELATE

Computes a grayscale correlation.

Click to summarize M_CORRELATE_NORMALIZED

Computes a normalized grayscale correlation.

Click to summarize M_MODEL_IMAGE

Sets the image buffer containing the model image.

(summarize)
Click to summarize ModelImageId

Specifies the identifier of the image buffer containing the model image. Note that this buffer must be an 8-bit unsigned image buffer.

This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.

(summarize)
Click to summarize M_MODEL_STEP

Sets whether to use every pixel or every other pixel in the model image when matching the source image to the model image. INQ

(summarize)
Click to summarize M_DEFAULT

Same as 1.

Click to summarize 1

Specifies to take every pixel (on both axes) to compute the match.

Click to summarize 2

Specifies to take every other pixel (on both axes) to compute the match.

Click to summarize M_SCORE_TYPE

Sets how to compute the final correlation score. Note that this control type is only used when performing a match using normalized grayscale correlation mode (using M_MODE set to M_CORRELATE_NORMALIZED). INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NORM_CLIP_SQR.

Click to summarize M_NORM

Specifies to use normalized grayscale correlation to compute the final match score.

Click to summarize M_NORM_CLIP

Specifies to clip the results from a normalized grayscale correlation when computing the final correlation score. The calculation used is the same as M_NORM, but any value less than 0 is clipped (that is, recorded as 0).

(summarize)
Click to summarize M_NORM_CLIP_SQR

Specifies to clip the results from the square of the normalized grayscale correlation when computing the final correlation score. The calculation used is the same as M_SQR_NORM, but any value less than 0 is clipped (that is, recorded as 0).

(summarize)
Click to summarize M_SQR_NORM

Specifies to use the square of the normalized grayscale correlation to compute the final correlation score.

Click to summarize Rearrangement image processing context ID

Specifies a rearrangement image processing context, allocated using MimAlloc() with M_REARRANGE_CONTEXT, and used in MimRearrange() operations.

(summarize)
Click to summarize M_MODE

Sets the processing mode. INQ

(summarize)
Click to summarize M_LINES

Specifies that each area to be rearranged is a single horizontal line.

Click to summarize M_RECTS

Specifies that each area to be rearranged is a single rectangle.

Click to summarize Statistics image processing context ID

Specifies a statistics image processing context, allocated using MimAlloc() with M_STATISTICS_CONTEXT, and used by MimStatCalculate() as the operation to perform.

Note, use multiple calls to this function to enable multiple statistical operations. Enabling fewer statistics will help increase the speed of the operation.

(summarize)
Click to summarize M_COND_HIGH

Sets the upper limit of the selected condition (set using M_CONDITION) that establishes which pixels to include in the statistical operation(s). INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies that there is no upper limit.

Click to summarize Value

Specifies the upper limit.

Click to summarize M_COND_LOW

Sets the lower limit of the selected condition (set using M_CONDITION) that establishes which pixels to include in the statistical operation(s). INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies that there is no lower limit.

Click to summarize Value

Specifies the lower limit.

Click to summarize M_CONDITION

Sets the condition for the statistical computation that establishes which pixels to include in the statistical operation(s). INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies that no condition is set. Note that, all pixels will be used for statistical calculations.

(summarize)
Click to summarize M_EQUAL

Specifies that only pixels with values equal to M_COND_LOW will be used for statistical calculations.

Click to summarize M_GREATER

Specifies that only pixels with values greater than M_COND_LOW will be used for statistical calculations.

Click to summarize M_GREATER_OR_EQUAL

Specifies that only pixels with values greater than or equal to M_COND_LOW will be used for statistical calculations.

Click to summarize M_IN_RANGE

Specifies that pixels with values between M_COND_LOW and M_COND_HIGH, inclusive, will be used for statistical calculations.

Click to summarize M_LESS

Specifies that only pixels with values less than M_COND_LOW will be used for statistical calculations.

Click to summarize M_LESS_OR_EQUAL

Specifies that only pixels with values less than or equal to M_COND_LOW will be used for statistical calculations.

Click to summarize M_NOT_EQUAL

Specifies that pixels with values equal to M_COND_LOW will be not used for statistical calculations.

Click to summarize M_OUT_RANGE

Specifies that pixels with values less than M_COND_LOW, or greater than M_COND_HIGH, will be used for statistical calculations.

Click to summarize M_GLCM_PAIR_OFFSET_X

Sets the displacement in X between pixel pairs used to generate the co-occurrence matrix.

Note that this control type is only valid when calculating co-occurrence statistics (M_STAT_GLCM_...). When used with any other statistic, this control type is ignored. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize Value

Specifies the displacement in X.

Click to summarize M_GLCM_PAIR_OFFSET_Y

Sets the displacement in Y between pixel pairs used to generate the co-occurrence matrix.

Note that this control type is only valid when calculating co-occurrence statistics (M_STAT_GLCM_...). When used with any other statistic, this control type is ignored. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value

Specifies the displacement in Y.

Click to summarize M_GLCM_QUANTIFICATION

Sets the depth of the gray level of the co-occurrence matrix.

Note that this control type is only valid when calculating co-occurrence statistics (M_STAT_GLCM_...). When used with any other statistic, this control type is ignored. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 8 bit.

Click to summarize 1 <= Value <= 10

Specifies the depth. If the depth is set to a value greater than 10, the co-occurrence matrix is rescaled to 10 bits.

(summarize)
Click to summarize M_SOURCE_SIZE_X

Sets the X-size of the typical source image. Note that, you should set this control only when using MimStatCalculate() with M_PREPROCESS, and when not providing a source buffer. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the width is not set.

Click to summarize Width

Specifies the width, in pixels.

Click to summarize M_SOURCE_SIZE_Y

Sets the Y-size of the typical source image. Note that, you should use this control only when using MimStatCalculate() with M_PREPROCESS, and when not providing a source buffer. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the height is not set.

Click to summarize Height

Specifies the height, in pixels.

Click to summarize M_STAT_ANGULAR_DATA_COHERENCE

Calculates the coherence of the angular data. The coherence represents the directional trend of all the angular data in the image and is a measure of how coherent or parallel the unit vectors are with respect to each other. The coherence is calculated as the ratio between the length (norm) of the vector sum and its maximum possible length (which corresponds to the number of pixels being considered, since each pixel is presumed to have a length of one). Numerically, this quantity lies between 0 and 1, where 0 represents absolutely no coherence (unit vectors pointing in random directions) and 1 is total coherence (unit vectors pointing in same direction). INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_ANGULAR_DATA_MEAN

Sets whether to calculate the dominant direction of the unit vectors. This angle is a representation of the mean (or average) angle of all the angular data.

Note that to obtain more representative results, the mean angle should be analyzed in context with the coherence. For example, if your image has a coherence of 0.1 and a mean angle of 65°, the mean angle is not very meaningful because the unit vectors are pointing in random, incoherent directions. However, if your image has a coherence of 0.9 and a mean angle of 65°, this indicates that the unit vectors are more or less pointing in the same direction and their average value is around 65°. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_GLCM_CONTRAST

Sets whether to calculate the contrast of all the grayscale pixel values within a specified neighborhood in relation to the normalized co-occurrence probability of each pixel.

Define the neighborhood using M_GLCM_PAIR_OFFSET_X, M_GLCM_PAIR_OFFSET_Y, M_GLCM_QUANTIFICATION, M_TILE_SIZE_X, and M_TILE_SIZE_Y.

Note that the image on which the calculation is performed must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_GLCM_CORRELATION

Sets whether to measure the local variations in the grayscale co-occurrence matrix.

Define the neighborhood using M_GLCM_PAIR_OFFSET_X, M_GLCM_PAIR_OFFSET_Y, M_GLCM_QUANTIFICATION, M_TILE_SIZE_X, and M_TILE_SIZE_Y.

Note that the image on which the calculation is performed must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_GLCM_DISSIMILARITY

Sets whether to measures the joint probability co-occurrence. The result determines how close your data comes to forming a straight line.

Define the neighborhood using M_GLCM_PAIR_OFFSET_X, M_GLCM_PAIR_OFFSET_Y, M_GLCM_QUANTIFICATION, M_TILE_SIZE_X, and M_TILE_SIZE_Y.

Note that the image on which the calculation is performed must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_GLCM_ENERGY

Sets whether to calculate the energy between two points in the gray level co-occurrence matrix of a given neighborhood. The energy is the pixel value of the cell divided by the sum of the value of the cells in the neighborhood.

Define the neighborhood using M_GLCM_PAIR_OFFSET_X, M_GLCM_PAIR_OFFSET_Y, M_GLCM_QUANTIFICATION, M_TILE_SIZE_X, and M_TILE_SIZE_Y.

Note that the image on which the calculation is performed must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_GLCM_ENTROPY

Sets whether to calculate the inverse of the energy between two points in the normalized co-occurrence probability of a specified neighborhood.

Define the neighborhood using M_GLCM_PAIR_OFFSET_X, M_GLCM_PAIR_OFFSET_Y, M_GLCM_QUANTIFICATION, M_TILE_SIZE_X, and M_TILE_SIZE_Y.

Note that the image on which the calculation is performed must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_GLCM_HOMOGENEITY

Sets whether to calculate the similarity between the normalized co-occurrence probability and the gray level co-occurrence matrix of a given neighborhood. Homogeneity weighs values by the inverse of the contrast weight, with weights decreasing exponentially away from the diagonal.

Define the neighborhood using M_GLCM_PAIR_OFFSET_X, M_GLCM_PAIR_OFFSET_Y, M_GLCM_QUANTIFICATION, M_TILE_SIZE_X, and M_TILE_SIZE_Y.

Note that the image on which the calculation is performed must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MAX

Sets whether to calculate the maximum pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MAX_ABS

Sets whether to calculate the maximum absolute pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MEAN

Sets whether to calculate the mean value of the pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MIN

Sets whether to calculate the minimum pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_MIN_ABS

Sets whether to calculate the minimum absolute pixel value from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_NUMBER

Sets whether to keep track of the number of pixels, from the source image, that satisfied the condition specified when calling MimStatCalculate(). INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to keep track.

Click to summarize M_ENABLE

Specifies to keep track.

Click to summarize M_STAT_ORIENTATION_DATA_COHERENCE

Sets whether to calculate the coherence of the orientation data. The coherence represents the directional trend of all the orientation data in the image and is a measure of how coherent or parallel the orientation of the unit vectors are with respect to each other. The coherence is calculated as the ratio between the length (norm) of the vector sum and its maximum possible length (which corresponds to the number of pixels being considered, since each pixel is presumed to have a length of one). Numerically, this quantity lies between 0 and 1, where 0 represents absolutely no coherence (unit vectors pointing in random directions) and 1 is total coherence (unit vectors pointing in same direction). INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_ORIENTATION_DATA_MEAN

Sets whether to calculate the dominant orientation of the unit vectors. The orientation of a unit vector is its inclination, without its direction; if two unit vectors have opposite directions (for example, an angle of 0° and 180°), they have the same orientation (0°). Calculating the dominant orientation using unit vectors with opposite directions (0° and 180°) would result in the magnitude of their vector sum being double the original value (2) and a dominant orientation of 0°. Whereas, calculating the dominant orientation using two unit vectors that are separated by 90° (for example, an angle of 0° and 90°) would result in the magnitude of their vector sum being 0, effectively canceling each other out (no dominant orientation), and an invalid orientation angle. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_STANDARD_DEVIATION

Sets whether to calculate the standard deviation from the value of each pixel location across the source image. Note that MIL calculates the standard deviation using the following formula: INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_SUM

Sets whether to calculate the sum of the pixel values from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_SUM_ABS

Sets whether to calculate the sum of the absolute pixel values from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STAT_SUM_OF_SQUARES

Sets whether to calculate the sum of the squared pixel values from each pixel location across the source image. INQ

(summarize)
Click to summarize M_DISABLE

Specifies not to perform this statistical operation.

Click to summarize M_ENABLE

Specifies to perform this statistical operation.

Click to summarize M_STEP_SIZE_X

Sets the distance between the neighborhood along the X-axis in which to evaluate the specified statistic. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Width

Specifies the width of the neighborhood, in pixels.

Click to summarize M_STEP_SIZE_Y

Sets the distance between the neighborhood along the Y-axis in which to evaluate the specified statistic. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Height

Specifies the height of the neighborhood, in pixels.

Click to summarize M_TILE_SIZE_X

Sets the X-size (width) of the neighborhood in which to evaluate the specified statistic. INQ

(summarize)
Click to summarize Width

Specifies the width of the neighborhood.

Click to summarize M_TILE_SIZE_Y

Sets the Y-size (height) of the neighborhood in which to evaluate the specified statistic. INQ

(summarize)
Click to summarize Height

Specifies the height of the neighborhood.

Click to summarize Wavelet image processing context ID

Specifies a wavelet image processing context, allocated using MimAlloc() with M_WAVELET_TRANSFORM_CONTEXT or M_WAVELET_TRANSFORM_CUSTOM_CONTEXT, and used in MimWaveletTransform() or MimWaveletDenoise() operations. Unless otherwise specified, settings apply to both M_WAVELET_TRANSFORM_CONTEXT and M_WAVELET_TRANSFORM_CUSTOM_CONTEXT context types.

(summarize)
Click to summarize M_TRANSFORMATION_MODE

Sets the wavelet transformation mode. Modifying the transformation mode can affect how MIL samples the data and produces the wavelet results (for example, the diagonal, horizontal, and vertical coefficients). INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DYADIC.

Click to summarize M_DYADIC

Specifies a dyadic wavelet transformation. For each transformation level, MIL samples the wavelet coefficients by a factor of 2. For example, when drawing dyadic results, they are at different sizes, at different levels. Dyadic transformations generally apply to signal coding and data compression. Performing MimWaveletDenoise() with M_DYADIC is typically faster than M_UNDECIMATED, though the quality of denoising is usually lower. In general, M_DYADIC uses less resources (processing time and memory) than M_UNDECIMATED.

(summarize)
Click to summarize M_UNDECIMATED +

Specifies an undecimated wavelet transformation. Such transformations are designed to overcome the lack of invariance between transformation levels in dyadic wavelet transformations. For example, when drawing undecimated results, they are at the same size regardless of the level. Undecimated transformations generally apply to signal denoising and pattern recognition. Performing MimWaveletDenoise() with M_UNDECIMATED is typically slower than M_DYADIC, though the quality of denoising is usually higher. In general, M_UNDECIMATED uses more resources (processing time and memory) than M_DYADIC.

(summarize)
Click to summarize M_WAVELET_TYPE

Sets a predefined type of wavelet filter. Only available if the context type is M_WAVELET_TRANSFORM_CONTEXT. The mathematical domain of complex filter types (M_..._COMPLEX) consists of numbers that have a real part (real numbers) and an imaginary part (imaginary numbers). The mathematical domain of filter types that are not complex consist of real numbers only. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_HAAR.

Click to summarize M_DAUBECHIES_1

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

Click to summarize M_DAUBECHIES_2

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

Click to summarize M_DAUBECHIES_3

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

Click to summarize M_DAUBECHIES_3_COMPLEX

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

Click to summarize M_DAUBECHIES_4

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

Click to summarize M_DAUBECHIES_5

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

Click to summarize M_DAUBECHIES_5_COMPLEX

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

Click to summarize M_DAUBECHIES_6

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

Click to summarize M_DAUBECHIES_7

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

Click to summarize M_DAUBECHIES_7_COMPLEX

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

Click to summarize M_DAUBECHIES_8

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

Click to summarize M_HAAR

Specifies a Haar wavelet filter. Haar uses real coefficients.

(summarize)
Click to summarize M_SYMLET_1

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

Click to summarize M_SYMLET_2

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

Click to summarize M_SYMLET_3

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

Click to summarize M_SYMLET_4

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

Click to summarize M_SYMLET_5

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

Click to summarize M_SYMLET_6

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

Click to summarize M_SYMLET_7

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

Click to summarize M_SYMLET_8

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

Combination value for M_AUG_ASPECT_RATIO_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_BLUR_MOTION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_CROP_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_DILATION_ASYM_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_DILATION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_EROSION_ASYM_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_EROSION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_FLIP_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_GAMMA_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_HSV_VALUE_GAIN_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_HUE_OFFSET_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_INTENSITY_ADD_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_INTENSITY_MULTIPLY_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_LIGHTING_DIRECTIONAL_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_NOISE_MULTIPLICATIVE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_NOISE_SALT_PEPPER_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_ROTATION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SATURATION_GAIN_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SCALE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SHARPEN_DERICHE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SHEAR_X_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SHEAR_Y_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SMOOTH_DERICHE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SMOOTH_GAUSSIAN_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_TRANSLATION_X_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_TRANSLATION_Y_OP (when ContextOrResultImId=Augmentation context ID).

You can add the following value to the above-mentioned values to specify the priority (order) with which MimAugment() performs the corresponding operation. Alternatively, you can add a value from For specifying the probability that MimAugment() performs the corresponding operation.

function map For specifying the priority (order) with which MimAugment() performs the corresponding operation
Click to summarize
ControlType
Description
ControlValue
Click to summarize M_PRIORITY

Sets the priority (order) with which MimAugment() performs the corresponding operation. This overrides the default priority that MimAugment() uses.

(summarize)
Click to summarize 0 <= Value <= 100

Specifies the priority (order) value. Operations with lower priority (order) values are performed before operations with higher priority (order) values. If multiple operations have the same priority (order) value, MimAugment() internally chooses the priority (order).

(summarize)
Combination value for M_AUG_ASPECT_RATIO_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_BLUR_MOTION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_CROP_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_DILATION_ASYM_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_DILATION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_EROSION_ASYM_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_EROSION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_FLIP_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_GAMMA_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_HSV_VALUE_GAIN_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_HUE_OFFSET_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_INTENSITY_ADD_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_INTENSITY_MULTIPLY_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_LIGHTING_DIRECTIONAL_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_NOISE_GAUSSIAN_ADDITIVE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_NOISE_MULTIPLICATIVE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_NOISE_SALT_PEPPER_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_ROTATION_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SATURATION_GAIN_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SCALE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SHARPEN_DERICHE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SHEAR_X_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SHEAR_Y_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SMOOTH_DERICHE_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_SMOOTH_GAUSSIAN_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_TRANSLATION_X_OP (when ContextOrResultImId=Augmentation context ID); M_AUG_TRANSLATION_Y_OP (when ContextOrResultImId=Augmentation context ID).

You can add the following value to the above-mentioned values to specify the probability that MimAugment() performs the corresponding operation. Alternatively, you can add a value from For specifying the priority (order) with which MimAugment() performs the corresponding operation.

function map For specifying the probability that MimAugment() performs the corresponding operation
Click to summarize
ControlType
Description
ControlValue
Click to summarize M_PROBABILITY

Sets the probability that MimAugment() performs the corresponding operation.

(summarize)
Click to summarize 0.0 <= Value <= 100.0

Specifies the probability, in percent.

Combination value for M_UNDECIMATED (when ContextOrResultImId=Wavelet image processing context ID, and ControlType=M_TRANSFORMATION_MODE, and ControlValue=M_UNDECIMATED).

You can add the following value to the above-mentioned value to specify undecimated wavelet transformations that are centered.

function map For specifying whether undecimated wavelet transformations are centered
Click to summarize
Combination value
Description
Click to summarize M_CENTER

Specifies undecimated wavelet transformations that are centered. Undecimated wavelet transformations that are not centered can appear misaligned (for example, when drawing results).

(summarize)
Combination values for M_PEAK_INTENSITY (when ContextOrResultImId=Locate peak 1D image processing result ID, and ControlType=M_SORT_CRITERION, and ControlValue=M_PEAK_INTENSITY); M_PEAK_POSITION (when ContextOrResultImId=Locate peak 1D image processing result ID, and ControlType=M_SORT_CRITERION, and ControlValue=M_PEAK_POSITION).

You can add one of the following values to the above-mentioned values to specify the order to sort peaks.

function map For specifying the order to sort peaks
Click to summarize
Combination value
Description
Click to summarize M_SORT_DOWN

Sorts peaks in descending order.

Click to summarize M_SORT_UP

Sorts peaks in ascending order.

This is the default value.

(summarize)
Remark
  • [MIL-Lite]
    Note that some of the values listed above are not available in MIL-Lite. See the value's corresponding operation function for MIL-Lite availability.
Type-specific versions of the function when using a C compiler under 64-bit
void MimControlDouble (MIL_ID ContextOrResultImId, MIL_INT64 ControlType, MIL_DOUBLE ControlValue)
Parameters

ContextOrResultImId

See ContextOrResultImId of the main function for a description.

ControlType

See ControlType of the main function for a description.

ControlValue

See ControlValue of the main function for a description.

void MimControlInt64 (MIL_ID ContextOrResultImId, MIL_INT64 ControlType, MIL_INT64 ControlValue)
Parameters

ContextOrResultImId

See ContextOrResultImId of the main function for a description.

ControlType

See ControlType of the main function for a description.

ControlValue

See ControlValue of the main function for a description.

Compilation information
Header Include mil.h.
Library Use mil.lib; milim.lib.
DLL Requires mil.dll; milim.dll.
BINARIZE ADAPTIVE CONTEXT AVERAGE MODE DEFAULT GAUSSIAN UNIFORM FOREGROUND VALUE DEFAULT FOREGROUND BLACK FOREGROUND WHITE GLOBAL MAX DEFAULT GLOBAL MIN DEFAULT GLOBAL OFFSET DEFAULT GLOBAL OFFSET SECOND PASS DEFAULT LOCAL DIMENSION DEFAULT MINIMUM CONTRAST DEFAULT NIBLACK BIAS DEFAULT NIBLACK BIAS SECOND PASS DEFAULT THRESHOLD MODE DEFAULT BERNSEN LOCAL MEAN NIBLACK PSEUDOMEDIAN THRESHOLD TYPE DEFAULT HYSTERESIS IN RANGE OUT RANGE SINGLE BINARIZE ADAPTIVE FROM SEED CONTEXT FOREGROUND VALUE DEFAULT FOREGROUND BLACK FOREGROUND WHITE GLOBAL OFFSET DEFAULT NB ITERATIONS DEFAULT TO IDEMPOTENCE NB SEED ITERATIONS DEFAULT THRESHOLD MODE DEFAULT LEVEL RECONSTRUCT TOGGLE AUGMENTATION CONTEXT AUG ASPECT RATIO OP DEFAULT DISABLE ENABLE AUG ASPECT RATIO OP MAX DEFAULT AUG ASPECT RATIO OP MIN DEFAULT AUG ASPECT RATIO OP MODE DEFAULT BOTH INVERT NORMAL AUG BLUR MOTION OP DEFAULT DISABLE ENABLE AUG BLUR MOTION OP ANGLE MAX DEFAULT AUG BLUR MOTION OP ANGLE MIN DEFAULT AUG BLUR MOTION OP SIZE MAX DEFAULT AUG BLUR MOTION OP SIZE MIN DEFAULT AUG CROP OP DEFAULT DISABLE ENABLE AUG CROP OP FACTOR X DEFAULT AUG CROP OP FACTOR Y DEFAULT AUG CROP OP RESIZE DEFAULT FALSE TRUE AUG DILATION ASYM OP DEFAULT DISABLE ENABLE AUG DILATION ASYM OP NB ITERATIONS MAX DEFAULT AUG DILATION OP DEFAULT DISABLE ENABLE AUG DILATION OP NB ITERATIONS MAX DEFAULT AUG EROSION ASYM OP DEFAULT DISABLE ENABLE AUG EROSION ASYM OP NB ITERATIONS MAX DEFAULT AUG EROSION OP DEFAULT DISABLE ENABLE AUG EROSION OP NB ITERATIONS MAX DEFAULT AUG FLIP OP DEFAULT DISABLE ENABLE AUG FLIP OP DIRECTION DEFAULT BOTH FLIP HORIZONTAL FLIP VERTICAL AUG GAMMA OP DEFAULT DISABLE ENABLE AUG GAMMA OP DELTA DEFAULT AUG GAMMA OP MODE DEFAULT ALL BANDS PER BAND AUG GAMMA OP VALUE DEFAULT AUG HSV VALUE GAIN OP DEFAULT DISABLE ENABLE AUG HSV VALUE GAIN OP MAX DEFAULT AUG HSV VALUE GAIN OP MIN DEFAULT AUG HUE OFFSET OP DEFAULT DISABLE ENABLE AUG HUE OFFSET OP MAX DEFAULT AUG HUE OFFSET OP MIN DEFAULT AUG INTENSITY ADD OP DEFAULT DISABLE ENABLE AUG INTENSITY ADD OP DELTA DEFAULT AUTO VALUE AUG INTENSITY ADD OP MODE DEFAULT LUMINANCE RGB AUG INTENSITY ADD OP VALUE DEFAULT AUG INTENSITY MULTIPLY OP DEFAULT DISABLE ENABLE AUG INTENSITY MULTIPLY OP DELTA DEFAULT AUG INTENSITY MULTIPLY OP MODE DEFAULT LUMINANCE RGB AUG INTENSITY MULTIPLY OP VALUE DEFAULT AUG LIGHTING DIRECTIONAL OP DEFAULT DISABLE ENABLE AUG LIGHTING DIRECTIONAL OP ANGLE MAX DEFAULT AUG LIGHTING DIRECTIONAL OP INTENSITY MAX DEFAULT AUG LIGHTING DIRECTIONAL OP INTENSITY MIN DEFAULT AUG NOISE GAUSSIAN ADDITIVE OP DEFAULT DISABLE ENABLE AUG NOISE GAUSSIAN ADDITIVE OP STDDEV DEFAULT AUTO VALUE AUG NOISE GAUSSIAN ADDITIVE OP STDDEV DELTA DEFAULT AUTO VALUE AUG NOISE MULTIPLICATIVE OP DEFAULT DISABLE ENABLE AUG NOISE MULTIPLICATIVE OP DISTRIBUTION DEFAULT GAUSSIAN UNIFORM AUG NOISE MULTIPLICATIVE OP INTENSITY MIN DEFAULT AUG NOISE MULTIPLICATIVE OP STDDEV DEFAULT AUG NOISE MULTIPLICATIVE OP STDDEV DELTA DEFAULT AUG NOISE SALT PEPPER OP DEFAULT DISABLE ENABLE AUG NOISE SALT PEPPER OP DENSITY DEFAULT AUG NOISE SALT PEPPER OP DENSITY DELTA DEFAULT AUG RNG INIT VALUE DEFAULT AUG ROTATION OP DEFAULT DISABLE ENABLE AUG ROTATION OP ANGLE DELTA DEFAULT AUG ROTATION OP ANGLE MAX DEFAULT AUG ROTATION OP ANGLE MIN DEFAULT AUG ROTATION OP ANGLE REF DEFAULT AUG ROTATION OP ANGLE STEP DEFAULT AUG SATURATION GAIN OP DEFAULT DISABLE ENABLE AUG SATURATION GAIN OP MAX DEFAULT AUG SATURATION GAIN OP MIN DEFAULT AUG SCALE OP DEFAULT DISABLE ENABLE AUG SCALE OP FACTOR MAX DEFAULT AUG SCALE OP FACTOR MIN DEFAULT AUG SEED MODE DEFAULT RNG AUTO RNG INIT VALUE USER DEFINED SEED AUG SHARPEN DERICHE OP DEFAULT DISABLE ENABLE AUG SHARPEN DERICHE OP FACTOR MAX DEFAULT AUG SHARPEN DERICHE OP FACTOR MIN DEFAULT AUG SHEAR X OP DEFAULT DISABLE ENABLE AUG SHEAR X OP MAX DEFAULT AUG SHEAR X OP MIN DEFAULT AUG SHEAR Y OP DEFAULT DISABLE ENABLE AUG SHEAR Y OP MAX DEFAULT AUG SHEAR Y OP MIN DEFAULT AUG SMOOTH DERICHE OP DEFAULT DISABLE ENABLE AUG SMOOTH DERICHE OP FACTOR MAX DEFAULT AUG SMOOTH DERICHE OP FACTOR MIN DEFAULT AUG SMOOTH GAUSSIAN OP DEFAULT DISABLE ENABLE AUG SMOOTH GAUSSIAN OP STDDEV MAX DEFAULT AUG SMOOTH GAUSSIAN OP STDDEV MIN DEFAULT AUG TRANSLATION X OP DEFAULT DISABLE ENABLE AUG TRANSLATION X OP MAX DEFAULT AUG TRANSLATION Y OP DEFAULT DISABLE ENABLE AUG TRANSLATION Y OP MAX DEFAULT STATISTICS CUMULATIVE CONTEXT SOURCE SIZE X DEFAULT NULL SOURCE SIZE Y DEFAULT NULL STAT MAX DISABLE ENABLE STAT MAX ABS DISABLE ENABLE STAT MEAN DISABLE ENABLE STAT MIN DISABLE ENABLE STAT MIN ABS DISABLE ENABLE STAT NUMBER DISABLE ENABLE STAT STANDARD DEVIATION DISABLE ENABLE STAT SUM DISABLE ENABLE STAT SUM ABS DISABLE ENABLE STAT SUM OF SQUARES DISABLE ENABLE DEAD PIXEL CONTEXT DEAD PIXELS PROC NONE INTERPOLATION MODE DEFAULT AVERAGE DEINTERLACE CONTEXT DEINTERLACE TYPE DEFAULT ADAPTIVE AVERAGE ADAPTIVE BOB ADAPTIVE DISCARD AVERAGE BOB DISCARD DISCARD FIELD DEFAULT EVEN FIELD ODD FIELD FIRST FIELD DEFAULT EVEN FIELD ODD FIELD MOTION DETECT NUM FRAMES DEFAULT MOTION DETECT OUTPUT DEFAULT DISABLE ENABLE MOTION DETECT REFERENCE FRAME DEFAULT CENTER FRAME FIRST FRAME LAST FRAME MOTION DETECT NUM FRAMES MOTION DETECT THRESHOLD SOURCE FIRST IMAGE DEFAULT RESULT OUTPUT UNITS DEFAULT ACCORDING TO CALIBRATION PIXEL WORLD FIND ORIENTATION CONTEXT BORDER ATTENUATION DEFAULT DISABLE ENABLE FREQUENCY CUTOFF RATIO HIGH DEFAULT FREQUENCY CUTOFF RATIO LOW DEFAULT INTERPOLATION MODE DEFAULT AVERAGE BICUBIC BILINEAR INTERPOLATE MAX MIN NEAREST NEIGHBOR MODE DEFAULT CLIP CENTER RESIZE DOWN RESIZE UP FLAT FIELD CONTEXT DARK CONST DARK IMAGE UNSIGNED PROC NONE FLAT CONST FLAT IMAGE UNSIGNED PROC NONE GAIN CONST AUTOMATIC OFFSET CONST OFFSET IMAGE UNSIGNED PROC NONE HISTOGRAM EQUALIZE ADAPTIVE CONTEXT ALPHA VALUE DEFAULT CLIP LIMIT DEFAULT HIST SIZE DEFAULT ACCORDING TO SOURCE NUMBER OF TILES X DEFAULT NUMBER OF TILES Y DEFAULT OPERATION DEFAULT EXPONENTIAL HYPER CUBE ROOT HYPER LOG RAYLEIGH UNIFORM HIST BIN SIZE MODE DEFAULT FIT SRC DATA FIT SRC RANGE FREEDMAN REGULAR HIST SMOOTHING ITERATIONS DEFAULT LINEAR FILTER IIR CONTEXT FILTER OPERATION DEFAULT FIRST DERIVATIVE X FIRST DERIVATIVE Y SECOND DERIVATIVE X SECOND DERIVATIVE XY SECOND DERIVATIVE Y SMOOTH FILTER RESPONSE TYPE DEFAULT SLOPE STEP FILTER SMOOTHNESS DEFAULT FILTER SMOOTHNESS TYPE DEFAULT NATIVE NORMALIZED SIZE FILTER TYPE DEFAULT DERICHE SHEN VLIET LOCATE PEAK 1D CONTEXT FRAME SIZE DEFAULT FULL SIZE MINIMUM CONTRAST DEFAULT NUMBER OF FRAMES DEFAULT NUMBER OF PEAKS DEFAULT PEAK INTENSITY RANGE DEFAULT PEAK WIDTH DELTA DEFAULT PEAK WIDTH NOMINAL DEFAULT SCAN LANE DIRECTION DEFAULT HORIZONTAL VERTICAL SORT CRITERION DEFAULT PEAK INTENSITY PEAK POSITION MATCH CONTEXT MASK IMAGE PROC NONE MAX SCORE DEFAULT MAX DEPTH MODE DEFAULT ABS SUM OF DIFFERENCES CORRELATE CORRELATE NORMALIZED MODEL IMAGE UNSIGNED PROC NONE MODEL STEP DEFAULT SCORE TYPE DEFAULT NORM NORM CLIP NORM CLIP SQR SQR NORM REARRANGE CONTEXT MODE LINES RECTS STATISTICS CONTEXT COND HIGH DEFAULT DISABLE COND LOW DEFAULT DISABLE CONDITION DEFAULT DISABLE EQUAL GREATER GREATER OR EQUAL IN RANGE LESS LESS OR EQUAL NOT EQUAL OUT RANGE GLCM PAIR OFFSET X DEFAULT GLCM PAIR OFFSET Y DEFAULT GLCM QUANTIFICATION DEFAULT SOURCE SIZE X DEFAULT SOURCE SIZE Y DEFAULT STAT ANGULAR DATA COHERENCE DISABLE ENABLE STAT ANGULAR DATA MEAN DISABLE ENABLE STAT GLCM CONTRAST DISABLE ENABLE STAT GLCM CORRELATION DISABLE ENABLE STAT GLCM DISSIMILARITY DISABLE ENABLE STAT GLCM ENERGY DISABLE ENABLE STAT GLCM ENTROPY DISABLE ENABLE STAT GLCM HOMOGENEITY DISABLE ENABLE STAT MAX DISABLE ENABLE STAT MAX ABS DISABLE ENABLE STAT MEAN DISABLE ENABLE STAT MIN DISABLE ENABLE STAT MIN ABS DISABLE ENABLE STAT NUMBER DISABLE ENABLE STAT ORIENTATION DATA COHERENCE DISABLE ENABLE STAT ORIENTATION DATA MEAN DISABLE ENABLE STAT STANDARD DEVIATION DISABLE ENABLE STAT SUM DISABLE ENABLE STAT SUM ABS DISABLE ENABLE STAT SUM OF SQUARES DISABLE ENABLE STEP SIZE X DEFAULT STEP SIZE Y DEFAULT TILE SIZE X TILE SIZE Y WAVELET TRANSFORM CONTEXT WAVELET TRANSFORM CUSTOM CONTEXT TRANSFORMATION MODE DEFAULT DYADIC UNDECIMATED WAVELET TYPE DEFAULT DAUBECHIES 1 DAUBECHIES 2 DAUBECHIES 3 DAUBECHIES 3 COMPLEX DAUBECHIES 4 DAUBECHIES 5 DAUBECHIES 5 COMPLEX DAUBECHIES 6 DAUBECHIES 7 DAUBECHIES 7 COMPLEX DAUBECHIES 8 HAAR SYMLET 1 SYMLET 2 SYMLET 3 SYMLET 4 SYMLET 5 SYMLET 6 SYMLET 7 SYMLET 8 PRIORITY PROBABILITY CENTER SORT DOWN SORT UP AUGMENTATION CONTEXT BINARIZE ADAPTIVE CONTEXT BINARIZE ADAPTIVE FROM SEED CONTEXT STATISTICS CUMULATIVE CONTEXT HISTOGRAM EQUALIZE ADAPTIVE CONTEXT DEAD PIXEL CONTEXT DEINTERLACE CONTEXT FIND ORIENTATION CONTEXT FLAT FIELD CONTEXT LINEAR FILTER IIR CONTEXT LOCATE PEAK 1D CONTEXT MATCH CONTEXT STATISTICS CONTEXT REARRANGE CONTEXT WAVELET TRANSFORM CONTEXT WAVELET TRANSFORM CUSTOM CONTEXT