8#ifndef META_OCEAN_CV_DETECTOR_BULLSEYES_BULLSEYES_DEBUG_ELEMENTS_H
9#define META_OCEAN_CV_DETECTOR_BULLSEYES_BULLSEYES_DEBUG_ELEMENTS_H
47 static constexpr bool allowDebugging_ =
true;
73 EI_RADIAL_CONSISTENCY_PHASE3
95 static inline std::string hierarchyNameLeftFrame();
101 static inline std::string hierarchyNameRightFrame();
155 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:81
ScopedHierarchy(const std::string &hierarchy)
Creates a new scoped object and pushes the given hierarchy.
Definition BullseyesDebugElements.h:231
This class implements debug elements for the bullseyes library.
Definition BullseyesDebugElements.h:41
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.
void drawRadialConsistencyPhase3(const unsigned int yCenter, const unsigned int xCenter, const Scalar scale, const Diameters &diameters, const bool passed)
Draws debug visualization for radial consistency Phase 3 - intensity verification.
ElementId
Definition of several debug elements.
Definition BullseyesDebugElements.h:53
@ EI_DETECT_BULLSEYE_IN_ROW_VALID_SEQUENCE
BullseyeDetectorMono: Image visualizing valid segment sequences detected in rows.
Definition BullseyesDebugElements.h:58
@ EI_RADIAL_CONSISTENCY_PHASE1
BullseyeDetectorMono: Radial consistency Phase 1 - ray casting and transition detection.
Definition BullseyesDebugElements.h:67
@ EI_RADIAL_CONSISTENCY_PHASE2
BullseyeDetectorMono: Radial consistency Phase 2 - symmetry validation.
Definition BullseyesDebugElements.h:70
@ EI_CHECK_BULLSEYE_IN_NEIGHBORHOOD
BullseyeDetectorMono: Image visualizing bullseye candidates that passed neighborhood verification.
Definition BullseyesDebugElements.h:61
@ EI_PIXEL_VALIDATION
BullseyeDetectorMono: Image visualizing pixel validation during neighborhood checks.
Definition BullseyesDebugElements.h:64
void drawRadialConsistencyPhase2(const unsigned int yCenter, const unsigned int xCenter, const Scalar scale, const Diameters &diameters, const bool passed)
Draws debug visualization for radial consistency Phase 2 - symmetry validation.
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:242
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:237
void drawRadialConsistencyPhase1(const unsigned int yCenter, const unsigned int xCenter, const Scalar scale, const Diameters &diameters, const bool passed)
Draws debug visualization for radial consistency Phase 1 - ray casting.
Frame leftCameraFrame_
The stored left camera frame for debug visualization.
Definition BullseyesDebugElements.h:225
Frame rightCameraFrame_
The stored right camera frame for debug visualization.
Definition BullseyesDebugElements.h:228
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:245
std::vector< Diameter > Diameters
Definition of a vector holding diameters.
Definition Bullseye.h:124
The namespace covering the entire Ocean framework.
Definition Accessor.h:15