Basic structure to be usable with EC methods. More...
#include <EC.h>
Public Member Functions | |
ExternalContainer () | |
ExternalContainer (const ExternalContainer &c) | |
Public Attributes | |
bool | has_p2d |
bool | has_p3d |
CvPoint2D32f | p2d |
CvPoint3D32f | p3d |
CvPoint2D32f | projected_p2d |
int | type_id |
Basic structure to be usable with EC methods.
You can inherit your own classes/structures from this or make one with similar members.
The idea is that the EC-versions store the data externally in a map of features that are based on the structure ExternalContainer . The ExternalContainer has certain predefined fields that are used/needed by different methods. Below is a summary of some main methods for reading (r) and writing (w) in the external container.
type_id | has_p2d | has_p3d | p2d | p3d | projected_p2d | |
TrackerFeaturesEC::Track | (r)w | rw | rw | |||
CameraEC::Undistort | (r) | rw | rw | |||
CameraEC::Distort | (r) | rw | rw | |||
CameraEC::CalcExteriorOrientation | (r) | r | r | r | r | |
CameraEC::UpdatePose | (r) | r | r | r | r | |
CameraEC::Reproject | (r) | (r) | (r) | r | r | w |
CameraEC::EraseUsingReprojectionError | (r) | (r) | (r) | r | ||
MarkerDetectorEC::Detect | rw | w | w | |||
MarkerDetectorEC::MarkerToEC | w | w | w | |||
MultiMarkerEC::MarkersToEC | w | w | w |
|
inline |