$search
2D roi More...
#include <image_processing.h>
Public Member Functions | |
| void | clear () |
| void | clear () |
| bool | empty () const |
| bool | empty () const |
| ImageRoi (CvRect rect) | |
| ImageRoi (int left, int top, int w, int h) | |
| ImageRoi (const ImageRoi &roi) | |
| ImageRoi () | |
| ImageRoi (CvRect rect) | |
| ImageRoi (int left, int top, int w, int h) | |
| ImageRoi (const ImageRoi &roi) | |
| ImageRoi () | |
| void | keepInside (int imgWidth, int imgHeight) |
| void | keepInside (int imgWidth, int imgHeight) |
| const ImageRoi & | resize (double factorHorizontal, double factorVertical) |
| const ImageRoi & | resize (double factorHorizontal, double factorVertical) |
| void | set (CvRect rect) |
| void | set (CvRect rect) |
| CvRect | toCvRect () const |
| CvRect | toCvRect () const |
| ~ImageRoi () | |
| ~ImageRoi () | |
Public Attributes | |
| int | height |
| int | width |
| int | x |
| int | y |
2D roi
Definition at line 66 of file include/pal_vision_segmentation/image_processing.h.
| pal_vision_util::ImageRoi::ImageRoi | ( | ) |
Definition at line 97 of file image_processing.cpp.
| pal_vision_util::ImageRoi::ImageRoi | ( | const ImageRoi & | roi | ) |
Definition at line 102 of file image_processing.cpp.
| pal_vision_util::ImageRoi::ImageRoi | ( | int | left, | |
| int | top, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 110 of file image_processing.cpp.
| pal_vision_util::ImageRoi::ImageRoi | ( | CvRect | rect | ) |
Definition at line 114 of file image_processing.cpp.
| pal_vision_util::ImageRoi::~ImageRoi | ( | ) |
Definition at line 119 of file image_processing.cpp.
| pal_vision_util::ImageRoi::ImageRoi | ( | ) |
| pal_vision_util::ImageRoi::ImageRoi | ( | const ImageRoi & | roi | ) |
| pal_vision_util::ImageRoi::ImageRoi | ( | int | left, | |
| int | top, | |||
| int | w, | |||
| int | h | |||
| ) |
| pal_vision_util::ImageRoi::ImageRoi | ( | CvRect | rect | ) |
| pal_vision_util::ImageRoi::~ImageRoi | ( | ) |
| void pal_vision_util::ImageRoi::clear | ( | ) |
| void pal_vision_util::ImageRoi::clear | ( | void | ) |
Definition at line 131 of file image_processing.cpp.
| bool pal_vision_util::ImageRoi::empty | ( | ) | const |
| bool pal_vision_util::ImageRoi::empty | ( | void | ) | const |
Definition at line 139 of file image_processing.cpp.
| void pal_vision_util::ImageRoi::keepInside | ( | int | imgWidth, | |
| int | imgHeight | |||
| ) |
Clips the current roi so that it does not fall outside an image of given width and height
| void pal_vision_util::ImageRoi::keepInside | ( | int | imgWidth, | |
| int | imgHeight | |||
| ) |
Clips the current roi so that it does not fall outside an image of given width and height
Definition at line 153 of file image_processing.cpp.
| const ImageRoi& pal_vision_util::ImageRoi::resize | ( | double | factorHorizontal, | |
| double | factorVertical | |||
| ) |
Resize the roi width and height by the given factors and keep it centered in the same pixel
| const ImageRoi & pal_vision_util::ImageRoi::resize | ( | double | factorHorizontal, | |
| double | factorVertical | |||
| ) |
Resize the roi width and height by the given factors and keep it centered in the same pixel
Definition at line 181 of file image_processing.cpp.
| void pal_vision_util::ImageRoi::set | ( | CvRect | rect | ) |
| void pal_vision_util::ImageRoi::set | ( | CvRect | rect | ) |
Definition at line 123 of file image_processing.cpp.
| CvRect pal_vision_util::ImageRoi::toCvRect | ( | ) | const |
| CvRect pal_vision_util::ImageRoi::toCvRect | ( | ) | const |
Definition at line 144 of file image_processing.cpp.
Definition at line 98 of file include/pal_vision_segmentation/image_processing.h.
Definition at line 98 of file include/pal_vision_segmentation/image_processing.h.
Definition at line 98 of file include/pal_vision_segmentation/image_processing.h.
Definition at line 98 of file include/pal_vision_segmentation/image_processing.h.