8#ifndef META_OCEAN_CV_DETECTOR_BULLSEYES_BULLSEYES_DEBUG_ELEMENTS_H
9#define META_OCEAN_CV_DETECTOR_BULLSEYES_BULLSEYES_DEBUG_ELEMENTS_H
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));
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_RADIAL_CONSISTENCY_PHASE3
BullseyeDetectorMono: Radial consistency Phase 3 - intensity verification.
Definition BullseyesDebugElements.h:73
@ EI_INVALID
An invalid element id.
Definition BullseyesDebugElements.h:55
@ 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
static constexpr bool allowDebugging_
True, in case debugging is allowed and debugging code will be included into the binary; False,...
Definition BullseyesDebugElements.h:47
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.
ScopedHierarchyBase(const ScopedHierarchyBase &scopedHierarchy)=delete
Disabled copy constructor.
DebugElements()
Protected default constructor.
Definition DebugElements.h:312
This class implements Ocean's image class.
Definition Frame.h:1969
static BullseyesDebugElements & get()
Definition Singleton.h:115
float Scalar
Definition of a scalar type.
Definition Math.h:129
Namespace of the bullseye code library.
Definition AssignmentSolver.h:25
std::vector< Diameter > Diameters
Definition of a vector holding diameters.
Definition Bullseye.h:124
Namespace of the CV Detector library.
Definition Barcode.h:19
Namespace of the CV library.
Definition Advanced.h:17
The namespace covering the entire Ocean framework.
Definition Accessor.h:15