Got it almost working...

This commit is contained in:
2023-12-03 22:08:59 +01:00
parent b2971d15dc
commit 4f5af6722e
14 changed files with 143 additions and 78 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