| 58 | } |
| 59 | |
| 60 | void 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 | |
| 69 | template <typename F> |
| 70 | void SumFilter(const BitMatrix& in, BitMatrix& out, F func) |
no test coverage detected