RT component which resize an input image. More...
#include <ColorExtractor.h>
Public Member Functions | |
ColorExtractor (RTC::Manager *manager) | |
Constructor. | |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
virtual | ~ColorExtractor () |
Destructor. | |
Protected Attributes | |
Img::TimedCameraImage | m_original |
InPort< Img::TimedCameraImage > | m_originalIn |
RTC::TimedPoint2D | m_pos |
OutPort< RTC::TimedPoint2D > | m_posOut |
Img::TimedCameraImage | m_result |
OutPort< Img::TimedCameraImage > | m_resultOut |
Private Attributes | |
int | dummy |
IplImage * | m_img |
int | m_minPixels |
std::vector< int > | m_rgbRegion |
RT component which resize an input image.
Definition at line 39 of file ColorExtractor.h.
ColorExtractor::ColorExtractor | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 36 of file ColorExtractor.cpp.
ColorExtractor::~ColorExtractor | ( | ) | [virtual] |
Destructor.
Definition at line 48 of file ColorExtractor.cpp.
RTC::ReturnCode_t ColorExtractor::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 110 of file ColorExtractor.cpp.
RTC::ReturnCode_t ColorExtractor::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 116 of file ColorExtractor.cpp.
RTC::ReturnCode_t ColorExtractor::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 122 of file ColorExtractor.cpp.
RTC::ReturnCode_t ColorExtractor::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 56 of file ColorExtractor.cpp.
int ColorExtractor::dummy [private] |
Definition at line 145 of file ColorExtractor.h.
IplImage* ColorExtractor::m_img [private] |
Definition at line 142 of file ColorExtractor.h.
int ColorExtractor::m_minPixels [private] |
Definition at line 143 of file ColorExtractor.h.
Img::TimedCameraImage ColorExtractor::m_original [protected] |
Definition at line 108 of file ColorExtractor.h.
InPort<Img::TimedCameraImage> ColorExtractor::m_originalIn [protected] |
Definition at line 112 of file ColorExtractor.h.
RTC::TimedPoint2D ColorExtractor::m_pos [protected] |
Definition at line 117 of file ColorExtractor.h.
OutPort<RTC::TimedPoint2D> ColorExtractor::m_posOut [protected] |
Definition at line 122 of file ColorExtractor.h.
Img::TimedCameraImage ColorExtractor::m_result [protected] |
Definition at line 116 of file ColorExtractor.h.
OutPort<Img::TimedCameraImage> ColorExtractor::m_resultOut [protected] |
Definition at line 121 of file ColorExtractor.h.
std::vector<int> ColorExtractor::m_rgbRegion [private] |
Definition at line 144 of file ColorExtractor.h.