Inherits opentl::modalities::Modality.
Public Types | |
Public Member Functions | |
| BackgroundSub (const BackgroundSub &b) | |
| Copy Constructor. | |
| BackgroundSub (opentl::modelprojection::Warp *warp, opentl::modelprojection::GLScene *scene, int camIdx) | |
| Modality for background subtraction and matching purpose. | |
| virtual modalities::Modality * | clone () const |
| Clone the current instance. | |
| virtual void | init () |
| Needed init() method for parameter handling. | |
| virtual int | matchPixLevel (const TargetPtrVector &targets, T_MEAS_PIXPtrVector &outputMeas, std::size_t partitionIdx) |
Matching on pixel level
| |
| virtual int | preProcess (const opentl::core::cvdata::Image &image) |
| Preprocessing and segmentation in order to get model free unassociated data. | |
| virtual void | setAverageTargetArea (unsigned int area) |
| Set the average target area for matching. | |
| virtual | ~BackgroundSub () |
| Destructor. | |
Common flags to all modalities: they specify which field will be filled in the output measurement, inside the matchXLevel() function. Default values = all true.
Reimplemented from opentl::modalities::Modality.
Reimplemented from opentl::modalities::Modality.
| opentl::modalities::BackgroundSub::BackgroundSub | ( | opentl::modelprojection::Warp * | warp, | |
| opentl::modelprojection::GLScene * | scene, | |||
| int | camIdx | |||
| ) |
Modality for background subtraction and matching purpose.
| warp | global instance of a warp class | |
| scene | global instance of a GLScene class | |
| camIdx | camera index | |
| param | Additional parameters for the background subtractor |
| opentl::modalities::BackgroundSub::BackgroundSub | ( | const BackgroundSub & | b | ) |
| virtual opentl::modalities::BackgroundSub::~BackgroundSub | ( | ) | [virtual] |
Destructor.
| virtual modalities::Modality* opentl::modalities::BackgroundSub::clone | ( | ) | const [virtual] |
Clone the current instance.
Implements opentl::modalities::Modality.
| virtual void opentl::modalities::BackgroundSub::init | ( | ) | [virtual] |
| virtual int opentl::modalities::BackgroundSub::matchPixLevel | ( | const TargetPtrVector & | targets, | |
| T_MEAS_PIXPtrVector & | outputMeas, | |||
| std::size_t | partitionIdx | |||
| ) | [virtual] |
Matching on pixel level
| states | Predicted state | |
| outputMeas | Pixel-space measurement (can be a pixel map of residuals, or a unique residual value) |
Reimplemented from opentl::modalities::Modality.
| virtual int opentl::modalities::BackgroundSub::preProcess | ( | const opentl::core::cvdata::Image & | image | ) | [virtual] |
Preprocessing and segmentation in order to get model free unassociated data.
| sensData | Input sensor data (e.g. camera image in RGB) |
| virtual void opentl::modalities::BackgroundSub::setAverageTargetArea | ( | unsigned int | area | ) | [virtual] |
Set the average target area for matching.
| area | Area to be set |
1.5.8