Back to FabImage Library website

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

EnlargeRegionNTimes


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Enlarges a region by a natural factor.

Syntax

C++
C#
 
void fil::EnlargeRegionNTimes
(
	const fil::Region& inRegion,
	int inN,
	fil::Region& outRegion
)

Parameters

Name Type Range Default Description
Input value
inRegion const Region& Input region
Input value
inN int 1 - 2 The scaling coefficient
Output value
outRegion Region& Output region

Examples

EnlargeRegionNTimes performed on the sample region.

Errors

List of possible exceptions:

Error type Description
DomainError Input and output regions are not distinct in EnlargeRegionNTimes.
DomainError Output region too big in EnlargeRegionNTimes.