Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region » Region Spatial Transforms » ResizeRegion

ResizeRegion


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Enlarges or shrinks a region to new dimensions.

Syntax

C++
C#
 
void avl::ResizeRegion
(
	const avl::Region& inRegion,
	atl::Optional<int> inNewWidth,
	atl::Optional<int> inNewHeight,
	avl::Region& outRegion
)

Parameters

Name Type Range Default Description
inRegion const Region& Input region
inNewWidth Optional<int> 1 - 65535 NIL
inNewHeight Optional<int> 1 - 65535 NIL
outRegion Region& Output region

Examples

ResizeRegion performed on the sample region with inNewWidth = 200, inNewHeight = 100.

See Also

  • ResizeImage – Enlarges or shrinks an image to new dimensions.