8#ifndef META_OCEAN_CV_DETECTOR_BULLSEYES_BULLSEYES_DEBUG_ELEMENTS_H
9#define META_OCEAN_CV_DETECTOR_BULLSEYES_BULLSEYES_DEBUG_ELEMENTS_H
44 static constexpr bool allowDebugging_ =
true;
83 static inline std::string hierarchyNameLeftFrame();
89 static inline std::string hierarchyNameRightFrame();
143 void drawBullseyeCandidateInRow(
const unsigned int yRow,
const unsigned int segmentStart,
const unsigned int segment1Size,
const unsigned int segment2Size,
const unsigned int segment3Size,
const unsigned int segment4Size,
const unsigned int segment5Size,
const Scalar scale =
Scalar(1));
This class implements a scoped hierarchy.
Definition BullseyesDebugElements.h:69
ScopedHierarchy(const std::string &hierarchy)
Creates a new scoped object and pushes the given hierarchy.
Definition BullseyesDebugElements.h:177
This class implements debug elements for the bullseyes library.
Definition BullseyesDebugElements.h:38
void drawBullseyeCandidateInRow(const unsigned int yRow, const unsigned int segmentStart, const unsigned int segment1Size, const unsigned int segment2Size, const unsigned int segment3Size, const unsigned int segment4Size, const unsigned int segment5Size, const Scalar scale=Scalar(1))
Draws a bullseye candidate detected in a row.
void setCameraFrames(const Frame &leftFrame, const Frame &rightFrame)
Sets the current left and right camera frames for debug visualization.
ElementId
Definition of several debug elements.
Definition BullseyesDebugElements.h:50
@ EI_DETECT_BULLSEYE_IN_ROW_VALID_SEQUENCE
BullseyeDetectorMono: Image visualizing valid segment sequences detected in rows.
Definition BullseyesDebugElements.h:55
@ EI_CHECK_BULLSEYE_IN_NEIGHBORHOOD
BullseyeDetectorMono: Image visualizing bullseye candidates that passed neighborhood verification.
Definition BullseyesDebugElements.h:58
void drawPixelValidation(const unsigned int y, const unsigned int x, const bool isInvalid)
Draws a pixel validation point during neighborhood verification.
static std::string hierarchyNameRightFrame()
Returns the hierarchy name for the right camera/frame.
Definition BullseyesDebugElements.h:188
Frame getCameraFrame(const bool left) const
Returns the current camera frame for the specified side.
static std::string hierarchyNameLeftFrame()
Returns the hierarchy name for the left camera/frame.
Definition BullseyesDebugElements.h:183
Frame leftCameraFrame_
The stored left camera frame for debug visualization.
Definition BullseyesDebugElements.h:171
Frame rightCameraFrame_
The stored right camera frame for debug visualization.
Definition BullseyesDebugElements.h:174
void drawCheckBullseyeInNeighborhood(const unsigned int yCenter, const unsigned int xCenter, const Scalar scale, const unsigned int diameter)
Draws a bullseye candidate that passed the neighborhood verification check.
This class implements a scoped hierarchy.
Definition DebugElements.h:37
This class implements the base class for a container for debug elements.
Definition DebugElements.h:29
This class implements Ocean's image class.
Definition Frame.h:1879
This template class is the base class for all singleton objects.
Definition Singleton.h:71
float Scalar
Definition of a scalar type.
Definition Math.h:129
std::vector< Bullseye > Bullseyes
Definition of a vector holding bullseyes.
Definition Bullseye.h:113
The namespace covering the entire Ocean framework.
Definition Accessor.h:15