#include <ImagePropertiesCV.h>
Public Member Functions | |
void | applyMask () |
data analysis. Unless the object was deserialized, you have to call these before using the getter functions. | |
void | calculateProperties () |
calls all extraction functions (applyMask, extractKeyPoints etc.) | |
void | extractKeyPoints () |
std::vector< Point2D > | getBoundingBox () const |
Point2D | getCenter () const |
ImageMaskCV * | getImageMask () const |
cv::Mat * | getImageUV () const |
cv::Mat * | getImageY () const |
std::vector< KeyPoint > * | getKeyPoints () const |
cv::Mat * | getMaskedImageUV () const |
cv::Mat * | getMaskedImageY () const |
std::string | getName () const |
std::vector< Point2D > * | getOutline () const |
ImagePropertiesCV () | |
ImagePropertiesCV (std::string name, cv::Mat *imageY, cv::Mat *imageUV, ImageMaskCV *imageMask=0) | |
The constructor. Takes ownership of the given data. | |
ImagePropertiesCV (const ImagePropertiesCV &other) | |
template<class Archive > | |
void | load (Archive &ar, const unsigned int version_b) |
ImagePropertiesCV & | operator= (const ImagePropertiesCV &other) |
template<class Archive > | |
void | save (Archive &ar, const unsigned int version) const |
void | traceOutline () |
~ImagePropertiesCV () | |
The destructor. | |
Private Member Functions | |
void | clear () |
void | deleteAll () |
Private Attributes | |
int | m_Border |
Point2D | m_Center |
ImageMaskCV * | m_ImageMask |
ImageMaskCV * | m_ImageMaskWithBorder |
cv::Mat * | m_ImageUV |
cv::Mat * | m_ImageY |
std::vector< KeyPoint > * | m_KeyPoints |
cv::Mat * | m_MaskedImageUV |
cv::Mat * | m_MaskedImageY |
extracted data | |
std::string | m_Name |
base Data | |
std::vector< Point2D > * | m_Outline |
Definition at line 37 of file ImagePropertiesCV.h.
ImagePropertiesCV::ImagePropertiesCV | ( | std::string | name, |
cv::Mat * | imageY, | ||
cv::Mat * | imageUV, | ||
ImageMaskCV * | imageMask = 0 |
||
) |
The constructor. Takes ownership of the given data.
ImagePropertiesCV::ImagePropertiesCV | ( | const ImagePropertiesCV & | other | ) |
The destructor.
void ImagePropertiesCV::applyMask | ( | ) |
data analysis. Unless the object was deserialized, you have to call these before using the getter functions.
calls all extraction functions (applyMask, extractKeyPoints etc.)
void ImagePropertiesCV::clear | ( | ) | [private] |
void ImagePropertiesCV::deleteAll | ( | ) | [private] |
void ImagePropertiesCV::extractKeyPoints | ( | ) |
std::vector<Point2D> ImagePropertiesCV::getBoundingBox | ( | ) | const |
Point2D ImagePropertiesCV::getCenter | ( | ) | const [inline] |
Definition at line 81 of file ImagePropertiesCV.h.
ImageMaskCV* ImagePropertiesCV::getImageMask | ( | ) | const [inline] |
Definition at line 73 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::getImageUV | ( | ) | const [inline] |
Definition at line 67 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::getImageY | ( | ) | const [inline] |
Definition at line 65 of file ImagePropertiesCV.h.
std::vector< KeyPoint >* ImagePropertiesCV::getKeyPoints | ( | ) | const [inline] |
Definition at line 75 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::getMaskedImageUV | ( | ) | const [inline] |
Definition at line 71 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::getMaskedImageY | ( | ) | const [inline] |
Definition at line 69 of file ImagePropertiesCV.h.
std::string ImagePropertiesCV::getName | ( | void | ) | const [inline] |
Definition at line 63 of file ImagePropertiesCV.h.
std::vector<Point2D>* ImagePropertiesCV::getOutline | ( | ) | const [inline] |
Definition at line 77 of file ImagePropertiesCV.h.
void ImagePropertiesCV::load | ( | Archive & | ar, |
const unsigned int | version_b | ||
) | [inline] |
Definition at line 114 of file ImagePropertiesCV.h.
ImagePropertiesCV& ImagePropertiesCV::operator= | ( | const ImagePropertiesCV & | other | ) |
void ImagePropertiesCV::save | ( | Archive & | ar, |
const unsigned int | version | ||
) | const [inline] |
Definition at line 86 of file ImagePropertiesCV.h.
void ImagePropertiesCV::traceOutline | ( | ) |
int ImagePropertiesCV::m_Border [private] |
Definition at line 177 of file ImagePropertiesCV.h.
Point2D ImagePropertiesCV::m_Center [private] |
Definition at line 175 of file ImagePropertiesCV.h.
ImageMaskCV* ImagePropertiesCV::m_ImageMask [private] |
Definition at line 167 of file ImagePropertiesCV.h.
Definition at line 168 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::m_ImageUV [private] |
Definition at line 166 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::m_ImageY [private] |
Definition at line 165 of file ImagePropertiesCV.h.
std::vector< KeyPoint >* ImagePropertiesCV::m_KeyPoints [private] |
Definition at line 173 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::m_MaskedImageUV [private] |
Definition at line 172 of file ImagePropertiesCV.h.
cv::Mat* ImagePropertiesCV::m_MaskedImageY [private] |
extracted data
Definition at line 171 of file ImagePropertiesCV.h.
std::string ImagePropertiesCV::m_Name [private] |
base Data
Definition at line 164 of file ImagePropertiesCV.h.
std::vector<Point2D>* ImagePropertiesCV::m_Outline [private] |
Definition at line 174 of file ImagePropertiesCV.h.