Got it almost working...

This commit is contained in:
2023-12-03 22:08:59 +01:00
parent 1163ae5745
commit 5a38600e2a
14 changed files with 128 additions and 74 deletions

View File

@@ -31,11 +31,12 @@ class Monochrome {
void setThreshold(uint8_t);
void invert(bool shouldInvert);
void visualize();
std::vector<uint8_t> get();
private:
const std::vector<uint8_t>& mPixels;
uint8_t mThreshhold = 127;
uint8_t mThreshhold = UINT8_MAX / 2;
bool mShouldInvert = false;
};
} // namespace ptprnt::graphics