|
Synergy Color Management Component - SDK -
2018.0.80
|
Region of interest class. More...
Public Member Functions | |
| ROI (unsigned x, unsigned y, unsigned width, unsigned height, unsigned imageWidth, unsigned imageHeight) | |
| Detailed ROI constructor. More... | |
| ROI (unsigned imageWidth, unsigned imageHeight) | |
| Constructor of an ROI that corresponds to the entire image. More... | |
| ~ROI () | |
| Destructor. More... | |
| unsigned | getNumROIPixels () const |
| Number of pixels in the ROI. More... | |
| unsigned | getX () const |
| Bottom left corner x offset. More... | |
| unsigned | getY () const |
| Bottom left corner y offset. More... | |
| unsigned | getActiveWidth () const |
| ROI width. More... | |
| unsigned | getActiveHeight () const |
| ROI height. More... | |
| unsigned | getImageWidth () const |
| Image width. More... | |
| unsigned | getImageHeight () const |
| Image height. More... | |
Private Attributes | |
| unsigned | _x |
| Bottom left corner x offset. More... | |
| unsigned | _y |
| Bottom left corner y offset. More... | |
| unsigned | _width |
| ROI width. More... | |
| unsigned | _height |
| ROI height. More... | |
| unsigned | _imageWidth |
| Width of the image containing the ROI. More... | |
| unsigned | _imageHeight |
| Height of the image containing the ROI. More... | |
Region of interest class.
The ROI class describes the region of interest within an image onto which to apply a color transformation. It defines a rectangle with bottom left at (x,y) of size (width, height) within a rectangle with bottom left at (0,0) of size (imageWidth, imageHeight).
| SYNCOLOR::ROI::ROI | ( | unsigned | x, |
| unsigned | y, | ||
| unsigned | width, | ||
| unsigned | height, | ||
| unsigned | imageWidth, | ||
| unsigned | imageHeight | ||
| ) |
| SYNCOLOR::ROI::ROI | ( | unsigned | imageWidth, |
| unsigned | imageHeight | ||
| ) |
| SYNCOLOR::ROI::~ROI | ( | ) |
Destructor.
|
inline |
Number of pixels in the ROI.
|
inline |
Bottom left corner x offset.
|
inline |
Bottom left corner y offset.
|
inline |
Image width.
|
inline |
Image height.
|
private |
Bottom left corner x offset.
|
private |
Bottom left corner y offset.
|
private |
ROI width.
|
private |
ROI height.
|
private |
Width of the image containing the ROI.
|
private |
Height of the image containing the ROI.