Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Vector Transforms » RotatePixelVectors

RotatePixelVectors


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Rotates image gradients.

Syntax

C++
C#
 
void avl::RotatePixelVectors
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	const float inAngle,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of pixels to be processed
Input value inAngle const float
Output value outImage Image& Output image

Requirements

For input inImage only pixel formats are supported: 2⨯uint8, 2⨯uint16, 2⨯int8, 2⨯int16, 2⨯int32, 2⨯real.

Read more about pixel formats in Image documentation.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in RotatePixelVectors.
DomainError Not supported inImage pixel format in RotatePixelVectors. Supported formats: 2xUInt8, 2xUInt16, 2xInt8, 2xInt16, 2xInt32, 2xReal.