$search
Wrapper of old C-style OpenCV IplImage with some processing functionalities. More...
#include <image_processing.h>
Public Member Functions | |
| void | freeImage () |
| Explicitely delete the pointed IplImage. | |
| void | freeImage () |
| Explicitely delete the pointed IplImage. | |
| int | getChannel () const |
| int | getChannel () const |
| int | getDepth () const |
| int | getDepth () const |
| int | getHeight () const |
| int | getHeight () const |
| IplImage * | getIplImg () |
| IplImage * | getIplImg () |
| unsigned char | getPixelB (int col, int row, int ch) const |
| unsigned char | getPixelB (int col, int row, int ch) const |
| float | getPixelF (int col, int row, int ch) const |
| float | getPixelF (int col, int row, int ch) const |
| short | getPixelS (int col, int row, int ch) const |
| short | getPixelS (int col, int row, int ch) const |
| int | getWidth () const |
| int | getWidth () const |
| Image (IplImage *img) | |
| constructor from a IplImage pointer. The ownership of the pointer object is taken. | |
| Image () | |
| Default constructor. | |
| Image (IplImage *img) | |
| constructor from a IplImage pointer. The ownership of the pointer object is taken. | |
| Image () | |
| Default constructor. | |
| void | loadImage (const std::string &fileName) |
| void | loadImage (const std::string &fileName) |
| operator IplImage * () const | |
| operator IplImage * () const | |
| IplImage * | operator-> (void) const |
| IplImage * | operator-> (void) const |
| IplImage * | release () |
| release the ownership of the returned IplImage. | |
| IplImage * | release () |
| release the ownership of the returned IplImage. | |
| void | resizeImage (int width, int height, int channels, int depth) |
| void | resizeImage (int width, int height, int channels, int depth) |
| void | set (IplImage *img) |
| take the ownership of the given pointed object. If it already owned another pointed IplImage it is first realeased. | |
| void | set (IplImage *img) |
| take the ownership of the given pointed object. If it already owned another pointed IplImage it is first realeased. | |
| void | setPixelB (int col, int row, int ch, unsigned char value) |
| void | setPixelB (int col, int row, int ch, unsigned char value) |
| void | setPixelF (int col, int row, int ch, float value) |
| void | setPixelF (int col, int row, int ch, float value) |
| void | setPixelS (int col, int row, int ch, short value) |
| void | setPixelS (int col, int row, int ch, short value) |
| ~Image () | |
| destructor. If the ownership of an IplImage has been taken it is released. | |
| ~Image () | |
| destructor. If the ownership of an IplImage has been taken it is released. | |
Private Attributes | |
| IplImage * | _img |
Wrapper of old C-style OpenCV IplImage with some processing functionalities.
Definition at line 107 of file include/pal_vision_segmentation/image_processing.h.
| pal_vision_util::Image::Image | ( | ) |
Default constructor.
Definition at line 197 of file image_processing.cpp.
| pal_vision_util::Image::Image | ( | IplImage * | img | ) |
constructor from a IplImage pointer. The ownership of the pointer object is taken.
Definition at line 203 of file image_processing.cpp.
| pal_vision_util::Image::~Image | ( | ) |
destructor. If the ownership of an IplImage has been taken it is released.
Definition at line 208 of file image_processing.cpp.
| pal_vision_util::Image::Image | ( | ) |
Default constructor.
| pal_vision_util::Image::Image | ( | IplImage * | img | ) |
constructor from a IplImage pointer. The ownership of the pointer object is taken.
| pal_vision_util::Image::~Image | ( | ) |
destructor. If the ownership of an IplImage has been taken it is released.
| void pal_vision_util::Image::freeImage | ( | ) |
Explicitely delete the pointed IplImage.
| void pal_vision_util::Image::freeImage | ( | ) |
Explicitely delete the pointed IplImage.
Definition at line 213 of file image_processing.cpp.
| int pal_vision_util::Image::getChannel | ( | ) | const [inline] |
Definition at line 133 of file src/image_processing.h.
| int pal_vision_util::Image::getChannel | ( | ) | const [inline] |
Definition at line 148 of file include/pal_vision_segmentation/image_processing.h.
| int pal_vision_util::Image::getDepth | ( | ) | const [inline] |
Definition at line 134 of file src/image_processing.h.
| int pal_vision_util::Image::getDepth | ( | ) | const [inline] |
Definition at line 149 of file include/pal_vision_segmentation/image_processing.h.
| int pal_vision_util::Image::getHeight | ( | ) | const [inline] |
Definition at line 132 of file src/image_processing.h.
| int pal_vision_util::Image::getHeight | ( | ) | const [inline] |
Definition at line 147 of file include/pal_vision_segmentation/image_processing.h.
| IplImage* pal_vision_util::Image::getIplImg | ( | ) | [inline] |
Definition at line 148 of file src/image_processing.h.
| IplImage* pal_vision_util::Image::getIplImg | ( | ) | [inline] |
Definition at line 163 of file include/pal_vision_segmentation/image_processing.h.
| unsigned char pal_vision_util::Image::getPixelB | ( | int | col, | |
| int | row, | |||
| int | ch | |||
| ) | const |
| unsigned char pal_vision_util::Image::getPixelB | ( | int | col, | |
| int | row, | |||
| int | ch | |||
| ) | const |
Definition at line 246 of file image_processing.cpp.
| float pal_vision_util::Image::getPixelF | ( | int | col, | |
| int | row, | |||
| int | ch | |||
| ) | const |
| float pal_vision_util::Image::getPixelF | ( | int | col, | |
| int | row, | |||
| int | ch | |||
| ) | const |
Definition at line 255 of file image_processing.cpp.
| short pal_vision_util::Image::getPixelS | ( | int | col, | |
| int | row, | |||
| int | ch | |||
| ) | const |
| short pal_vision_util::Image::getPixelS | ( | int | col, | |
| int | row, | |||
| int | ch | |||
| ) | const |
Definition at line 264 of file image_processing.cpp.
| int pal_vision_util::Image::getWidth | ( | ) | const [inline] |
Definition at line 131 of file src/image_processing.h.
| int pal_vision_util::Image::getWidth | ( | ) | const [inline] |
Definition at line 146 of file include/pal_vision_segmentation/image_processing.h.
| void pal_vision_util::Image::loadImage | ( | const std::string & | fileName | ) |
| void pal_vision_util::Image::loadImage | ( | const std::string & | fileName | ) |
Definition at line 222 of file image_processing.cpp.
| pal_vision_util::Image::operator IplImage * | ( | ) | const [inline] |
Definition at line 152 of file src/image_processing.h.
| pal_vision_util::Image::operator IplImage * | ( | ) | const [inline] |
Definition at line 167 of file include/pal_vision_segmentation/image_processing.h.
| IplImage* pal_vision_util::Image::operator-> | ( | void | ) | const [inline] |
Definition at line 150 of file src/image_processing.h.
| IplImage* pal_vision_util::Image::operator-> | ( | void | ) | const [inline] |
Definition at line 165 of file include/pal_vision_segmentation/image_processing.h.
| IplImage* pal_vision_util::Image::release | ( | ) |
release the ownership of the returned IplImage.
| IplImage * pal_vision_util::Image::release | ( | ) |
release the ownership of the returned IplImage.
Definition at line 233 of file image_processing.cpp.
| void pal_vision_util::Image::resizeImage | ( | int | width, | |
| int | height, | |||
| int | channels, | |||
| int | depth | |||
| ) |
| void pal_vision_util::Image::resizeImage | ( | int | width, | |
| int | height, | |||
| int | channels, | |||
| int | depth | |||
| ) |
Definition at line 240 of file image_processing.cpp.
| void pal_vision_util::Image::set | ( | IplImage * | img | ) |
take the ownership of the given pointed object. If it already owned another pointed IplImage it is first realeased.
| void pal_vision_util::Image::set | ( | IplImage * | img | ) |
take the ownership of the given pointed object. If it already owned another pointed IplImage it is first realeased.
Definition at line 227 of file image_processing.cpp.
| void pal_vision_util::Image::setPixelB | ( | int | col, | |
| int | row, | |||
| int | ch, | |||
| unsigned char | value | |||
| ) |
| void pal_vision_util::Image::setPixelB | ( | int | col, | |
| int | row, | |||
| int | ch, | |||
| unsigned char | value | |||
| ) |
Definition at line 274 of file image_processing.cpp.
| void pal_vision_util::Image::setPixelF | ( | int | col, | |
| int | row, | |||
| int | ch, | |||
| float | value | |||
| ) |
| void pal_vision_util::Image::setPixelF | ( | int | col, | |
| int | row, | |||
| int | ch, | |||
| float | value | |||
| ) |
Definition at line 284 of file image_processing.cpp.
| void pal_vision_util::Image::setPixelS | ( | int | col, | |
| int | row, | |||
| int | ch, | |||
| short | value | |||
| ) |
| void pal_vision_util::Image::setPixelS | ( | int | col, | |
| int | row, | |||
| int | ch, | |||
| short | value | |||
| ) |
Definition at line 279 of file image_processing.cpp.
IplImage * pal_vision_util::Image::_img [private] |
Definition at line 171 of file include/pal_vision_segmentation/image_processing.h.