MbufRestore()函数

Synopsis

Restore MIL file format data from a file into an automatically allocated data buffer.

Format

MIL_ID MbufRestore(FileName, SystemId, BufIdPtr)

char *FileName; Source file name
MIL_ID SystemId; System identifier
MIL_ID *BufIdPtr; Storage location for MIL buffer identifier

继续阅读MbufRestore()函数

MbufPut2d()函数

Synopsis

Put data from a user-supplied array into a 2D area of a buffer.

Format

void MbufPut2d(DestBufId, OffX, OffY, SizeX, SizeY, UserArrayPtr)

MIL_ID DestBufId; Destination buffer identifier
long OffX; X pixel offset relative to destination buffer origin
long OffY; Y pixel offset relative to the destination buffer origin
long SizeX; Width of destination buffer area in which to put data
long SizeY; Height of destination buffer area in which to put data
void *UserArrayPtr; Source user array

继续阅读MbufPut2d()函数

MbufPutLine()函数

Synopsis

Write a specified series of pixels within specified coordinates, along a theoretical line.

Format

void MbufPutLine(ImageBufId, StartX, StartY, EndX, EndY, Mode, NumbPixelsPtr, UserArrayPtr)

MIL_ID ImageBufId; Image buffer identifier
long StartX; X start position on the line
long StartY; Y start position on the line
long EndX; X end position on the line
long EndY; Y end position on the line
long Mode; Operation mode
long *NumPixelsPtr Number of pixels
void *UserArrayPtr; Source user array

继续阅读MbufPutLine()函数

MbufPut1d()函数

Synopsis

Put data from a user-supplied array into a 1D area of a buffer.

Format

void MbufPut1d(DestBufId, OffX, SizeX, UserArrayPtr)

MIL_ID DestBufId; Destination buffer identifier
long OffX; X pixel offset relative to destination buffer origin
long SizeX; Width of destination buffer area in which to put data
void *UserArrayPtr; Source user array

继续阅读MbufPut1d()函数

MbufPutColor2d()函数

Synopsis

Put data from a user-supplied array into a region of one or all bands of a data buffer.

Format

void MbufPutColor2d(DestBufId, DataFormat, Band, OffX, OffY, SizeX, SizeY, UserArrayPtr)

MIL_ID DestBufId; Destination buffer identifier
long DataFormat; Data format of source user array
long Band; Color band in destination buffer
long OffX; X pixel offset relative to the parent buffer
long OffY; Y pixel offset relative to the parent buffer
long SizeX; Destination buffer region width
long SizeY; Destination buffer region height
void *UserArrayPtr; Source user array

继续阅读MbufPutColor2d()函数

MbufPutColor()函数

Synopsis

Put data from a user-supplied array into one or all bands of a data buffer.

Format

void MbufPutColor(DestBufId, DataFormat, Band, UserArrayPtr)

MIL_ID DestBufId; Destination buffer identifier
long DataFormat; Data format of source user array
long Band; Color band in destination buffer
void *UserArrayPtr; Source user array

继续阅读MbufPutColor()函数