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