[TASK] Finetune hough stuff a bit.
This commit is contained in:
parent
d809149668
commit
c0216de4ae
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user