87 QuadDetector(QuadColor c = BlackOnly,
bool dynamic=
false,
88 float minQRating = 0.4);
97 const std::vector<TiltedQuad> &detect(
const core::ImgBase *image);
108 typedef std::vector<utils::Point32f>
PVec;
114 const PVecVec &getAllCorners()
const;
120 const PVecVec &getLongestCorners()
const;
126 const PVecVec &getSecLongestCorners()
const;
129 PVecVec &getSecLongestCorners();
132 const PVecVec &getInterCorners()
const;
138 const PVecVec &getPerpCorners()
const;
144 const PVecVec &getMirrorCorners()
const;
150 std::vector<utils::Point32f> computeCorners(
const cv::ImageRegion &r)
const;
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
Tool-class for detecting tilted quads in images.
Definition: QuadDetector.h:62
std::vector< PVec > PVecVec
internal typedef for vector of vector of points
Definition: QuadDetector.h:111
ICLMarkers_API std::ostream & operator<<(std::ostream &s, const DecodedBCHCode2D::Rotation &r)
ostream-operator for DecodedBCHCode2D::Rotation
std::vector< utils::Point32f > PVec
internal typedef for vector of points
Definition: QuadDetector.h:108
only quads that are black (default, value 0)
Definition: QuadDetector.h:75
only quads that are white (value 255)
Definition: QuadDetector.h:76
ImageRegion Structure providing region feature information.
Definition: ImageRegion.h:99
Complex utility class for detection of connected image components.
Definition: RegionDetector.h:179
Interface for classes that can be configured from configuration-files and GUI-Components.
Definition: Configurable.h:194
QuadColor
enum, that helps to specify what quads are searched in the threshold-result image
Definition: QuadDetector.h:74
#define ICLMarkers_API
Definition: CompatMacros.h:180
ICLMarkers_API std::istream & operator>>(std::istream &s, QuadDetector::QuadColor &c)
istream operator for QuadDetector::QuadColor instances
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
Data * data
Internal data pointer (hidden)
Definition: QuadDetector.h:65