You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms » FIL.ShrinkImageNTimes

FIL.ShrinkImageNTimes

Shrinks an image by a natural factor along each axis.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ShrinkImageNTimes
(
	FilNet.Image inImage,
	int inNX,
	FilNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inNXint<1, INF>2Default value: 2.
outImageFilNet.ImageOutput image.

Description

The operation shrinks the inImage reducing its dimensions by a natural factor.

Examples

ShrinkImageNTimes performed on the sample image with inNX = 2, inNY = 2.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.

This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.

This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError ROI is out of inImage range in ShrinkImageNTimes.

Function Overrides

See also