MIL_ID ContextOrResultId, | //in |
MIL_INT IndexOrLabel, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires information about a specified color matching or relative color calibration context, a color-sample contained within the context, a color element contained within a specified color-sample, or a color matching result buffer.
If the inquired setting is set to M_DEFAULT (for example, in McolControl()), McolInquire() will return M_DEFAULT. To inquire the actual default value, add M_DEFAULT to the InquireType parameter.
Specifies the identifier of the context or result buffer about which to inquire information. Both the context and the result buffer must have been previously allocated on the required system using McolAlloc() (with M_COLOR_MATCHING or M_COLOR_CALIBRATION_RELATIVE) or McolAllocResult().
Specifies what to inquire.
For inquiring about a context or result, set this parameter to one of the following values.
For inquiring about a context or
result
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CONTEXT |
Inquires information about a global setting of either a color matching or relative color calibration context, depending on the ContextOrResultId parameter setting. |
||||||||||||||||||||||||||||||||||||||
M_GENERAL |
Inquires information about a setting of a color matching result buffer. (more details...) |
For inquiring about a color-sample or color element therein, set this parameter to one of the following values. Unless otherwise specified, the ContextOrResultId parameter can specify a color matching or relative color calibration context.
For inquiring about a color-sample or
color element
|
|||||||||||||||||||||||||||||||||||||||
Value |
Description
|
||||||||||||||||||||||||||||||||||||||
Specifies the index of a color element (item), relative to the reference color-sample. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index of a color element (item). The index value must be greater than or equal to 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies the index of a color-sample. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies an index value greater than or equal to 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies the index of a color element (item), relative to a color-sample index. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index of the color-sample that holds the color element (item). The index must be greater than or equal to 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies the index of the color element (item). The index value must be greater than or equal to 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies the label of a color-sample. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies a label value greater than 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies the index of a color element (item), relative to a color-sample label. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the label of the color-sample that holds the color element (item). The label value must be greater than 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies the index of the color element (item). The index value must be greater than or equal to 0. |
|||||||||||||||||||||||||||||||||||||||
M_REFERENCE_SAMPLE |
Specifies the reference color-sample. (more details...) |
Specifies the type of setting about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information. Since the McolInquire() function also returns the requested information, you can set this parameter to M_NULL.
See the Parameter associations section for possible values that can be returned.
The tables below list possible values for the InquireType parameter and possible values returned to the UserVarPtr parameter.
To inquire about general settings of a context, set the InquireType parameter to one of the following values. In this case, you must set the IndexOrLabel parameter to M_CONTEXT and the ContextOrResultId parameter to a color matching or relative color calibration context, as required by the setting. Unless otherwise specified, the following settings only apply to color matching contexts.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring general settings about a
context
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_ACCEPTANCE + |
Inquires the acceptance level for the color-sample's score. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0%. |
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 100.0 |
Specifies an acceptable score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
M_ACCEPTANCE_RELEVANCE + |
Inquires the acceptance level for the target area's relevance score. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0%. |
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 100.0 |
Specifies an acceptable relevance score, as a percentage. |
||||||||||||||||||||||||||||||||||||||
M_BACKGROUND_DRAW_COLOR + |
Inquires the background pixel color, when applicable. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_TRANSPARENT. |
||||||||||||||||||||||||||||||||||||||
M_TRANSPARENT |
Specifies not to change the background. INFO |
||||||||||||||||||||||||||||||||||||||
Byte-encoded RGB value |
Specifies an encoded RGB value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies a grayscale value for the background pixels, as a double or integer. INFO |
||||||||||||||||||||||||||||||||||||||
M_BAND_MODE + |
Inquires the color bands to use when performing McolMatch(). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ALL_BANDS. |
||||||||||||||||||||||||||||||||||||||
M_ALL_BANDS |
Specifies to use all bands. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BAND_0 |
Specifies to use band 0. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BAND_0 + M_COLOR_BAND_1 |
Specifies to use bands 0 and 1. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BAND_0 + M_COLOR_BAND_2 |
Specifies to use bands 0 and 2. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BAND_1 |
Specifies to use band 1. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BAND_1 + M_COLOR_BAND_2 |
Specifies to use bands 1 and 2. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BAND_2 |
Specifies to use band 2. |
||||||||||||||||||||||||||||||||||||||
M_CALIBRATION_INTENT + |
Inquires the transformation precision with which to perform relative color calibration. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default calibration intent. INFO |
||||||||||||||||||||||||||||||||||||||
M_BALANCE |
Specifies that the operation considers a moderate amount of color information to establish the mapping. INFO |
||||||||||||||||||||||||||||||||||||||
M_GENERALIZATION |
Specifies that the operation considers a minimal amount of color information to establish the mapping. INFO |
||||||||||||||||||||||||||||||||||||||
M_PRECISION |
Specifies that the operation considers a high amount of color information to establish the mapping. INFO |
||||||||||||||||||||||||||||||||||||||
M_CALIBRATION_MODE + |
Inquires the transformation operation with which to perform relative color calibration. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_HISTOGRAM_BASED. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_TO_COLOR |
Specifies that a color-sample's mapping is based on transforming its color to the color of the reference color-sample on a point-to-point basis. INFO |
||||||||||||||||||||||||||||||||||||||
M_GLOBAL_MEAN_VARIANCE |
Specifies that a color-sample's mapping is based on transforming its mean and variance (standard deviation) to resemble the mean and variance of the reference color-sample. INFO |
||||||||||||||||||||||||||||||||||||||
M_HISTOGRAM_BASED |
Specifies that a color-sample's mapping is based on using enhanced color distribution information to transform its color data to better resemble the color data of the reference color-sample. INFO |
||||||||||||||||||||||||||||||||||||||
M_COLOR_CALIBRATION_COMPUTE_OPTION + |
Inquires whether the relative color calibration was performed using pixel values or color statistics. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_COMPUTE_ITEM_PIXELS. |
||||||||||||||||||||||||||||||||||||||
M_COMPUTE_ITEM_PIXELS |
Specifies that MIL uses all pixel values (in the reference color-sample and the color-samples) to generate the color information that the operation requires. |
||||||||||||||||||||||||||||||||||||||
M_COMPUTE_ITEM_STAT |
Specifies that MIL uses color statistics (in the reference color-sample and the color-samples) to generate the color information that the operation requires. INFO |
||||||||||||||||||||||||||||||||||||||
M_COLOR_SPACE + |
Inquires the context's color space. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_RGB. |
||||||||||||||||||||||||||||||||||||||
M_CIELAB |
Specifies a CIELAB (or LAB) color space. INFO |
||||||||||||||||||||||||||||||||||||||
M_HSL |
Specifies an HSL color space. INFO |
||||||||||||||||||||||||||||||||||||||
M_RGB |
Specifies an RGB color space. INFO |
||||||||||||||||||||||||||||||||||||||
M_CONVERSION_GAMMA + |
Inquires whether gamma correction is performed when converting colors before the match operation. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to remove gamma correction. INFO |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to remove gamma correction. INFO |
||||||||||||||||||||||||||||||||||||||
M_CONVERSION_MODE + |
Inquires the mode used to internally convert colors before the matching operation. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NONE. |
||||||||||||||||||||||||||||||||||||||
M_CIELAB |
Specifies to internally convert RGB colors to CIELAB before the match operation. INFO |
||||||||||||||||||||||||||||||||||||||
M_HSL |
Specifies to internally convert RGB colors to HSL before the match operation. |
||||||||||||||||||||||||||||||||||||||
M_NONE |
Specifies no internal conversion. |
||||||||||||||||||||||||||||||||||||||
M_DISTANCE_IMAGE_NORMALIZE + |
Inquires the normalization factor when drawing or generating M_DRAW_DISTANCE, using McolDraw() or McolMatch(). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_NO_NORMALIZE. |
||||||||||||||||||||||||||||||||||||||
M_MAX_NORMALIZE |
Specifies to normalize distance values according to the greatest calculated distance. INFO |
||||||||||||||||||||||||||||||||||||||
M_NO_NORMALIZE |
Specifies no normalization. INFO |
||||||||||||||||||||||||||||||||||||||
Value > 0.0 |
Specifies to normalize distance values according to the specified normalization value. INFO |
||||||||||||||||||||||||||||||||||||||
M_DISTANCE_TOLERANCE_MODE + |
Inquires the strategy used to calculate the tolerance for an acceptable color distance between the color-sample and a target area. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ABSOLUTE. |
||||||||||||||||||||||||||||||||||||||
M_ABSOLUTE |
Specifies that the M_DISTANCE_TOLERANCE value will be untouched and used as the acceptable distance tolerance. |
||||||||||||||||||||||||||||||||||||||
M_RELATIVE |
Specifies a tolerance strategy based on the relative distances between pairs of color-samples. INFO |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_STDDEV |
Specifies a tolerance strategy based on the color-sample's standard deviation. INFO |
||||||||||||||||||||||||||||||||||||||
M_DISTANCE_TYPE + |
Inquires the type of distance calculated when matching colors. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default distance type. INFO |
||||||||||||||||||||||||||||||||||||||
M_CIE94_GRAPHIC_ARTS |
Specifies the CIE94 color distance with weighting factors pertaining to the graphic arts industry, as established by the CIE. INFO |
||||||||||||||||||||||||||||||||||||||
M_CIE94_TEXTILE |
Specifies the CIE94 color distance with weighting factors pertaining to the textile industry, as established by the CIE. INFO |
||||||||||||||||||||||||||||||||||||||
M_CIEDE2000 |
Specifies the CIEDE2000 color distance, as established by the CIE. INFO |
||||||||||||||||||||||||||||||||||||||
M_CMC_ACCEPTABILITY |
Specifies the CMC(l: c) color distance that has been adjusted for acceptability evaluation, as established by the CIE. INFO |
||||||||||||||||||||||||||||||||||||||
M_CMC_PERCEPTIBILITY |
Specifies the CMC(l: c) color distance that has been adjusted for perceptibility evaluation, as established by the CIE. INFO |
||||||||||||||||||||||||||||||||||||||
M_DELTA_E |
Specifies a Delta-E color distance, as defined by the International Commission on Illumination (CIE). INFO |
||||||||||||||||||||||||||||||||||||||
M_EUCLIDEAN |
Specifies a Euclidean color distance. INFO |
||||||||||||||||||||||||||||||||||||||
M_MAHALANOBIS |
Specifies a Mahalanobis color distance. INFO |
||||||||||||||||||||||||||||||||||||||
M_MANHATTAN |
Specifies a Manhattan color distance. INFO |
||||||||||||||||||||||||||||||||||||||
M_NONE |
Specifies that no distance calculations are used. INFO |
||||||||||||||||||||||||||||||||||||||
M_GENERATE_DISTANCE_IMAGE + |
Inquires whether the distance image was generated. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to generate the image. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to generate the image. |
||||||||||||||||||||||||||||||||||||||
M_GENERATE_PIXEL_MATCH + |
Inquires whether the image containing the color-sample label for which each pixel voted was generated. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to generate the image. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to generate the image. |
||||||||||||||||||||||||||||||||||||||
M_GENERATE_SAMPLE_COLOR_LUT + |
Inquires whether the color-sample label LUT was generated. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to generate the LUT. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to generate the LUT. |
||||||||||||||||||||||||||||||||||||||
M_MATCH_MODE + |
Inquires the operation mode used when matching colors. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_STAT_MIN_DIST. |
||||||||||||||||||||||||||||||||||||||
M_HISTOGRAM_MATCHING |
Specifies a minimum distance operation, based on color histograms. INFO |
||||||||||||||||||||||||||||||||||||||
M_HISTOGRAM_VOTE |
Specifies a match operation based on histogram voting. INFO |
||||||||||||||||||||||||||||||||||||||
M_MIN_DIST_VOTE |
Specifies a minimum distance operation, based on pixel voting. INFO |
||||||||||||||||||||||||||||||||||||||
M_STAT_MIN_DIST |
Specifies a minimum distance operation, based on pixel statistics. INFO |
||||||||||||||||||||||||||||||||||||||
M_MODIFICATION_COUNT + |
Inquires the current value of the modification counter. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the current value of the modification counter. |
||||||||||||||||||||||||||||||||||||||
M_NB_BINS_BAND_0 + |
Inquires the number of histogram bins for color band 0. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 10. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the number of histogram bins for color band 0. |
||||||||||||||||||||||||||||||||||||||
M_NB_BINS_BAND_1 + |
Inquires the number of histogram bins for color band 1. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 10. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Number of histogram bins for color band 1. |
||||||||||||||||||||||||||||||||||||||
M_NB_BINS_BAND_2 + |
Inquires the number of histogram bins for color band 2. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 10. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Number of histogram bins for color band 2. |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_SAMPLES + |
Inquires the number of color-samples defined in the context (McolDefine()). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of color-samples. |
||||||||||||||||||||||||||||||||||||||
M_OUTLIER_DRAW_COLOR + |
Inquires the color used for outlier pixels when drawing the color of the best-matched color-sample, the color of the color-sample for which each pixel voted, or the distance between the color of the target area/target pixel and the color of its best-matched color-sample (McolDraw() or McolMatch() with M_DRAW_AREA_MATCH_USING_COLOR, M_DRAW_PIXEL_MATCH_USING_COLOR or M_DRAW_DISTANCE). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
M_TRANSPARENT |
Specifies not to change the value of the outlier pixels. INFO |
||||||||||||||||||||||||||||||||||||||
Byte-encoded RGB value |
Specifies an encoded RGB value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies a grayscale value for the outlier pixels, as a double or integer. INFO |
||||||||||||||||||||||||||||||||||||||
M_OUTLIER_LABEL + |
Inquires the label used for outlier pixels when drawing the label of the best-matched color-sample or the label of the color-sample for which each pixel voted (McolDraw() or McolMatch() with M_DRAW_AREA_MATCH_USING_LABEL or M_DRAW_PIXEL_MATCH_USING_LABEL). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the label of the outlier pixels, as an integer. INFO |
||||||||||||||||||||||||||||||||||||||
M_PREPROCESSED + |
Inquires whether the context is preprocessed. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 |
Specifies that the context is not preprocessed. |
||||||||||||||||||||||||||||||||||||||
Value!= 0 |
Specifies that the context is preprocessed. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LABEL_SIZE_BIT + |
Inquires the depth per band required for the image buffer in which to draw the label of the best-matched color-sample or the label of the color-sample for which each pixel voted (McolDraw() or McolMatch() with M_DRAW_AREA_MATCH_USING_LABEL or M_DRAW_PIXEL_MATCH_USING_LABEL). (more details...) |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies that the data depth is 1 bit per band. |
||||||||||||||||||||||||||||||||||||||
8 |
Specifies that the data depth is 8 bits per band. |
||||||||||||||||||||||||||||||||||||||
16 |
Specifies that the data depth is 16 bits per band. |
||||||||||||||||||||||||||||||||||||||
32 |
Specifies that the data depth is 32 bits per band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LUT_SIGN + |
Inquires the data type required for the image buffer in which to draw the 3-band color-sample label LUT (McolDraw() with M_DRAW_SAMPLE_COLOR_LUT). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED |
Specifies that the data type is unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LUT_SIZE_BAND + |
Inquires the number of color bands that are required for the image buffer in which to draw the 3-band color-sample label LUT (McolDraw() with M_DRAW_SAMPLE_COLOR_LUT). (more details...) |
||||||||||||||||||||||||||||||||||||||
3 |
Specifies that 3 color bands are required. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LUT_SIZE_BIT + |
Inquires the depth per band required for the image buffer in which to draw the 3-band color-sample label LUT (McolDraw() with M_DRAW_SAMPLE_COLOR_LUT). (more details...) |
||||||||||||||||||||||||||||||||||||||
8 |
Specifies that the data depth is 8 bits per band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LUT_SIZE_X + |
Inquires the width required for the image buffer in which to draw the 3-band color-sample label LUT (McolDraw() with M_DRAW_SAMPLE_COLOR_LUT). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the width of the image buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LUT_SIZE_Y + |
Inquires the height required for the image buffer in which to draw the 3-band color-sample label LUT (McolDraw() with M_DRAW_SAMPLE_COLOR_LUT). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the height of the image buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LUT_TYPE + |
Inquires the data type and depth required for the image buffer in which to draw the 3-band color-sample label LUT (McolDraw() with M_DRAW_SAMPLE_COLOR_LUT). (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 8 |
Specifies that the data is 8-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAVE_AREA_IMAGE + |
Inquires whether the area identifier image was saved. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_DISABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to save the image. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to save the image. |
To inquire about color matching context settings that are used for color space encoding, set the InquireType parameter to one of the following values. In this case, you must set the IndexOrLabel parameter to M_CONTEXT.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring color matching context
settings that are used for color space encoding
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_ENCODING + |
Inquires the color space encoding. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_8BIT. |
||||||||||||||||||||||||||||||||||||||
M_8BIT |
Specifies an internally defined color space encoding for 8-bit images. |
||||||||||||||||||||||||||||||||||||||
M_10BIT |
Specifies an internally defined color space encoding for 10-bit images. |
||||||||||||||||||||||||||||||||||||||
M_12BIT |
Specifies an internally defined color space encoding for 12-bit images. |
||||||||||||||||||||||||||||||||||||||
M_14BIT |
Specifies an internally defined color space encoding for 14-bit images. |
||||||||||||||||||||||||||||||||||||||
M_16BIT |
Specifies an internally defined color space encoding for 16-bit images. |
||||||||||||||||||||||||||||||||||||||
M_USER_DEFINED |
Specifies that the color space encoding is defined using M_OFFSET_BAND_n and M_SCALE_BAND_n. |
||||||||||||||||||||||||||||||||||||||
M_OFFSET_BAND_0 + |
Inquires the offset for the color space encoding, for band 0. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset, as a double. |
||||||||||||||||||||||||||||||||||||||
M_OFFSET_BAND_1 + |
Inquires the offset for the color space encoding, for band 1. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset, as a double. |
||||||||||||||||||||||||||||||||||||||
M_OFFSET_BAND_2 + |
Inquires the offset for the color space encoding, for band 2. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset, as a double. |
||||||||||||||||||||||||||||||||||||||
M_SCALE_BAND_0 + |
Inquires the scale for the color space encoding, for band 0. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the scale, as a double. |
||||||||||||||||||||||||||||||||||||||
M_SCALE_BAND_1 + |
Inquires the scale for the color space encoding, for band 1. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the scale, as a double. |
||||||||||||||||||||||||||||||||||||||
M_SCALE_BAND_2 + |
Inquires the scale for the color space encoding, for band 2. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the scale, as a double. |
To inquire about a general setting of a color-sample defined in a context, set the InquireType parameter to one of the following values. In this case, you must set the IndexOrLabel parameter to the index or label of a color-sample (not an element of a color-sample). Unless otherwise specified, the following settings apply to color matching and relative color calibration contexts.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring about a general setting of
a color-sample defined in a context
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_DISTANCE_TOLERANCE + |
Inquires the acceptable tolerance for the color distance between the color-sample and a target area. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO. |
||||||||||||||||||||||||||||||||||||||
M_AUTO |
Specifies the tolerance automatically. INFO |
||||||||||||||||||||||||||||||||||||||
M_INFINITE |
Specifies an infinite tolerance. |
||||||||||||||||||||||||||||||||||||||
Value >= 0.0 |
Specifies the tolerance value. INFO |
||||||||||||||||||||||||||||||||||||||
M_HISTOGRAM_FREQUENCY_THRESHOLD + |
Inquires the minimal frequency, in pixels, for a histogram bin to count in the matching process. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 1pixel. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the minimal frequency, as an integer. |
||||||||||||||||||||||||||||||||||||||
M_MATCH_SAMPLE_COLOR_BAND_0 + |
Inquires the band 0 value of the color-sample that will be used with McolMatch(). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the band 0 value of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_MATCH_SAMPLE_COLOR_BAND_1 + |
Inquires the band 1 value of the color-sample that will be used with McolMatch(). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the band 1 value of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_MATCH_SAMPLE_COLOR_BAND_2 + |
Inquires the band 2 value of the color-sample that will be used with McolMatch(). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the band 2 value of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_OF_COLOR_ITEMS + |
Inquires the number of color elements items in the specified color-sample. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of color elements in the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_8BIT_AVERAGE_COLOR_BAND_0 + |
Inquires the average color of the color-sample for band 0 (as an 8-bit value). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the average color of the color-sample for band 0. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_8BIT_AVERAGE_COLOR_BAND_1 + |
Inquires the average color of the color-sample for band 1 (as an 8-bit value). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the average color of the color-sample for band 1. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_8BIT_AVERAGE_COLOR_BAND_2 + |
Inquires the average color of the color-sample for band 2 (as an 8-bit value). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the average color of the color-sample for band 2. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_ABSOLUTE_TOLERANCE + |
Inquires the maximum distance a color-sample can have for it to be matched. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INFINITE |
Specifies that the maximum distance is infinite. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the maximum distance. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_AVERAGE_COLOR_BAND_0 + |
Inquires the band 0 value of the color-sample, as it was defined using McolDefine(). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the band 0 value of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_AVERAGE_COLOR_BAND_1 + |
Inquires the band 1 value of the color-sample, as it was defined using McolDefine(). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the band 1 value of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_AVERAGE_COLOR_BAND_2 + |
Inquires the band 2 value of the color-sample, as it was defined using McolDefine(). (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the band 2 value of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_LABEL_VALUE + |
Inquires the current label of the color-sample. SET SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the current label of the color-sample. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_DONT_CARE_SIGN + |
Inquires the data type of the color-sample's mask mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED |
Specifies that the color-sample's mask mosaic buffer is of data type unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_DONT_CARE_SIZE_BAND + |
Inquires the number of bands of the color-sample's mask mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies that the color-sample's mask mosaic buffer has 1 band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_DONT_CARE_SIZE_BIT + |
Inquires the depth per band of the color-sample's mask mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies that the data depth is 1 bit per band. |
||||||||||||||||||||||||||||||||||||||
8 |
Specifies that the data depth is 8 bits per band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_DONT_CARE_SIZE_X + |
Inquires the X-size (width) of the color-sample's mask mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the X-size (width) of the color-sample's mask mosaic buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_DONT_CARE_SIZE_Y + |
Inquires the Y-size (height) of the color-sample's mask mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the Y-size (height) of the color-sample's mask mosaic buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_DONT_CARE_TYPE + |
Inquires the data type and depth of the color-sample's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 1 |
Specifies that the data is 1-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 8 |
Specifies that the data is 8-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_SIGN + |
Inquires the data type of the color-sample's mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED |
Specifies that the color-sample's mosaic buffer is of data type unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_SIZE_BAND + |
Inquires the number of bands of the color-sample's mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
3 |
Specifies that the color-sample's mosaic buffer has 3 bands. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_SIZE_BIT + |
Inquires the depth per band of the color-sample's mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
8 |
Specifies that the data depth is 8 bits per band. |
||||||||||||||||||||||||||||||||||||||
16 |
Specifies that the data depth is 16 bits per band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_SIZE_X + |
Inquires the X-size (width) of the color-sample's mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the X-size (width) of the color-sample's mosaic buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_SIZE_Y + |
Inquires the Y-size (height) of the color-sample's mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the Y-size (height) of the color-sample's mosaic buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MOSAIC_TYPE + |
Inquires the type of the color-sample's mosaic buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 8 |
Specifies that the data is 8-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 16 |
Specifies that the data is 16-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_TYPE + |
Inquires the type of the color-sample. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IMAGE |
Specifies that the color-sample was added from an image. |
||||||||||||||||||||||||||||||||||||||
M_TRIPLET |
Specifies that the color-sample was added from three explicit color component values (RGB, HSL, or CIELAB). |
To inquire about a general setting of a color element defined in a color-sample, set the InquireType parameter to one of the following values. In this case, you must set the IndexOrLabel parameter to the index or label of a color-sample element.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring about a general setting of
a color element (item) defined in a context
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_SAMPLE_COLOR_BAND_0 |
Inquires the color value for band 0 of a triplet color element. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the color value for band 0 of a triplet color element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_COLOR_BAND_1 |
Inquires the color value for band 1 of a triplet color element. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the color value for band 1 of a triplet color element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_COLOR_BAND_2 |
Inquires the color value for band 2 of a triplet color element. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the color value for band 2 of a triplet color element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_IMAGE_SIGN |
Inquires the data type of the image from which the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED |
Specifies that the data type is unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_IMAGE_SIZE_BAND |
Inquires the number of color bands of the image buffer from which the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
3 |
Specifies that the image buffer has 3 color bands. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_IMAGE_SIZE_BIT |
Inquires the depth per band of the image buffer from which the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
8 |
Specifies that the data depth is 8 bits per band. |
||||||||||||||||||||||||||||||||||||||
16 |
Specifies that the data depth is 16 bits per band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_IMAGE_SIZE_X |
Inquires the width of the image from which the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the width of the image, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_IMAGE_SIZE_Y |
Inquires the height of the image from which the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the height of the image, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_IMAGE_TYPE |
Inquires the data type and depth of the image from which the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 8 |
Specifies that the data is 8-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 16 |
Specifies that the data is 16-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASK_SIGN |
Inquires the data type of the color element's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED |
Specifies that the data type is unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASK_SIZE_BAND |
Inquires the number of color bands of the color element's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies that there is 1 band in the color element's mask buffer. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASK_SIZE_BIT |
Inquires the depth per band of the color element's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies that the data depth is 1 bit per band. |
||||||||||||||||||||||||||||||||||||||
8 |
Specifies that the data depth is 8 bits per band. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASK_SIZE_X |
Inquires the width of the color element's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the width of the color element's mask buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASK_SIZE_Y |
Inquires the height of the color element's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the height of the color element's mask buffer, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASK_TYPE |
Inquires the data type and depth of the color element's mask buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 1 |
Specifies that the data is 1-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_UNSIGNED + 8 |
Specifies that the data is 8-bit unsigned. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_MASKED |
Inquires whether a mask for the color element was defined. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FALSE |
Specifies that a mask was not defined. |
||||||||||||||||||||||||||||||||||||||
M_TRUE |
Specifies that a mask was defined. |
To inquire information about the principal component analysis (PCA) of a color-sample in a color matching context, set the InquireType parameter to one of the following values. In this case, you must set the IndexOrLabel parameter to M_SAMPLE_INDEX() or M_SAMPLE_LABEL(); you must have also preprocessed the context, using McolPreprocess().
A PCA is a mathematical analysis which, when applied to a color image's data, results in vectors pointing towards the direction of maximum color variance. Each vector is considered a principal component, and there are as many principal components as there are color bands. Since color-samples are based on three bands, the PCA results in three vectors about which to inquire. These PCA values are not applied in the actual operation (for example, McolMatch() and should only be inquired by advanced users who might, for example, want to perform some statistical analysis. Typically, color operations such as McolMatch() and McolProject() use what is referred to as the first principal component, which is the strongest principal component computed from a PCA. If no principal component is the strongest, one is arbitrarily considered the first principal component.
MIL calculates the PCA values according to the context's source color space; these values are not available when using M_HSL.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring information about the PCA
of a color-sample in a color matching context
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VAR1 + |
Inquires the variance in the direction of the color-sample's first principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the variance. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VAR2 + |
Inquires the variance in the direction of the color-sample's second principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the variance. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VAR3 + |
Inquires the variance in the direction of the color-sample's third principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the variance. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR1_1 + |
Inquires the first element of the color-sample's first principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR1_2 + |
Inquires the second element of the color-sample's first principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR1_3 + |
Inquires the third element of the color-sample's first principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR2_1 + |
Inquires the first element of the color-sample's second principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR2_2 + |
Inquires the second element of the color-sample's second principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR2_3 + |
Inquires the third element of the color-sample's second principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR3_1 + |
Inquires the first element of the color-sample's third principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR3_2 + |
Inquires the second element of the color-sample's third principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
||||||||||||||||||||||||||||||||||||||
M_SAMPLE_PCA_VECTOR3_3 + |
Inquires the third element of the color-sample's third principal component vector. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the vector element. |
To inquire about context or result buffer settings, the InquireType parameter can be set to one of the following values. When inquiring about a context, set the IndexOrLabel parameter to M_CONTEXT. When inquiring about a result buffer, set the IndexOrLabel parameter to M_GENERAL.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_DOUBLE.
For inquiring context or result buffer
settings
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_OWNER_SYSTEM + |
Inquires the identifier of the system on which either the context or result buffer has been allocated. SET SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
You can add the following value to the above-mentioned values to determine the default value of an inquire type, regardless of the current value of the inquire type.
For inquiring the default value of an
inquire type
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Inquires the default value of the specified inquire type. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_DOUBLE |
You can add the following value to the above-mentioned values to determine whether an inquire type is supported.
For inquiring whether an inquire
type is supported
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_SUPPORTED |
Inquires whether the specified inquire type is supported. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_DOUBLE |
||||||||||||||||||||||||||||||||||||||
M_FALSE |
Specifies that the inquire type is not supported. |
||||||||||||||||||||||||||||||||||||||
M_TRUE |
Specifies that the inquire type is supported. |
You can add one of the following values to the above-mentioned values to cast the requested information to the required data type.
Some inquired information might be altered if it does not fit numerically in the data type that you specify. For example, if you cast a value of 300 to a char, information will be lost. The default data type, double, will never result in lost information.
For specifying the data
type
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_TYPE_CHAR |
Casts the requested information to a char. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_DOUBLE |
Casts the requested information to a MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_FLOAT |
Casts the requested information to a MIL_FLOAT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_ID |
Casts the requested information to a MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT |
Casts the requested information to a MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT16 |
Casts the requested results to a MIL_INT16. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT32 |
Casts the requested information to a MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
||||||||||||||||||||||||||||||||||||||
M_TYPE_MIL_INT64 |
Casts the requested information to a MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
|
Header | Include mil.h. |
Library | Use mil.lib; milcolor.lib. |
DLL | Requires mil.dll; milcolor.dll. |