MIL_ID BufId, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires about a specified setting of a MIL data buffer.
Specifies the identifier of the source data buffer. The buffer must have been previously allocated on the required system using a function of the Buffer module (for example, MbufAllocColor() or MbufImport()).
Specifies the type of buffer 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 MbufInquire() function also returns the requested information, you can set this parameter to M_NULL, except when the specified InquireType requires the UserVarPtr parameter to be set to the address of a MIL_INT64 or MIL_DOUBLE. In this case, you must set this parameter to the address of a MIL_INT64 or MIL_DOUBLE, respectively.
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.
The following inquire types allow you to inquire about general types of buffer settings.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For inquiring general buffer
settings
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_ALLOCATION_OVERSCAN_SIZE |
Inquires the size of the overscan region of the image buffer. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the size of the overscan region, in pixels. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ANCESTOR_ID |
Inquires the MIL identifier of the ancestor buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
MIL Buffer ID |
Specifies the MIL identifier of the ancestor buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ANCESTOR_OFFSET_BAND |
Inquires the band offset relative to the ancestor buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the band offset. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ANCESTOR_OFFSET_BIT |
Inquires the bit offset relative to the ancestor buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the offset, in bits. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ANCESTOR_OFFSET_X |
Inquires the X-offset relative to the ancestor buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the X-offset. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ANCESTOR_OFFSET_Y |
Inquires the Y-offset relative to the ancestor buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the Y-offset. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ASSOCIATED_LUT |
Inquires the identifier of the LUT buffer associated with the image buffer (returns M_DEFAULT if no LUT). SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DEFAULT |
Specifies that no LUT buffer is associated with the image buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
MIL LUT buffer identifier |
Specifies the MIL identifier of the LUT buffer that is associated with the image buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_BITMAPINFO |
[This is
only applicable to Windows]
Inquires a pointer (LPBITMAPINFO) to the header of the DIB associated with the MIL buffer. (more details...) |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_NULL |
Specifies that there is no DIB associated with the MIL buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
Value |
Specifies the pointer to the DIB header. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_DATA_FORMAT |
Inquires the color or monochrome storage format of the buffer. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PACKED + |
Specifies that the buffer's bands are stored in packed format (color buffer only); that is, the pixel components are stored together (RGB RGB RGB...). INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PLANAR + |
Specifies that the buffer's bands are stored in planar format (color buffer only); that is, each pixel is stored as three component planes (RRR... GGG... BBB...). INFO |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r | |||||||||||||||||||||
M_DATA_TYPE |
Inquires the buffer data type. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_FLOAT |
Specifies that the buffer uses the float data type. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SIGNED |
Specifies that the buffer uses the signed data type. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_UNSIGNED |
Specifies that the buffer uses the unsigned data type. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DC_HANDLE |
[This is
only applicable to Windows]
Inquires the device context handle (HDC) of the buffer. (more details...) |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_NULL |
Specifies that no device context is associated with the buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
Value |
Specifies the handle of the device context that is associated with the buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_DDRAW_SURFACE |
[This is
only applicable to Windows]
Inquires a pointer (LPDIRECTDRAWSURFACE) to the DirectDraw surface associated with the MIL buffer. (more details...) |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_NULL |
Specifies that there is no DirectDraw surface associated with the MIL buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
Value |
Specifies the pointer to the DirectDraw surface. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_DIB_HANDLE |
[This is
only applicable to Windows]
Inquires the handle (HBITMAP) of the DIB associated with the MIL buffer. (more details...) |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_NULL |
Specifies that no DIB handle is associated with the buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
Value |
Specifies the handle of the DIB associated with the buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_EXTENDED_ATTRIBUTE |
Inquires the attributes of the specified buffer. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_INT64 |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ARRAY + |
Specifies a buffer to store array type data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_IMAGE + |
Specifies a buffer to store image data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_KERNEL + |
//For 1D or 2D data
Specifies a kernel buffer to store a custom filter for convolution functions. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_LUT + |
Specifies a buffer to store lookup table data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_STRUCT_ELEMENT + |
//For 1D or 2D data
Specifies a buffer to store structuring element data for morphology functions. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_EXTENDED_FORMAT |
Inquires the actual color or monochrome storage format of the specified buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_INT64 |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ARRAY + |
Specifies a buffer to store array type data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_IMAGE + |
Specifies a buffer to store image data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_KERNEL + |
//For 1D or 2D data
Specifies a kernel buffer to store a custom filter for convolution functions. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_LUT + |
Specifies a buffer to store lookup table data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_STRUCT_ELEMENT + |
//For 1D or 2D data
Specifies a buffer to store structuring element data for morphology functions. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_HOST_ADDRESS |
Inquires the Host address of the buffer, if the buffer is visible from the Host address space and is not a planar 3-band buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: same type as the buffer |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_NULL |
Specifies that the buffer is not visible from the Host address space or the buffer is a planar 3-band buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the Host address of the buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_MAP |
Inquires whether the buffer is mapped to the address space of the process. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DISABLE |
Specifies that the buffer is not mapped to the memory address space of the process. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ENABLE |
Specifies that the buffer is mapped to the memory address space of the process. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_MAX |
Inquires the maximum pixel value possible in the buffer. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_DOUBLE |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the expected maximum pixel value within the range of the buffer type. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_MIN |
Inquires the minimum pixel value possible in the buffer. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_DOUBLE |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the expected minimum pixel value within the range of the buffer type. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_MODIFICATION_COUNT |
Inquires the current value of the modification counter of the image buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the current value of the modification counter. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_MODIFICATION_HOOK |
Inquires the status of the modification hook, which runs a user-defined function upon an event. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DISABLE |
Specifies that the user-defined functions should not be called. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ENABLE |
Specifies that the user-defined functions should be called. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_OWNER_SYSTEM |
Inquires the identifier of the system on which the buffer has been allocated. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_OWNER_SYSTEM_TYPE |
Inquires the type of system on which the buffer was allocated. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SYSTEM_1394_TYPE |
Specifies a MIL IEEE 1394 IIDC system. |
† | e | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_CRONOSPLUS_TYPE |
Specifies a MIL CronosPlus system. |
† | b | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_GIGE_VISION_TYPE |
Specifies a MIL GigE Vision system. |
† | c | s | |||||||||||||||||||||||||||||||||||
M_SYSTEM_GPU_TYPE |
Specifies a MIL GPU system. |
† | d | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_HOST_TYPE |
Specifies the Host. |
† | a | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_IRIS_GT_TYPE |
Specifies a MIL Iris GT system. |
† | f | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_MORPHIS_TYPE |
Specifies a MIL Morphis system. |
† | g | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_MORPHISQXT_TYPE |
Specifies a MIL Morphis QxT system. |
† | h | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_ORION_HD_TYPE |
Specifies a MIL Orion HD system. |
† | i | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_RADIENT_TYPE |
Specifies a MIL Radient system. |
† | j | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_RADIENTCXP_TYPE |
Specifies a MIL Radient eV-CXP system. |
† | k | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_SOLIOS_TYPE |
Specifies a MIL Solios system. |
† | l | m | |||||||||||||||||||||||||||||||||||
M_SYSTEM_USB3_VISION_TYPE |
Specifies a MIL USB3 Vision system. |
† | o | ||||||||||||||||||||||||||||||||||||
M_SYSTEM_VIO_TYPE |
Specifies a MIL Vio system. |
† | n | ||||||||||||||||||||||||||||||||||||
M_PARENT_ID |
Inquires the MIL identifier of the parent buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
MIL Buffer ID |
Specifies the MIL identifier of the parent buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PARENT_OFFSET_BAND |
Inquires the band offset relative to the parent buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the band offset. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PARENT_OFFSET_X |
Inquires the X-offset relative to the parent buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the X-offset. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PARENT_OFFSET_Y |
Inquires the Y-offset relative to the parent buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the Y-offset. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PHYSICAL_ADDRESS |
Inquires the physical address of the buffer if it is not a planar 3-band buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_NULL |
Specifies that the buffer is not visible from the physical address space. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the address of the buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PHYSICAL_ADDRESS_REMOTE |
Inquires the physical address of the buffer on a DMIL remote system, if it is not a planar 3-band buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_NULL |
Specifies that the buffer is not visible from the physical address space. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the address of the buffer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PITCH |
Inquires the number of pixels between the beginnings of any two adjacent lines of the buffer data. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the pitch, in pixels. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PITCH_BYTE |
Inquires the number of bytes between the beginnings of any two adjacent lines of the buffer data. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the pitch, in bytes. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_REGION_TYPE |
Inquires whether the image buffer contains ROI information, and, if so, in which format the ROI is saved. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_NONE |
Specifies that no ROI is defined. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_RASTER |
Specifies that the ROI is in raster format. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_VECTOR |
Specifies that the ROI is in vector format. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_VECTOR_AND_RASTER |
Specifies that the ROI is in raster and vector format. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_RESOLUTION_X |
Inquires the X resolution of the image buffer in pixels per inch (PPI). SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the X resolution in PPI. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_RESOLUTION_Y |
Inquires the Y resolution of the image buffer in pixels per inch (PPI). SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the Y resolution in PPI. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SIZE_BAND |
Inquires the number of buffer color bands. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
1 |
Specifies the buffer has one band. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
2 |
Specifies the buffer has two bands. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
3 |
Specifies the buffer has three bands. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SIZE_BIT |
Inquires the depth per band. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the depth per band, in bits. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SIZE_BYTE |
Inquires the size of the buffer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the size of the buffer, in bytes. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SIZE_X |
Inquires the width of the buffer. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the width of the buffer, in pixels. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SIZE_Y |
Inquires the height of the buffer. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
Value |
Specifies the height of the buffer, in pixels. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_SYSTEM_LOCATION |
Inquires whether the specified buffer is allocated on a system on the master computer or the remote computer. (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_LOCAL |
Specifies that the buffer is allocated on a system on the master computer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_REMOTE |
Specifies that the buffer is allocated on a system on the remote computer. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_TYPE |
Inquires the buffer data type and depth. SET SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
depth value + M_FLOAT |
Specifies the data depth and that the data type is floating-point. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
depth value + M_SIGNED |
Specifies the data depth and that the data type is signed. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
depth value + M_UNSIGNED |
Specifies the data depth and that the data type is unsigned. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_XPIXMAP_HANDLE |
[This is
only applicable to Linux]
Inquires the device context of the X11 pixmap of the buffer. (more details...) |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_NULL |
Specifies that no device context is associated with the buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
Value |
Specifies the handle of the device context that is associated with the buffer. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_YCBCR_RANGE |
Inquires whether or not pixel values are limited to a signal's YCBCR range. SET (more details...) |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DISABLE |
Specifies not to YCbCr encode the YUV buffer's pixel values. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_YCBCR_HD |
Specifies to encode the YUV buffer's pixel values using the high-definition YCbCr standard. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_YCBCR_SD |
Specifies to encode the YUV buffer's pixel values using the standard-definition YCbCr standard. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s |
One of the following values might be combined with the above-mentioned values to determine the packed or planar color buffer format.
Returns the packed or planar color buffer
format
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_RGB24 |
Specifies 24-bit color depth (RGB 8:8:8) packed or planar pixels. INFO |
||||||||||||||||||||||||||||||||||||||
M_RGB48 |
Specifies 48-bit color depth (RGB 16:16:16). INFO |
||||||||||||||||||||||||||||||||||||||
M_YUV16 |
Specifies YUV16 (4:2:2) pixels. INFO |
One of the following values might be combined with the above-mentioned values to determine the packed color buffer format.
Returns the packed color buffer
format
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_BGR24 |
Specifies 24-bit color depth packed pixels (BGRBGR). INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | o | p | q | r | s | |||||||||||||||||||
M_BGR32 |
Specifies 32-bit color depth packed pixels (BGRXBGRX). INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_RGB15 |
Specifies 16-bit color depth packed pixels (XRGB 1:5:5:5). INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_RGB16 |
Specifies 16-bit color depth packed pixels (RGB 5:6:5). INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_YUV16_UYVY |
Specifies YUV16 packed (4:2:2) pixels, whereby the components of each pixel are stored in the UYVY order. INFO |
† | c | e | o | s | |||||||||||||||||||||||||||||||||
M_YUV16_YUYV |
Specifies YUV16 packed (4:2:2) pixels, whereby the components of each pixel are stored in the YUYV order. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s |
One of the following values might be combined with the above-mentioned values to determine the planar color buffer format.
Returns the planar color buffer
format
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_RGB3 |
Specifies 3-bit color depth (RGB 1:1:1) planar pixels. |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r | |||||||||||||||||||||
M_RGB96 |
Specifies 96-bit color depth (RGB 32:32:32) planar pixels. |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r | |||||||||||||||||||||
M_YUV9 |
Specifies YUV9 planar pixels. |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r | |||||||||||||||||||||
M_YUV12 |
Specifies YUV12 planar pixels. |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r | |||||||||||||||||||||
M_YUV24 |
Specifies YUV24 planar pixels. |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r |
One of the following values might be combined with the above-mentioned values to determine the location of the buffer.
Returns the location of the
buffer
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_HOST_MEMORY + |
Specifies that the buffer is in Host memory. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_MAPPABLE |
Specifies that the buffer is in non-paged memory. INFO |
† | a | b | c | e | f | g | h | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||||
M_OFF_BOARD |
Specifies that the buffer is not in on-board memory. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_ON_BOARD + |
Specifies that the buffer is in on-board memory. INFO |
† | f | g | h | i | j | k | l | m | n | p | q | r | |||||||||||||||||||||||||
M_VIDEO_MEMORY |
Specifies that the buffer is in (off-screen) display memory of your graphics controller. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s |
The following value might be combined with the above-mentioned values to determine the memory bank in which the buffer was allocated.
Returns the memory bank used
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_MEMORY_BANK_n |
[This is
only applicable to Windows]
Specifies that the buffer is allocated in the specified memory bank. INFO |
One of the following values might be combined with the above-mentioned values to determine whether the buffer was allocated in paged or non-paged memory.
Returns whether the buffer was allocated
in paged or non-paged memory
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_NON_PAGED |
Specifies that the buffer is in MIL reserved, non-pageable memory. |
||||||||||||||||||||||||||||||||||||||
M_PAGED |
Specifies that the buffer is in pageable memory. |
One or more of the following values are combined with the above-mentioned values to determine the intended purpose of the buffer.
Returns the intended purpose of the image
buffer
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_COMPRESS + |
Specifies an image buffer that can hold compressed data. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DISP |
Specifies an image buffer that can be displayed. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_GRAB |
Specifies an image buffer in which to grab data. INFO |
† | a | b | c | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_PROC + |
Specifies an image buffer that can be processed. |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s |
One of the following values might be combined with the above-mentioned value to determine the compression type.
Returns the compression type
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_JPEG2000_LOSSLESS |
Specifies that the buffer will be used to hold JPEG2000 lossless data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG2000_LOSSY |
Specifies that the buffer will be used to hold JPEG2000 lossy data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSLESS |
Specifies that the buffer will be used to hold JPEG lossless data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSLESS_INTERLACED |
Specifies that the buffer will be used to hold JPEG lossless data in separate fields. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSY |
Specifies that the buffer will be used to hold JPEG lossy data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSY_INTERLACED |
Specifies that the buffer will be used to hold JPEG lossy data in separate fields. INFO |
The following value might be combined with the above-mentioned value to determine whether the buffer was allocated with an overscan region.
Returns whether the buffer was
allocated with an overscan region
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_ALLOCATION_OVERSCAN |
Specifies that the buffer is allocated with an overscan region. INFO |
One of the following values might be combined with the above-mentioned values to determine the storage format and location specifier.
You might have set this value, or it could have been automatically selected by MIL.
Returns the storage format and
location specifier
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_DIB |
Specifies that the buffer is a DIB buffer. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_DIRECTX |
Specifies that the buffer is a DirectX surface. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s | |||||||||||||||||||
M_GDI |
Specifies that the buffer is compatible with GDI. INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_LINUX_MXIMAGE |
Specifies that the buffer is an X11 Ximage. |
† | a | b | c | d | e | g | h | i | j | k | l | m | n | o | p | q | r | s |
The following value might be combined with the above-mentioned values to determine whether the buffer is FPGA accessible.
Returns whether the buffer is
FPGA accessible
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_FPGA_ACCESSIBLE + |
Specifies that the buffer is allocated in a bank of memory that is accessible from the Processing FPGA. INFO |
† | j | l | m | p | r |
One of the following values might be combined with the above-mentioned values to set a location in a specific type of memory.
For specifying a location in a
specific type of memory
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_FAST_MEMORY |
Specifies that the buffer is in the fastest memory available. INFO |
† | j | l | m | p | r | ||||||||||||||||||||||||||||||||
M_SHARED |
Specifies that the buffer is in shared processing memory. INFO |
† | j | k | l | m | p | q | r |
One of the following values might be combined with the above-mentioned values to determine the format in which color buffers were stored.
Returns the format in which color
buffers were stored
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
MIL system-specific tooltip (†) |
|||||||||||||||||||||||||||||||||||||
M_PACKED + |
Specifies that the buffer's bands are stored in packed format (color buffer only); that is, the pixel components are stored together (RGB RGB RGB...). INFO |
† | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | ||||||||||||||||||
M_PLANAR + |
Specifies that the buffer's bands are stored in planar format (color buffer only); that is, each pixel is stored as three component planes (RRR... GGG... BBB...). INFO |
† | a | b | d | e | f | g | h | i | j | k | l | m | n | p | q | r |
For M_KERNEL and M_STRUCT_ELEMENT data buffers only (see MbufControlNeighborhood() for possible values), you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_KERNEL and M_STRUCT_ELEMENT
data buffers
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_OFFSET_CENTER_X |
Inquires the X-coordinate of the center of the kernel or structuring element. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value < SizeX |
Specifies the value of the X-coordinate. |
||||||||||||||||||||||||||||||||||||||
M_OFFSET_CENTER_Y |
Inquires the Y-coordinate of the center of the kernel or structuring element. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value < SizeY |
Specifies the value of the Y-coordinate. |
||||||||||||||||||||||||||||||||||||||
M_OVERSCAN |
Inquires the overscan type. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that MIL automatically selects the type of overscan to optimize speed and logic according to the specified operation and the target system. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies that no overscan will be used, unless processing the border pixels is faster than ignoring them; in the latter case, MIL automatically selects the overscan to optimize speed according to the specified operation and the target system. |
||||||||||||||||||||||||||||||||||||||
M_FAST |
Specifies that MIL automatically selects the overscan to optimize speed according to the specified operation and the target system. INFO |
||||||||||||||||||||||||||||||||||||||
M_MIRROR |
Specifies a type of overscan that processes the border pixels of a source image using overscan pixel values that mirror the source buffer pixel values. INFO |
||||||||||||||||||||||||||||||||||||||
M_REPLACE |
Specifies a type of overscan that processes the border pixels of a source image using overscan pixel values set to the overscan replacement value (M_OVERSCAN_REPLACE_VALUE). |
||||||||||||||||||||||||||||||||||||||
M_TRANSPARENT |
Specifies a type of overscan that processes the border pixels of a source image using transparent overscan pixel values. INFO |
||||||||||||||||||||||||||||||||||||||
M_OVERSCAN_REPLACE_VALUE |
Inquires the replacement value for the overscan pixel values. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_REPLACE_MAX |
Specifies that the overscan neighborhood pixel values will be set to the maximum value of the source buffer. |
||||||||||||||||||||||||||||||||||||||
M_REPLACE_MIN |
Specifies that the overscan neighborhood pixel values will be set to the minimum value of the source buffer. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the value of the overscan neighborhood pixels. |
||||||||||||||||||||||||||||||||||||||
M_SATURATION |
Inquires whether results are saturated. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to saturate results, except when MIL can take advantage of optimization routines to accelerate the processing. INFO |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to saturate results. INFO |
For M_KERNEL data buffers only (see MbufControlNeighborhood() for possible values), you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_KERNEL data buffers
only
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_ABSOLUTE_VALUE |
Inquires whether the absolute value should be taken. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to take the absolute value of the result. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to take the absolute value of the result. INFO |
||||||||||||||||||||||||||||||||||||||
M_FILTER_MODE |
Inquires the mode in which to apply the filter. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_KERNEL |
Specifies the use of a non-recursive implementation of the filter. INFO |
||||||||||||||||||||||||||||||||||||||
M_RECURSIVE |
Specifies the use of a recursive implementation of an Infinite Impulse Response (IIR) filter, when applicable. INFO |
||||||||||||||||||||||||||||||||||||||
M_FILTER_OPERATION |
Inquires the type of neighborhood operation to perform using the selected filter. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_EDGE_DETECT |
Specifies to compute the gradient of the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_EDGE_DETECT_SQR |
Specifies to compute the square of the gradient of the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_FIRST_DERIVATIVE_X |
Specifies to compute the first derivative of the image with respect to X using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_FIRST_DERIVATIVE_Y |
Specifies to compute the first derivative of the image with respect to Y using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_HORIZ_EDGE |
Specifies to compute the absolute value of the horizontal derivative of the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_LAPLACIAN_EDGE |
Specifies to compute the Laplacian values of the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_SECOND_DERIVATIVE_X |
Specifies to compute the second derivative of the image with respect to X using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_SECOND_DERIVATIVE_XY |
Specifies to compute the second derivative of the image with respect to X and Y using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_SECOND_DERIVATIVE_Y |
Specifies to compute the second derivative of the image with respect to Y using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_SHARPEN |
Specifies to compute a sharpening operation on the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_SMOOTH |
Specifies to compute a smoothing operation on the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_VERT_EDGE |
Specifies to compute the absolute value of the vertical derivative of the image using the Shen-Castan or Canny-Deriche filter. |
||||||||||||||||||||||||||||||||||||||
M_FILTER_SMOOTHNESS |
Inquires the degree of smoothness (strength of the denoising) applied by the filter during the neighborhood operation. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 100 |
Specifies the smoothness value. INFO |
||||||||||||||||||||||||||||||||||||||
M_FILTER_TYPE |
Inquires the type of filter used to perform the neighborhood operation. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DERICHE |
Specifies a Canny-Deriche Infinite Support filter. INFO |
||||||||||||||||||||||||||||||||||||||
M_SHEN |
Specifies a Shen-Castan Infinite Support Exponential filter. INFO |
||||||||||||||||||||||||||||||||||||||
M_USER_DEFINED |
Specifies a user-defined filter. INFO |
||||||||||||||||||||||||||||||||||||||
M_NORMALIZATION_FACTOR |
Inquires the normalization factor. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the normalization factor. INFO |
For M_IMAGE + M_COMPRESS image buffers (see MbufAlloc...() for possible values), you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS image
buffers
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_COMPRESSION_TYPE |
[For
essential MIL-Lite information, see remarks ]
Inquires the type of compression. SET SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_JPEG2000_LOSSLESS |
Specifies that the buffer holds JPEG2000 lossless data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG2000_LOSSY |
Specifies that the buffer holds JPEG2000 lossy data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSLESS |
Specifies that the buffer holds JPEG lossless data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSLESS_INTERLACED |
Specifies that the buffer holds JPEG lossless data in separate fields. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSY |
Specifies that the buffer holds JPEG lossy data. INFO |
||||||||||||||||||||||||||||||||||||||
M_JPEG_LOSSY_INTERLACED |
Specifies that the buffer holds JPEG lossy data in separate fields. INFO |
For M_IMAGE + M_COMPRESS image buffers with a M_JPEG_LOSSY, M_JPEG_LOSSY_INTERLACED, or M_JPEG2000_LOSSY compression type, you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS (with
M_JPEG_LOSSY, M_JPEG_LOSSY_INTERLACED, or
M_JPEG2000_LOSSY)
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_Q_FACTOR + |
[For
essential MIL-Lite information, see remarks ]
Inquires the quantization factor for both JPEG2000 lossy and JPEG lossy buffers. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 99 |
Specifies the quantization factor. INFO |
||||||||||||||||||||||||||||||||||||||
M_Q_FACTOR_CHROMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the quantization factor of the U and V bands for both JPEG2000 lossy and JPEG lossy buffers in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 99 |
Specifies the factor. INFO |
||||||||||||||||||||||||||||||||||||||
M_Q_FACTOR_LUMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the quantization factor of the Y band for both JPEG2000 lossy and JPEG lossy buffers in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
1 <= Value <= 99 |
Specifies the factor. INFO |
||||||||||||||||||||||||||||||||||||||
M_QUANTIZATION + |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the quantization table (for a JPEG lossy or JPEG2000 lossy buffer), which is associated with the image buffer. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
||||||||||||||||||||||||||||||||||||||
M_QUANTIZATION_CHROMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the quantization table associated with the U and V bands, for both JPEG2000 lossy and JPEG lossy buffers in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
||||||||||||||||||||||||||||||||||||||
M_QUANTIZATION_LUMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the quantization table associated with the Y band, for both JPEG2000 lossy and JPEG lossy buffers in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
For M_IMAGE + M_COMPRESS image buffers with a M_JPEG2000_LOSSY or M_JPEG2000_LOSSLESS compression type, you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS (with
M_JPEG2000_LOSSY or M_JPEG2000_LOSSLESS)
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_DECOMPOSITION_LEVEL + |
[For
essential MIL-Lite information, see remarks ]
Inquires the number of iterations the discrete wavelet transform is applied to the image (for single-band images) or on the first band of the image (for 3-band images). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies the number of iterations (decomposition levels). INFO |
||||||||||||||||||||||||||||||||||||||
M_NUMBER_SUBBAND + |
[For
essential MIL-Lite information, see remarks ]
Inquires the number of sub-bands rendered from the discrete wavelet transform passed on an image (for 1-band images) or on the first band of a 3-band image. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of sub-bands. |
You can add one of the following values to the above-mentioned values to set the band about which to inquire.
Note that when dealing with M_Q_FACTOR and M_QUANTIZATION, the following combination constants are available only for use with JPEG2000 lossy buffers.
For M_DECOMPOSITION_LEVEL,
M_NUMBER_SUBBAND, M_Q_FACTOR (for JPEG2000 lossy buffers), and
M_QUANTIZATION (for JPEG2000 lossy buffers)
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_BLUE |
Inquires about the blue band only (for RGB buffers). |
||||||||||||||||||||||||||||||||||||||
M_GREEN |
Inquires about the green band only (for RGB buffers). |
||||||||||||||||||||||||||||||||||||||
M_RED |
Inquires about the red band only (for RGB buffers). |
||||||||||||||||||||||||||||||||||||||
M_U |
Inquires about the U band only (for YUV buffers). |
||||||||||||||||||||||||||||||||||||||
M_V |
Inquires about the V band only (for YUV buffers). |
||||||||||||||||||||||||||||||||||||||
M_Y |
Inquires about the Y band only (for YUV buffers). |
For M_IMAGE + M_COMPRESS image buffers with a M_JPEG2000_LOSSY compression type, you can set the InquireType parameter to the following value.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS (with
M_JPEG2000_LOSSY)
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_TARGET_SIZE |
[For
essential MIL-Lite information, see remarks ]
Inquires the requested size of the compressed buffer in bytes. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies M_DEFAULT if no size has been requested. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the size, in bytes. INFO |
For M_IMAGE + M_COMPRESS image buffers with a M_JPEG_LOSSY, M_JPEG_LOSSY_INTERLACED, M_JPEG_LOSSLESS, or M_JPEG_LOSSLESS_INTERLACED compression type, you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS (with
M_JPEG_LOSSY, M_JPEG_LOSSY_INTERLACED, M_JPEG_LOSSLESS, or
M_JPEG_LOSSLESS_INTERLACED)
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_HUFFMAN_DC |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the DC Huffman table which is associated with the image buffer. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. INFO |
||||||||||||||||||||||||||||||||||||||
M_HUFFMAN_DC_CHROMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the DC Huffman table that is associated with the U and V bands of a JPEG lossy buffer in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
||||||||||||||||||||||||||||||||||||||
M_HUFFMAN_DC_LUMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the DC Huffman table that is associated with the Y band of a JPEG lossy buffer in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
For M_IMAGE + M_COMPRESS image buffers with a M_JPEG_LOSSLESS or M_JPEG_LOSSLESS_INTERLACED compression type, you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS (with
M_JPEG_LOSSLESS, or M_JPEG_LOSSLESS_INTERLACED)
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_PREDICTOR |
[For
essential MIL-Lite information, see remarks ]
Inquires the type of predictor. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
0 |
Specifies predictor #0 (no prediction). |
||||||||||||||||||||||||||||||||||||||
1 |
Specifies predictor #1 (the "pixel-to-the-left" predictor). |
||||||||||||||||||||||||||||||||||||||
2 |
Specifies predictor #2 (the "pixel-above" predictor). |
||||||||||||||||||||||||||||||||||||||
M_RESTART_INTERVAL |
[For
essential MIL-Lite information, see remarks ]
Inquires the number of lines between restart markers (for JPEG lossless buffers) or number of 8x8 blocks of data between restart markers (for JPEG lossy buffers). SET (more details...) |
||||||||||||||||||||||||||||||||||||||
Value >= 0 |
Specifies after how many rows (for JPEG lossless buffers) or 8x8 blocks (for JPEG lossy buffers) of data to place restart markers. INFO |
For M_IMAGE + M_COMPRESS image buffers with a M_JPEG_LOSSY or M_JPEG_LOSSY_INTERLACED compression type, you can set the InquireType parameter to one of the following values.
Unless otherwise specified, the following values require that you pass the UserVarPtr parameter the address of a MIL_INT.
For M_IMAGE + M_COMPRESS (with
M_JPEG_LOSSY, or M_JPEG_LOSSY_INTERLACED)
|
|||||||||||||||||||||||||||||||||||||||
InquireType |
Description
|
||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_HUFFMAN_AC |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the AC Huffman table that is associated with the image buffer. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. INFO |
||||||||||||||||||||||||||||||||||||||
M_HUFFMAN_AC_CHROMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the AC Huffman table that is associated with the U and V bands of a JPEG buffer in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
||||||||||||||||||||||||||||||||||||||
M_HUFFMAN_AC_LUMINANCE |
[For
essential MIL-Lite information, see remarks ]
Inquires the identifier of the array buffer containing the AC Huffman table that is associated with the Y band of a JPEG buffer in YUV format. SET (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr data type info |
Data
type: MIL_ID |
||||||||||||||||||||||||||||||||||||||
MIL M_ARRAY buffer identifier |
Specifies the identifier of the array buffer containing the table. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |