Speedups: luminanceCurve OMP (see issue 1423)

This commit is contained in:
Michael Ezra
2012-06-17 15:41:55 -04:00
parent fb6bcfb9e0
commit c312545a5e

View File

@@ -433,6 +433,8 @@ void ImProcFunctions::luminanceCurve (LabImage* lold, LabImage* lnew, LUTf & cur
int W = lold->W;
int H = lold->H;
#pragma omp parallel for if (multiThread)
for (int i=0; i<H; i++)
for (int j=0; j<W; j++) {
float Lin=lold->L[i][j];