Public Types | |
Public Member Functions | |
virtual modalities::Modality * | clone () const |
Creates an additional copy of this class instance. | |
void | init () |
Initialization function. | |
virtual int | matchPixLevel (const TargetPtrVector &targets, T_MEAS_PIXPtrVector &outputMeas, std::size_t partitionIdx) |
Matching on pixel level
| |
Motion (const Motion &c) | |
Copy Constructor (deep copy). | |
Motion (opentl::modelprojection::Warp *warp, int camIdx) | |
Constructor. | |
virtual int | preProcess (const opentl::core::cvdata::Image &img) |
Converts a given Image into the specified color space To specify the destination color space, please use the param construct. | |
virtual | ~Motion () |
Destructor. | |
Protected Attributes | |
int | mHeight |
opentl::cvprocess::MotionSegment * | motionSegment |
int | mWidth |
std::size_t | nSensors |
Reimplemented from opentl::modalities::Modality.
opentl::modalities::Motion::Motion | ( | opentl::modelprojection::Warp * | warp, | |
int | camIdx | |||
) |
Constructor.
warp | ||
cam | index |
opentl::modalities::Motion::Motion | ( | const Motion & | c | ) |
Copy Constructor (deep copy).
virtual opentl::modalities::Motion::~Motion | ( | ) | [virtual] |
Destructor.
virtual modalities::Modality* opentl::modalities::Motion::clone | ( | ) | const [virtual] |
void opentl::modalities::Motion::init | ( | ) | [virtual] |
virtual int opentl::modalities::Motion::matchPixLevel | ( | const TargetPtrVector & | targets, | |
T_MEAS_PIXPtrVector & | outputMeas, | |||
std::size_t | partitionIdx | |||
) | [virtual] |
Matching on pixel level
target | vector | |
outputMeas | Pixel-space measurement (can be a pixel map of residuals, or a unique residual value) | |
partition | index |
Reimplemented from opentl::modalities::Modality.
virtual int opentl::modalities::Motion::preProcess | ( | const opentl::core::cvdata::Image & | img | ) | [virtual] |
Converts a given Image into the specified color space To specify the destination color space, please use the param construct.
sensData | Image to convert (must be RGB atm) |
int opentl::modalities::Motion::mHeight [protected] |
brief Motion Segmentation
int opentl::modalities::Motion::mWidth [protected] |
std::size_t opentl::modalities::Motion::nSensors [protected] |