Honeywell and 5380 Frozen Dessert Maker User Manual


 
4 - 8
RECT boundingRect; Rectangle describing a window within the image.
All pixels outside this rectangle are omitted from
the transferred image.
BOOL bHistogramStretch; Scaled frequency of total image pixels.
Compression_t compressionMode; How image is compressed on transfer. Compres-
sion reduces the amount of data to transfer but
can reduce image quality (Lossy compression)
and does take a finite length of time.
DWORD dwCompressionFactor; Lossy compression is JPEG lossy. If lossy com-
pression, this value specifies the image quality
percentage from 100 (virtually no loss) to 1 (very
poor). Image size drops with decrease in image
quality.
DWORD dwEdgeEhancement; A sharpening filter used to sharpen light/dark
edges within the image. The valid range of values
is 0 (no edge enhancement) to 23 (maximum edge
enhancement).
DWORD dwGammaCorrection; Applies gamma correction to the image. The valid
range is 0 (no gamma correction) to 1000 (maxi-
mum correction).
DWORD dwTextEnhancement; This filter is an edge sharpening filter optimized for
text. The valid range is 0 (no text enhancement) to
255 (maximum enhancement).
BOOL bInfinityFilter; This is a boolean flag (TRUE or FALSE) that
applies a filter to the image that sharpens objects
beyond the normal focal distance of the imager.
BOOL bFlipImage; This is a boolean flag (TRUE or FALSE) that flips
the image 180°
BOOL bNoiseFilter; This is a boolean flag (TRUE or FALSE) that
enables or disables the imager smoothing filter.
Transfer time only, not stored in imager:
HWND hTransferNotifyHwnd; The user-defined window message.
WM_HHP_PROGRESS_HWND_MSG (wParam
is bytes so far, lParam is bytes to send) will be
sent if this member mask specified and its value is
a valid windows handle.
PDWORD pdwTransferPercent; If non-NULL and specified in MASK, the percent
complete of the transfer is placed here. It is up to
the caller to check the value in a thread or timer
callback.
} HHP_IMAGE_TRANSFER, *PHHP_IMAGE_TRANSFER;
Data structure for captured image: hhpAcquireImage(), hhpGetLastImage() and hhpGetAsyncResult(). Not stored in im-
ager.
typedef struct _tagHHP_IMAGE
{
DWORD dwStructSize; Size of structure in bytes.
PBYTE puchBuffer; Buffer for image.
LONG nBufferSize; Size of buffer in bytes.
FileFormat_t fileFormat; Format for returned data.
DWORD dwJpegQFactor; JPEG Quality Factor.
LONG nBytesReturned; Number of bytes returned.
SIZE imgSize; Size of image returned.
LONG nCapturedFrames; Number of frames captured prior to this image.
LONG nGain; Gain value used to capture this image.
LONG nExposureTime; Exposure time used to capture this image.