Removed Jacques patch, as Hombres patch provided the real fix
This commit is contained in:
@@ -125,12 +125,9 @@ void ImProcFunctions::lab2rgb (LabImage* lab, Image8* image) {
|
|||||||
xyz2srgb(x_,y_,z_,R,G,B);
|
xyz2srgb(x_,y_,z_,R,G,B);
|
||||||
|
|
||||||
/* copy RGB */
|
/* copy RGB */
|
||||||
#pragma omp critical
|
|
||||||
{
|
|
||||||
image->data[ix++] = (int)gamma2curve[(R)] >> 8;
|
image->data[ix++] = (int)gamma2curve[(R)] >> 8;
|
||||||
image->data[ix++] = (int)gamma2curve[(G)] >> 8;
|
image->data[ix++] = (int)gamma2curve[(G)] >> 8;
|
||||||
image->data[ix++] = (int)gamma2curve[(B)] >> 8;
|
image->data[ix++] = (int)gamma2curve[(B)] >> 8;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user