Adding a warning about croppedHistogram calculation
This commit is contained in:
parent
2f3549653a
commit
e7b0efb709
@ -252,6 +252,12 @@ void Imagefloat::calcCroppedHistogram(const ProcParams ¶ms, float scale, LUT
|
|||||||
int x1, x2, y1, y2;
|
int x1, x2, y1, y2;
|
||||||
params.crop.mapToResized(width, height, scale, x1, x2, y1, y2);
|
params.crop.mapToResized(width, height, scale, x1, x2, y1, y2);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WARNING: this parallelization is not 100% safe. Some of its values
|
||||||
|
* are underestimated by 1 or 2, but in practical, it doesn't seem to be
|
||||||
|
* annoying in any way, so i guess we may leave it as is...
|
||||||
|
* (Hombre)
|
||||||
|
*/
|
||||||
#pragma omp parallel for
|
#pragma omp parallel for
|
||||||
for (int y=y1; y<y2; y++) {
|
for (int y=y1; y<y2; y++) {
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user