#include <RegionBox.h>
List of all members.
Public Member Functions |
| RegionBox (const QList< int > &pixel_x, const QList< int > &pixel_y) |
QString | toString (const Vector< int > &imageBLC, const Vector< int > &imageTRC) const |
QString | toStringLabelled (const Vector< int > &imageBLC, const Vector< int > &imageTRC) const |
void | update (const QList< int > &pixelX, const QList< int > &pixelY) |
bool | isInBox (double valueX, double valueY) const |
virtual | ~RegionBox () |
Private Member Functions |
void | clear () |
QVector< int > | getActualBLC (const Vector< int > &imageBLC, const Vector< int > &imageTRC, bool *valid) const |
| Code was crashing when the region box bounds were bigger than the image bounds.
|
QVector< int > | getActualTRC (const Vector< int > &imageBLC, const Vector< int > &imageTRC, bool *valid) const |
bool | isInImage (const QVector< int > &coords, const Vector< int > &imageBLC, const Vector< int > &imageTRC) const |
void | initBox (const QList< int > &pixelX, const QList< int > &pixelY) |
Private Attributes |
QList< int > | regionBoxBLC |
QList< int > | regionBoxTRC |
Detailed Description
Definition at line 35 of file RegionBox.h.
Constructor & Destructor Documentation
Member Function Documentation
Code was crashing when the region box bounds were bigger than the image bounds.
The actualBLC/TRC methods choose smaller region boxes in such cases.
Member Data Documentation
The documentation for this class was generated from the following file: