Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Vector Transforms » MeasurePixelVectors
MeasurePixelVectors
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationBasic |
Computes gradient magnitudes of an image.
Syntax
C++
C#
void avl::MeasurePixelVectors ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::Image& outImage )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed |
![]() |
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 MeasurePixelVectors. |
| DomainError | Not supported inImage pixel format in MeasurePixelVectors. Supported formats: 2xUInt8, 2xUInt16, 2xInt8, 2xInt16, 2xInt32, 2xReal. |


