imaqShift
Usage
int imaqShift(Image* dest, const Image* source, int shiftX, int shiftY, PixelValue fill);
Purpose
Shifts an image.
Image Types Supported
IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL, IMAQ_IMAGE_RGB, IMAQ_IMAGE_HSL
Parameters
Name
|
Type
|
Description
|
---|---|---|
dest | Image* | The destination image. |
source | const Image* | The image to shift. |
shiftX | int | Specifies how many pixels to the right to shift the image. |
shiftY | int | Specifies how many pixels down to shift the image. |
fill | PixelValue | The value with which the function fills the uncovered image pixels. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |