You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms Maps » AVL.CreateImageResizeMap

AVL.CreateImageResizeMap

Creates a spatial map representing an image resizing.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateImageResizeMap
(
	AvlNet.ImageFormat inImageFormat,
	int inNewWidth,
	int inNewHeight,
	AvlNet.InterpolationMethod inInterpolationMethod,
	AvlNet.SpatialMap outResizeMap
)

Parameters

Name Type Range Default Description
inImageFormatAvlNet.ImageFormatInformation about dimensions, depth and pixel type of the image.
inNewWidthint<1, INF>Width of an image created by output spatial map application.
inNewHeightint<1, INF>Height of an image created by output spatial map application.
inInterpolationMethodAvlNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outResizeMapAvlNet.SpatialMapOutput spatial map.

Description

The operation generates map that stretches or shrinks the image. Two modes of pixel interpolation are available, the bilinear filtering being more precise and computationally expensive. Usually creating map and then using RemapImage is faster than ResizeImage.

Function Overrides

See also