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

Method invert

czxing/src/main/cpp/zxing/src/BinaryBitmap.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void BinaryBitmap::invert()
61{
62 if (_cache->matrix) {
63 auto matrix = const_cast<BitMatrix*>(_cache->matrix.get());
64 matrix->flipAll();
65 }
66 _inverted = true;
67}
68
69template <typename F>
70void SumFilter(const BitMatrix& in, BitMatrix& out, F func)

Callers 2

processBitmapMethod · 0.80
ReadBarcodesFunction · 0.80

Calls 2

flipAllMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected