diff --git a/loadrunable.cpp b/loadrunable.cpp index 2fdeebd..def3e58 100644 --- a/loadrunable.cpp +++ b/loadrunable.cpp @@ -297,7 +297,7 @@ bool loadPCLImage(pcl::XISFReader &xisf, RawImage **image) #ifdef COLOR_MANAGMENT pcl::ICCProfile iccProfile = xisf.ReadICCProfile(); - if(iccProfile.IsProfile()) + if(iccProfile.IsProfile() && iccProfile != sRgbIccProfile) { pcl::ICCProfileTransformation iccTran; iccTran.DisableParallelProcessing();