Back to FabImage Library website

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

NormalizePixelVectors


Header: FIL.h
Namespace: fil
Module: FoundationBasic

Adjusts gradient angles to a given range.

Syntax

C++
C#
 
void fil::NormalizePixelVectors
(
	const fil::Image& inImage,
	ftl::Optional<const fil::Region&> inRoi,
	fil::GradientAngleRange::Type inAngleRange,
	fil::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 inAngleRange GradientAngleRange::Type
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 NormalizePixelVectors.
DomainError Not supported inImage pixel format in NormalizePixelVectors. Supported formats: 2xUInt8, 2xUInt16, 2xInt8, 2xInt16, 2xInt32, 2xReal.