]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Extensions/Algorithms/RGBToYPbPrFunction.h
Bezier function added.
[cpPlugins.git] / lib / cpPlugins / Extensions / Algorithms / RGBToYPbPrFunction.h
index 9563a639fa09da2b2fb5885080748e815e1d4b8d..56ffd5c6a72eaa2c7b4144d9888b6f8b04a6c414 100644 (file)
@@ -33,9 +33,9 @@ namespace cpPlugins
           {
             static const O M[] =
               {
-                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 )
+                O(  0.2990 ), O(  0.5870 ), O(  0.1140 ),
+                O( -0.1687 ), O( -0.3313 ), O(  0.5000 ),
+                O(  0.5000 ), O( -0.4187 ), O( -0.0813 )
               };
             static const vnl_matrix< O > vM( M, 3, 3 );
             static const itk::Matrix< O, 3, 3 > iM( vM );