Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Spatial Transforms » UncropImage


Header: AVL.h
Namespace: avl
Module: FoundationLite

Inverse of CropImage.


void avl::UncropImage
	const avl::Image& inImage,
	const avl::Box& inSelection,
	int inWidth,
	int inHeight,
	avl::Image& outImage


Name Type Range Default Description
Input value
inImage const Image& Input image
Input value
inSelection const Box& The same value as in CropImage
Input value
inWidth int 0 - Width of the original image
Input value
inHeight int 0 - Height of the original image
Output value
outImage Image& Output image


Inverse of CropImage. Can create borders around original image e.g. passing x:50 y:50 will create new image with filled 50 pixels on top and 50 on left of the original image. inWidth and inHeight specifies the new image dimensions, Width and Height from inSelection property are not used.


inSelection property Preview
origin in x:0 y:0
origin in x:50 y:50

See Also

  • CropImage – Creates an image from a box-shaped fragment of the input image (with margins if requested).