Back to Aurora Vision Library website

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

DownsampleImage_Midlevels


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Shrinks an image by the factor of 1.5 or SQRT(2) along each axis.

Applications: Usually used to speed-up image analysis at the cost of reduced precision. It is internally used to implement the pyramid strategy.

Syntax

C++
C#
 
void avl::DownsampleImage_Midlevels
(
	const avl::Image& inImage,
	const int inScaleStep,
	avl::MidlevelScale::Type inMidlevelScale,
	avl::Image& outImage
)

Parameters

Name Type Range Default Description
Input value inImage const Image& Input image
Input value inScaleStep const int 0 - 12 1 Defines how many times the image size is divided by 1.5 or SQRT(2)
Input value inMidlevelScale MidlevelScale::Type Determines which scale will be used
Output value outImage Image& Output image

Hardware Acceleration

This operation is optimized for SSE2 technology for pixels of type: 1xUINT8.

This operation is optimized for SSSE3 technology for pixels of type: 3xUINT8.

This operation supports automatic parallelization for multicore and multiprocessor systems.