Add saturation statistic
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ void StretchToolbar::stretchImage(Image *img)
|
||||
if(img->rawImage())
|
||||
{
|
||||
double median, mad, max;
|
||||
img->rawImage()->imageStats(nullptr, nullptr, &median, nullptr, &max, &mad);
|
||||
img->rawImage()->imageStats(nullptr, nullptr, &median, nullptr, &max, &mad, nullptr);
|
||||
median /= img->rawImage()->norm();
|
||||
mad /= img->rawImage()->norm();
|
||||
max /= img->rawImage()->norm();
|
||||
|
||||
Reference in New Issue
Block a user