diff src/pixelarray.doc @ 993:78ab04b73064

Changed distance range to 0-1.
author marcus
date Sat, 05 Apr 2008 13:05:41 +0000
parents 1577bcf02ed5
children 46a786465642
line wrap: on
line diff
--- a/src/pixelarray.doc	Sat Apr 05 10:46:13 2008 +0000
+++ b/src/pixelarray.doc	Sat Apr 05 13:05:41 2008 +0000
@@ -101,7 +101,7 @@
 them them to the passed replacement color.
 
 It uses a simple weighted euclidian distance formula to calculate the
-distance between the colors. The distance space ranges from 0.0 to 255.0
+distance between the colors. The distance space ranges from 0.0 to 1.0
 and is used as threshold for the color detection. This causes the
 replacement to take pixels with a similar but not exactly identical
 color, into account as well.
@@ -122,7 +122,7 @@
 
 It uses a simple weighted euclidian distance formula to calculate the
 distance between the colors.  The distance space ranges from 0.0 to
-255.0 and is used as threshold for the color detection. This causes the
+1.0 and is used as threshold for the color detection. This causes the
 extraction to take pixels with a similar but not exactly identical
 color, into account as well.