| MIL Command |
MIL Description |
Native Library Command |
Comments |
| MbufAllocColor() |
Allocate a color data buffer. |
imBufAlloc() |
Function is equivalent for processing buffers, however display
buffers should be allocated with imBufChild(). |
| MbufAlloc1d() |
Allocate a 1-d buffer. |
imBufAlloc1d() |
Function is equivalent, display buffer should be allocated with
imBufChild(). |
| MbufAlloc2d() |
Allocate a 2-d buffer. |
imBufAlloc2d() |
Function is equivalent, display buffer should be allocated with
imBufChild(). |
| MbufChildColor() |
Allocate a child data buffer within a color parent
buffer. |
imBufChildBand() |
|
| MbufChild1d() |
Allocate a 1D child data buffer. |
imBufChild() |
Allocate a one-dimensional child buffer with the Xstart and
Xsize parameters. |
| MbufChild2d() |
Allocate a 2D child data buffer. |
imBufChild() |
Allocate a two-dimensional child buffer with the Xstart, Ystart,
Xsize, and Ysize parameters. |
| MbufClear() |
Clear buffer to a color. |
imBufClear() |
|
| MbufControl() |
Control buffer features. |
not available |
|
| MbufControlNeighborhood() |
Change the value of an operation flag associated with a custom kernel
or structuring element. |
imBufPutField() |
With the Native Library, this MIL function does not exist as a
specific function. See individual neighborhood functions. (e.g. operation flag
M_OVERSCAN's M_TRANSPARENT and M_REPLACE are specified with imIntConvolve's
Control parameter IM_CTL_OVERSCAN) |
| MbufCopy() |
Copy data from one buffer to another. |
imBufCopy() or imBufCopyPCI() or
imBufCopyVM() |
With the Native Library, a user can specify the data path (over the
PCI bus or VM channel), to copy data to a destination buffer. |
| MbufCopyClip() |
Copy buffer clipping data outside destination buffer. |
imBufChild() and imBufCopy() |
First allocate a child buffer and then copy the buffer. |
| MbufCopyColor() |
Copy one or all bands of an image buffer. |
imBufChildBand() and imBufCopy() |
First allocate a one-band child buffer and then copy the
buffer. |
| MbufCopyCond() |
Copy conditionally the source buffer to the destination
buffer. |
imIntBinarize() and imIntTriadic() |
Binarize a conditional buffer, then call imIntTriadic(), setting the
operation parameter to : IM_PP_MERGE. |
| MbufCopyMask() |
Copy buffer with mask. |
imIntTriadic() |
Call imIntTriadic(), setting the operation parameter to :
IM_PP_MERGE. |
| MbufDiskInquire() |
Inquire about the buffer data in a file. |
not available |
|
| MbufExport() |
Export a data buffer to a file using the specified output file
format. |
imBufSave() |
|
| MbufFree() |
Free a data buffer. |
imBufFree() |
|
| MbufGet() |
Get data from a buffer and place it in a user-supplied
array. |
imBufGet() |
|
| MbufGet1d() |
Get data from a 1-d area of a buffer and place it in a user-supplied
array. |
imBufGet1d() |
|
| MbufGet2d() |
Get data from a 2-d area of a buffer and place it in a user-supplied
array. |
imBufGet2d() |
|
| MbufGetColor() |
Get data from one or all bands of a buffer and place it in a
user-supplied array. |
imBufChild() and imBufGet() |
First allocate a child buffer in a certain band of color, and then
get the data. |
| MbufGetLine() |
Read a series of pixels within specified coordinates, count them, and
store them in a user defined array. |
imBufMap() |
Create a pointer to the buffer data using imBufMap(), then use the
pointer to read the pixels along the line. |
| MbufImport() |
Import data from a file into a data buffer taking into account its
file format. |
imBufRestore() or imBufLoad() |
imBufRestore() loads data from a file into an automatically allocated
buffer while imBufLoad() loads data into a specified buffer |
| MbufInquire() |
Inquire about a data buffer |
imBufInquire() |
|
| MbufLoad() |
Load data from a file into a data buffer assuming it is in a MIL file
format. |
imBufLoad() |
|
| MbufPut() |
Transfer data from Host memory to a buffer. |
imBufPut() |
|
| MbufPutColor() |
Put data from a user-supplied array into one or all bands of a data
buffer. |
imChild() and imBufPut() |
First allocate a child buffer, then transfer data to the
buffer. |
| MbufPutLine() |
Write a specified series of pixels within specified coordinates on a
line. |
imBufMap() |
Create a pointer to the buffer data using imBufMap, then use the
pointer to write the pixels along the line. |
| MbufPut1d() |
Put data from a user-supplied array into a 1-d area of a
buffer. |
imBufPut1d() |
|
| MbufPut2d() |
Put data from a user-supplied array into a 2-d area of a
buffer. |
imBufPut2d() |
|
| MbufRestore() |
Restore MIL file format data from a file into an automatically
allocated data buffer. |
imBufRestore() |
|
| MbufSave() |
Save a data buffer in a file using the MIL output file
format. |
imBufSave() |
|