Back to Aurora Vision Library Lite website
You are here: Start » Image » Image Spatial Transforms » TranslateImage
TranslateImage
Header: | AVL.h |
---|---|
Namespace: | avl |
Translates an image by a vector, without changing its dimensions.
Applications: E.g. camera shaking reduction.
Syntax
void avl::TranslateImage ( const avl::Image& inImage, const avl::Pixel& inBorder, int inDeltaX, int inDeltaY, bool inInverse, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inBorder | const Pixel& | Color used to fill pixels outside of the translated image | ||
inDeltaX | int | Horizontal shift | ||
inDeltaY | int | Vertical shift | ||
inInverse | bool | Switches to the inverse operation | ||
outImage | Image& | Output image |