Removed Jacques patch, as Hombres patch provided the real fix

This commit is contained in:
Oliver Duis
2011-04-21 09:02:26 +02:00
parent d21c96cdd6
commit d3261ed527

View File

@@ -125,15 +125,12 @@ void ImProcFunctions::lab2rgb (LabImage* lab, Image8* image) {
xyz2srgb(x_,y_,z_,R,G,B);
/* copy RGB */
#pragma omp critical
{
image->data[ix++] = (int)gamma2curve[(R)] >> 8;
image->data[ix++] = (int)gamma2curve[(G)] >> 8;
image->data[ix++] = (int)gamma2curve[(B)] >> 8;
}
}
}
}
//tEnd.set();
//printf("lab2rgb %i %d\n", lab->W, tEnd.etime(tBeg));