48 static bool getTimingPatternModules(
const uint8_t*
const yFrame,
const unsigned int width,
const unsigned int height,
const unsigned int paddingElements,
const FinderPattern& finderPattern,
const unsigned int topLeftCorner,
const unsigned int timingAdjacentFinderCorner,
Vectors2& moduleCenters);
80 static bool extractModulesFromImage(
const AnyCamera& anyCamera,
const uint8_t*
const yFrame,
const unsigned int width,
const unsigned int height,
const unsigned int paddingElements,
const unsigned int version,
const HomogenousMatrix4& code_T_camera,
const bool isNormalReflectance,
const unsigned int grayThreshold, std::vector<uint8_t>& modules,
const Scalar scale =
Scalar(1));
This class implements the abstract base class for all AnyCamera objects.
Definition: AnyCamera.h:130
Definition of a class for finder patterns of QR codes (squares in the top-left, top-right and bottom-...
Definition: FinderPatternDetector.h:58
This class implements common functionality of Micro QR code detectors but is not a stand-alone detect...
Definition: MicroQRCodeDetector.h:33
static unsigned int extractVersionFromModules(const unsigned int provisionalVersion, const std::vector< uint8_t > &modules)
Extracts the version information from the modules of a Micro QR code.
static bool extractModulesFromImage(const AnyCamera &anyCamera, const uint8_t *const yFrame, const unsigned int width, const unsigned int height, const unsigned int paddingElements, const unsigned int version, const HomogenousMatrix4 &code_T_camera, const bool isNormalReflectance, const unsigned int grayThreshold, std::vector< uint8_t > &modules, const Scalar scale=Scalar(1))
Extracts all modules of a Micro QR code from an image.
static bool computePosesAndProvisionalVersions(const AnyCamera &anyCamera, const uint8_t *const yFrame, const unsigned int width, const unsigned int height, const unsigned int paddingElements, const FinderPattern &finderPattern, HomogenousMatrices4 &code_T_cameras, std::vector< unsigned int > &provisionalVersions, const Scalar scale=Scalar(1))
Computes potential versions and poses of a Micro QR code given its finder pattern.
static bool getTimingPatternModules(const uint8_t *const yFrame, const unsigned int width, const unsigned int height, const unsigned int paddingElements, const FinderPattern &finderPattern, const unsigned int topLeftCorner, const unsigned int timingAdjacentFinderCorner, Vectors2 &moduleCenters)
Locates the modules of one timing pattern in a Micro QR code.
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< HomogenousMatrix4 > HomogenousMatrices4
Definition of a vector holding HomogenousMatrix4 objects.
Definition: HomogenousMatrix4.h:73
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition: Vector2.h:64
std::vector< QRCode > QRCodes
Definition of a vector of QR codes.
Definition: QRCode.h:25
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15