MIL_ID ContextOrResultImId, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function allows you to control an image processing context or result buffer setting. All the control type settings can be inquired using MimInquire().
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.
Specifies the processing feature to control.
See the Parameter associations section for possible values that can be specified.
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.
For specifying the control type and
control value for an image processing context or result
buffer
|
|||||||||||||||||||||||||||||||||||||||
ContextOrResultImId |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlType | |||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
Adaptive binarize context ID |
Specifies an adaptive binarize context, allocated using MimAlloc() with M_BINARIZE_ADAPTIVE_CONTEXT, and used in MimBinarizeAdaptive() operations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_AVERAGE_MODE |
Sets how MIL establishes average pixel values that can be required to determine threshold values. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_UNIFORM. |
||||||||||||||||||||||||||||||||||||||
M_GAUSSIAN |
Specifies a Gaussian type average. |
||||||||||||||||||||||||||||||||||||||
M_UNIFORM |
Specifies a uniform type average. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_VALUE |
Sets whether the objects to binarize are lighter or darker than the background. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_FOREGROUND_WHITE. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_BLACK |
Specifies that the objects to binarize are darker than the background. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_WHITE |
Specifies that the objects to binarize are lighter than the background. |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_MAX |
Sets the maximum threshold value. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that there is no maximum threshold value restriction imposed by M_GLOBAL_MAX. |
||||||||||||||||||||||||||||||||||||||
Value > M_GLOBAL_MIN |
Specifies the maximum threshold value. |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_MIN |
Sets the minimum threshold value. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that there is no minimum threshold value restriction imposed by M_GLOBAL_MIN. |
||||||||||||||||||||||||||||||||||||||
Value < M_GLOBAL_MAX |
Specifies the minimum threshold value. |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_OFFSET |
Sets the offset to add to each threshold value. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset. |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_OFFSET_SECOND_PASS |
Sets the offset to apply to the threshold values for the second pass of an hysteresis adaptive binarization. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset. |
||||||||||||||||||||||||||||||||||||||
M_HYSTERESIS |
Specifies whether to perform the adaptive binarization using an hysteresis process. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that the adaptive binarization does not use an hysteresis process. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies that the adaptive binarization uses an hysteresis process. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_LOCAL_DIMENSION |
Specifies the size of the neighborhood that the threshold mode uses to establish threshold values. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 15 pixels. |
||||||||||||||||||||||||||||||||||||||
Value >= 1 |
Specifies the size of the neighborhood, in pixels. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MINIMUM_CONTRAST |
Sets the minimum contrast between background and foreground (object) pixels. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 5.0. |
||||||||||||||||||||||||||||||||||||||
Value >= 0.0 |
Specifies the minimum contrast. |
||||||||||||||||||||||||||||||||||||||
M_NIBLACK_BIAS |
Sets the bias for Niblack's binarization mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.2. |
||||||||||||||||||||||||||||||||||||||
Value >= 0.0 |
Specifies the bias. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NIBLACK_BIAS_SECOND_PASS |
Sets the bias for the second pass of a Niblack adaptive binarization that uses an hysteresis process. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.2. |
||||||||||||||||||||||||||||||||||||||
Value >= 0.0 |
Specifies the bias. |
||||||||||||||||||||||||||||||||||||||
M_THRESHOLD_MODE |
Sets how MIL establishes the threshold values with which to binarize the source image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NIBLACK. |
||||||||||||||||||||||||||||||||||||||
M_BERNSEN |
Specifies that threshold values are established using Bernsen's adaptive threshold algorithm. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_LOCAL_MEAN |
Specifies that threshold values are established using adaptive local mean calculations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NIBLACK |
Specifies that threshold values are established using Niblack's adaptive threshold algorithm. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PSEUDOMEDIAN |
Specifies that threshold values are established using adaptive pseudomedian calculations. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_VALUE |
Sets whether the objects to binarize are lighter or darker than the background. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_FOREGROUND_WHITE. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_BLACK |
Specifies that the objects to binarize are darker than the background. |
||||||||||||||||||||||||||||||||||||||
M_FOREGROUND_WHITE |
Specifies that the objects to binarize are lighter than the background. |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_OFFSET |
Sets the offset to add to each established threshold value. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset. |
||||||||||||||||||||||||||||||||||||||
M_NB_ITERATIONS |
Sets the number of times to perform the adaptive threshold process specified with M_THRESHOLD_MODE. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_TO_IDEMPOTENCE. |
||||||||||||||||||||||||||||||||||||||
M_TO_IDEMPOTENCE |
Specifies that the threshold process iterates until idempotence is reached. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the number of iterations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NB_SEED_ITERATIONS |
Sets the number of iterations with which to internally establish the seeds that the threshold mode requires. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 1. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the number of iterations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_THRESHOLD_MODE |
Sets how MIL uses seeds to establish the threshold values with which to binarize the source image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_RECONSTRUCT. |
||||||||||||||||||||||||||||||||||||||
M_LEVEL |
Specifies that threshold values are established using an adaptive leveling. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_RECONSTRUCT |
Specifies that threshold values are established using an adaptive geodesic reconstruction. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_TOGGLE |
Specifies that threshold values are established as one of two possibilities, defined by the seeds. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
Dead pixel mask image buffer ID |
Specifies identifier of the image buffer containing the dead pixel mask. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INTERPOLATION_MODE |
Sets the interpolation mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AVERAGE. |
||||||||||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||||||||||
Deinterlacing image processing context ID |
Specifies a deinterlacing image processing context, allocated using MimAlloc() with M_DEINTERLACE_CONTEXT, and used in MimDeinterlace() operations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEINTERLACE_TYPE |
Sets the deinterlacing algorithm to use. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISCARD. |
||||||||||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||||||||||
M_AVERAGE |
Performs the averaging algorithm. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_BOB |
Performs the bob algorithm. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISCARD |
Performs the discard algorithm. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISCARD_FIELD |
Sets the field to discard when using the M_DISCARD or M_ADAPTIVE_DISCARD algorithm. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_EVEN_FIELD. |
||||||||||||||||||||||||||||||||||||||
M_EVEN_FIELD |
Specifies that the even field is discarded. |
||||||||||||||||||||||||||||||||||||||
M_ODD_FIELD |
Specifies that the odd field is discarded. |
||||||||||||||||||||||||||||||||||||||
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 (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_EVEN_FIELD. |
||||||||||||||||||||||||||||||||||||||
M_EVEN_FIELD |
Specifies that the even field will be processed first. |
||||||||||||||||||||||||||||||||||||||
M_ODD_FIELD |
Specifies that the odd field will be processed first. |
||||||||||||||||||||||||||||||||||||||
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 (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 2. |
||||||||||||||||||||||||||||||||||||||
Value > 1 |
Specifies the number of frames. |
||||||||||||||||||||||||||||||||||||||
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). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that the output images are the deinterlaced images. |
||||||||||||||||||||||||||||||||||||||
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. |
||||||||||||||||||||||||||||||||||||||
M_MOTION_DETECT_REFERENCE_FRAME |
Sets the index of the frame to process within the group of frames that are used for motion detection. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_CENTER_FRAME. |
||||||||||||||||||||||||||||||||||||||
M_CENTER_FRAME |
Specifies that the center frame in the group is used as the reference frame. |
||||||||||||||||||||||||||||||||||||||
M_FIRST_FRAME |
Specifies that the first frame in the group is used as the reference frame. |
||||||||||||||||||||||||||||||||||||||
M_LAST_FRAME |
Specifies that the last frame in the group is used as the reference frame. |
||||||||||||||||||||||||||||||||||||||
0 <= Value < M_MOTION_DETECT_NUM_FRAMES |
Specifies the index of the frame relative to the first frame of the group. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MOTION_DETECT_THRESHOLD |
Sets the threshold value used to differentiate between pixels that are part of objects in motion and background pixels. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the threshold. |
||||||||||||||||||||||||||||||||||||||
M_SOURCE_FIRST_IMAGE |
Sets the index of the input image used to generate the first deinterlaced image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the index of the image in the source image array. |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_RESULT_OUTPUT_UNITS |
Sets whether to return results in pixels or world units. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ACCORDING_TO_CALIBRATION. |
||||||||||||||||||||||||||||||||||||||
M_ACCORDING_TO_CALIBRATION |
Specifies that results are returned in world units if the result was calculated on an image associated with a calibration context; otherwise, specifies that results are returned in pixel units. |
||||||||||||||||||||||||||||||||||||||
M_PIXEL |
Specifies that results are returned in pixel units, with respect to the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_WORLD |
Specifies that results are returned in world units, with respect to the relative coordinate system. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
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 (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that MimFindOrientation() cannot ignore the image's borders. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies that MimFindOrientation() can ignore the image's borders. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 95%. |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 5%. |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INTERPOLATION_MODE |
Sets the interpolation mode used to internally resize the source image if it is of an inappropriate size. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NEAREST_NEIGHBOR. |
||||||||||||||||||||||||||||||||||||||
M_AVERAGE |
Specifies averaging interpolation. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_BICUBIC |
Specifies bicubic interpolation. |
||||||||||||||||||||||||||||||||||||||
M_BILINEAR |
Specifies bilinear interpolation. |
||||||||||||||||||||||||||||||||||||||
M_INTERPOLATE |
Specifies interpolated resizing. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MAX |
Specifies an interpolation based on the maximum pixel value in the source image area. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MIN |
Specifies an interpolation based on the minimum pixel value in the source image area. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NEAREST_NEIGHBOR |
Specifies the nearest neighbor interpolation. |
||||||||||||||||||||||||||||||||||||||
M_MODE |
Sets the resizing mode used if the source image is of an inappropriate size. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_CLIP_CENTER. |
||||||||||||||||||||||||||||||||||||||
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). |
||||||||||||||||||||||||||||||||||||||
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). |
||||||||||||||||||||||||||||||||||||||
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). |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DARK_CONST |
Sets the dark constant value. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 65535 |
Specifies the constant. |
||||||||||||||||||||||||||||||||||||||
M_DARK_IMAGE |
Sets the identifier of the dark image. (more details...) |
||||||||||||||||||||||||||||||||||||||
DarkImageId |
Specifies the identifier of the image buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FLAT_CONST |
Sets the flat constant value. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 65535 |
Specifies the constant. |
||||||||||||||||||||||||||||||||||||||
M_FLAT_IMAGE |
Sets the identifier of the flat image. (more details...) |
||||||||||||||||||||||||||||||||||||||
FlatImageId |
Specifies the identifier of the image buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
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 (more details...) |
||||||||||||||||||||||||||||||||||||||
M_AUTOMATIC |
Specifies an automatic gain factor. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0.0 |
Specifies the gain factor. |
||||||||||||||||||||||||||||||||||||||
M_OFFSET_CONST |
Sets the offset constant value. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 65535 |
Specifies the constant. |
||||||||||||||||||||||||||||||||||||||
M_OFFSET_IMAGE |
Sets the identifier of the offset image. (more details...) |
||||||||||||||||||||||||||||||||||||||
OffsetImageId |
Specifies the identifier of the image buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ALPHA_VALUE |
Sets the adjustment factor for M_EXPONENTIAL and M_RAYLEIGH operations. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.4. |
||||||||||||||||||||||||||||||||||||||
Value >= 0.0 |
Specifies the adjustment factor. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CLIP_LIMIT |
Sets the maximum percentage of values that a tile's histogram bin can represent. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 1%. |
||||||||||||||||||||||||||||||||||||||
0.0 < Value <= 100.0 |
Specifies the maximum percentage. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_HIST_SIZE |
Sets the number of bins for each tile's histogram. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ACCORDING_TO_SOURCE. |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value >= 2 |
Specifies the number of bins for each tile's histogram. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_TILES_X |
Sets the number of tiles along the X-direction of the source image specified with MimHistogramEqualizeAdaptive(). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 8. |
||||||||||||||||||||||||||||||||||||||
Value >= 2 |
Specifies the number of tiles. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_TILES_Y |
Sets the number of tiles along the Y-direction of the source image specified with MimHistogramEqualizeAdaptive(). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 8. |
||||||||||||||||||||||||||||||||||||||
Value >= 2 |
Specifies the number of tiles. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_OPERATION |
Sets the equalization operation that MimHistogramEqualizeAdaptive() uses. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_UNIFORM. |
||||||||||||||||||||||||||||||||||||||
M_EXPONENTIAL |
Specifies an equalization density function which generates an Exponential distribution. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_HYPER_CUBE_ROOT |
Specifies an equalization density function which generates a Hyperbolic Cube Root distribution. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_HYPER_LOG |
Specifies an equalization density function which generates a Hyperbolic Logarithmic distribution. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_RAYLEIGH |
Specifies an equalization density function which generates a Rayleigh distribution. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNIFORM |
Specifies an equalization density function which generates a Uniform distribution. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_HIST_BIN_SIZE_MODE |
Sets the number of values each histogram bin can represent. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_REGULAR. |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FREEDMAN |
Specifies that MimHistogram() determines the resulting bin size according to the Freedman–Diaconis rule. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_REGULAR |
Specifies that each histogram bin can hold 1 value. |
||||||||||||||||||||||||||||||||||||||
M_HIST_SMOOTHING_ITERATIONS |
Sets the number of smoothing iterations to perform on the histogram after it has been generated. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the number of smoothing iterations. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 100. |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 255 |
Specifies the minimum contrast. |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_PEAKS |
Sets the maximum number of peaks to find along a given lane. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the number of peaks. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PEAK_INTENSITY_RANGE |
Sets the number of pixels used to calculate the average peak intensity. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 5. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the number of pixels. |
||||||||||||||||||||||||||||||||||||||
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. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 20. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the number of pixels. |
||||||||||||||||||||||||||||||||||||||
M_PEAK_WIDTH_NOMINAL |
Sets the nominal (expected average) width of the peak neighborhood. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 20. |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the number of pixels. |
||||||||||||||||||||||||||||||||||||||
M_SCAN_LANE_DIRECTION |
Sets the direction in which to detect peaks. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_VERTICAL. |
||||||||||||||||||||||||||||||||||||||
M_HORIZONTAL |
Detects peaks along the image's X-axis. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_VERTICAL |
Detects peaks along the image's Y-axis. (more details...) |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SORT_CRITERION |
Sets the quality with which to sort peaks. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT + |
Same as M_PEAK_INTENSITY. |
||||||||||||||||||||||||||||||||||||||
M_PEAK_INTENSITY + |
Orders peaks according to their intensity. |
||||||||||||||||||||||||||||||||||||||
M_PEAK_POSITION + |
Orders peaks according to their position. |
||||||||||||||||||||||||||||||||||||||
Match image processing context ID |
Specifies a match image processing context, allocated using MimAlloc() with M_MATCH_CONTEXT, and used in MimMatch() operations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MASK_IMAGE |
Sets the image buffer containing the mask image. (more details...) |
||||||||||||||||||||||||||||||||||||||
MaskImageId |
Specifies the identifier of the image buffer containing the mask image. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MAX_SCORE |
Sets the maximum score when performing a match using the normalized grayscale correlation mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_MAX_DEPTH. |
||||||||||||||||||||||||||||||||||||||
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). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the maximum score. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MODE |
Sets the type of computation to perform when matching the source image to the model image. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_CORRELATE_NORMALIZED. |
||||||||||||||||||||||||||||||||||||||
M_ABS_SUM_OF_DIFFERENCES |
Computes the absolute sum of the differences. |
||||||||||||||||||||||||||||||||||||||
M_CORRELATE |
Computes a grayscale correlation. |
||||||||||||||||||||||||||||||||||||||
M_CORRELATE_NORMALIZED |
Computes a normalized grayscale correlation. |
||||||||||||||||||||||||||||||||||||||
M_MODEL_IMAGE |
Sets the image buffer containing the model image. (more details...) |
||||||||||||||||||||||||||||||||||||||
ModelImageId |
Specifies the identifier of the image buffer containing the model image. (more details...) |
||||||||||||||||||||||||||||||||||||||
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 (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as 1. |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies to take every pixel (on both axes) to compute the match. |
||||||||||||||||||||||||||||||||||||||
2 |
Specifies to take every other pixel (on both axes) to compute the match. |
||||||||||||||||||||||||||||||||||||||
M_SCORE_TYPE |
Sets how to compute the final correlation score. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NORM_CLIP_SQR. |
||||||||||||||||||||||||||||||||||||||
M_NORM |
Specifies to use normalized grayscale correlation to compute the final match score. |
||||||||||||||||||||||||||||||||||||||
M_NORM_CLIP |
Specifies to clip the results from a normalized grayscale correlation when computing the final correlation score. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NORM_CLIP_SQR |
Specifies to clip the results from the square of the normalized grayscale correlation when computing the final correlation score. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SQR_NORM |
Specifies to use the square of the normalized grayscale correlation to compute the final correlation score. |
||||||||||||||||||||||||||||||||||||||
Multiple statistics image processing
context ID |
Specifies a multiple statistics image processing context, allocated using MimAlloc() with M_STAT_MULTIPLE_CONTEXT, and used in MimStatMultiple() operations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MODE |
Sets the mode in which to compute results. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_2D. |
||||||||||||||||||||||||||||||||||||||
M_2D |
Specifies to compute statistics on 2-dimensional images with a result for every individual pixel. |
||||||||||||||||||||||||||||||||||||||
M_SIZE_X |
Sets the X-size of the target area in the source buffer. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Width |
Specifies the width of the target area in the source buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SIZE_Y |
Sets the Y-size of the target area in the source buffer. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Height |
Specifies the height of the target area in the source buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_TYPE |
Sets the particular statistics to be performed. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_ALL |
Specifies that all statistical operations are performed. |
||||||||||||||||||||||||||||||||||||||
M_MAX |
Specifies the maximum pixel value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MAX_ABS |
Specifies the maximum absolute pixel value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MEAN |
Specifies the mean value of the pixels. |
||||||||||||||||||||||||||||||||||||||
M_MIN |
Specifies the minimum pixel value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MIN_ABS |
Specifies the minimum absolute pixel value. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_NUMBER |
Specifies the number of images. |
||||||||||||||||||||||||||||||||||||||
M_STANDARD_DEVIATION |
Specifies the standard deviation value. |
||||||||||||||||||||||||||||||||||||||
M_SUM |
Specifies the sum of the pixel values. |
||||||||||||||||||||||||||||||||||||||
M_SUM_ABS |
Specifies the sum of the absolute pixel values. |
||||||||||||||||||||||||||||||||||||||
M_SUM_OF_SQUARES |
Specifies the sum of the squared pixel values. |
||||||||||||||||||||||||||||||||||||||
Rearrangement image processing context ID |
Specifies a rearrangement image processing context, allocated using MimAlloc() with M_REARRANGE_CONTEXT, and used in MimRearrange() operations. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_MODE |
Sets the processing mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_LINES |
Specifies that each area to be rearranged is a single horizontal line. |
||||||||||||||||||||||||||||||||||||||
M_RECTS |
Specifies that each area to be rearranged is a single rectangle. |
||||||||||||||||||||||||||||||||||||||
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. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_TRANSFORMATION_MODE |
Sets the wavelet transformation mode. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DYADIC. |
||||||||||||||||||||||||||||||||||||||
M_DYADIC |
Specifies a dyadic wavelet transformation. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNDECIMATED + |
Specifies an undecimated wavelet transformation. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_WAVELET_TYPE |
Sets a predefined type of wavelet filter. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_HAAR. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_1 |
Specifies a Daubechies wavelet filter that uses 1 vanishing moment and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_2 |
Specifies a Daubechies wavelet filter that uses 2 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_3 |
Specifies a Daubechies wavelet filter that uses 3 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_3_COMPLEX |
Specifies a Daubechies wavelet filter that uses 3 vanishing moments and complex coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_4 |
Specifies a Daubechies wavelet filter that uses 4 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_5 |
Specifies a Daubechies wavelet filter that uses 5 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_5_COMPLEX |
Specifies a Daubechies wavelet filter that uses 5 vanishing moments and complex coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_6 |
Specifies a Daubechies wavelet filter that uses 6 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_7 |
Specifies a Daubechies wavelet filter that uses 7 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_7_COMPLEX |
Specifies a Daubechies wavelet filter that uses 7 vanishing moments and complex coefficients. |
||||||||||||||||||||||||||||||||||||||
M_DAUBECHIES_8 |
Specifies a Daubechies wavelet filter that uses 8 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_HAAR |
Specifies a Haar wavelet filter. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_1 |
Specifies a Symlet wavelet filter that uses 1 vanishing moment and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_2 |
Specifies a Symlet wavelet filter that uses 2 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_3 |
Specifies a Symlet wavelet filter that uses 3 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_4 |
Specifies a Symlet wavelet filter that uses 4 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_5 |
Specifies a Symlet wavelet filter that uses 5 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_6 |
Specifies a Symlet wavelet filter that uses 6 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_7 |
Specifies a Symlet wavelet filter that uses 7 vanishing moments and real coefficients. |
||||||||||||||||||||||||||||||||||||||
M_SYMLET_8 |
Specifies a Symlet wavelet filter that uses 8 vanishing moments and real coefficients. |
You can add the following value to the above-mentioned value to specify undecimated wavelet transformations that are centered.
For specifying whether undecimated
wavelet transformations are centered
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_CENTER |
Specifies undecimated wavelet transformations that are centered. (more details...) |
You can add one of the following values to the above-mentioned values to specify the order to sort peaks.
For specifying the order to sort
peaks
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_SORT_DOWN |
Sorts peaks in descending order. |
||||||||||||||||||||||||||||||||||||||
M_SORT_UP |
Sorts peaks in ascending order. |
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. |
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. |
Header | Include mil.h. |
Library | Use mil.lib; milim.lib. |
DLL | Requires mil.dll; milim.dll. |