long GetImageData(
LPCTSTR i_strImageID,
long i_nPhysicalXPos,
long i_nPhysicalYPos,
long i_nPhysicalZPos,
float i_fMag,
long FAR* o_nPhysicalWidth,
long FAR* o_nPhysicalHeight,
void *i_pBuffer,
long *io_nBufferSize)
Retrieves a region of interest from the specified image at the specified
position and resolution.
i_strImageID Filename of the image to use
i_nPhysicalXPos Physical X pos of the centre of the desired image in nm
i_nPhysicalYPos Physical Y pos of the centre of the desired image in nm
i_nPhysicalZPos Physical Z (focal) pos of the of the desired image in nm
i_fMag Desired equivalent objective magnification of the image.
o_nPhysicalWidth Physical width of this image in nm
o_nPhysicalHeight Physical height of this image in nm
i_pBuffer User supplied buffer to receive the image data
io_nBufferSize Size of the user supplied buffer (if the supplied buffer is
too small then this is updated to reflect the required size
and no data is copied
Return value Non-zero if the call succeeds, zero if the call fails (use
GetLastErrorMessage for more details on failure).
Partager