MCPcopy Create free account
hub / github.com/devilsen/CZXing / SampleGrid

Function SampleGrid

czxing/src/main/cpp/zxing/src/datamatrix/DMDetector.cpp:198–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static DetectorResult SampleGrid(const BitMatrix& image, const ResultPoint& topLeft, const ResultPoint& bottomLeft,
199 const ResultPoint& bottomRight, const ResultPoint& topRight, int width, int height)
200{
201 return SampleGrid(image, width, height,
202 {Rectangle(width, height, 0.5), {topLeft, topRight, bottomRight, bottomLeft}});
203}
204
205/**
206* Returns the z component of the cross product between vectors BC and BA.

Callers 5

DetectOldFunction · 0.70
ScanFunction · 0.70
SampleQRFunction · 0.50
SampleMQRFunction · 0.50
DetectFunction · 0.50

Calls 1

RectangleFunction · 0.50

Tested by

no test coverage detected