Back to Aurora Vision Library Lite website
You are here: Start » Image » Image Basics » GetImagePixel
GetImagePixel
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
Returns a single pixel of an image.
Syntax
void avl::GetImagePixel ( const avl::Image& inImage, const avl::Location& inLocation, avl::Pixel& outPixel, float& outValue )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
inLocation | const Location& | Location of the pixel to be accessed | |
![]() |
outPixel | Pixel& | Output pixel | |
![]() |
outValue | float& | Average pixel value |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Input location exceeds dimensions of an input image in GetImagePixel. |


