[TASK] Finetune hough stuff a bit.

This commit is contained in:
Jan Philipp Timme 2016-01-06 18:37:01 +01:00
parent d809149668
commit c0216de4ae

View File

@ -70,7 +70,7 @@ class HoughMachine {
QColor pixel = QColor::fromRgb(this->original->getPixel(u, v, LazyImage::DEFAULT)); QColor pixel = QColor::fromRgb(this->original->getPixel(u, v, LazyImage::DEFAULT));
int h, s, l; int h, s, l;
pixel.getHsl(&h, &s, &l); pixel.getHsl(&h, &s, &l);
if(l > 0) { if(l < 15) {
this->doPixel(u, v); this->doPixel(u, v);
} }
} }