Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Vector Transforms » NormalizePixelVectors
NormalizePixelVectors
Header: | AVL.h |
---|---|
Namespace: | avl |
Adjusts gradient angles to a given range.
Syntax
C++
C#
void avl::NormalizePixelVectors ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::GradientAngleRange::Type inAngleRange, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
inAngleRange | GradientAngleRange::Type | |||
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.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in NormalizePixelVectors. |
DomainError | Not supported inImage pixel format in NormalizePixelVectors. |