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 &image, const std::vector< std::vector< int > > &preProcessROIs) |
| Update motion history image (MHI). | |
| 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 & | image, | |
| const std::vector< std::vector< int > > & | preProcessROIs | |||
| ) | [virtual] |
Update motion history image (MHI).
| image | Input sensor data (e.g. camera image in RGB) | |
| preProcessROIs | Regions of interest (x0,y0,width,height), per target |
Reimplemented from opentl::modalities::Modality.
int opentl::modalities::Motion::mHeight [protected] |
brief Motion Segmentation
int opentl::modalities::Motion::mWidth [protected] |
std::size_t opentl::modalities::Motion::nSensors [protected] |
1.5.8