]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Extensions/Algorithms/RGBToYPbPrFunction.h
Filters improved
[cpPlugins.git] / lib / cpPlugins / Extensions / Algorithms / RGBToYPbPrFunction.h
index def48e81d1d440244607d039117737eac6c6da00..9563a639fa09da2b2fb5885080748e815e1d4b8d 100644 (file)
@@ -33,9 +33,9 @@ namespace cpPlugins
           {
             static const O M[] =
               {
-                O(  0.2126 ), O(  0.7152 ), O(  0.0722 ),
-                O( -0.2126 ), O( -0.7152 ), O(  0.9278 ),
-                O(  0.7874 ), O( -0.7152 ), O( -0.0722 )
+                O(  0.299 ), O(  0.587 ), O(  0.114 ),
+                O( -0.169 ), O( -0.331 ), O(  0.500 ),
+                O(  0.500 ), O( -0.419 ), O( -0.081 )
               };
             static const vnl_matrix< O > vM( M, 3, 3 );
             static const itk::Matrix< O, 3, 3 > iM( vM );