Index: trunk/psLib/test/image/verified/tst_psImageStats00.stdout
===================================================================
--- trunk/psLib/test/image/verified/tst_psImageStats00.stdout	(revision 890)
+++ trunk/psLib/test/image/verified/tst_psImageStats00.stdout	(revision 890)
@@ -0,0 +1,67 @@
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats00.c                                       |
+|            TestPoint: psImageStats functions{Calculate Histogram, no mask}       |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+Bin number 0 bounds: (0.000000 - 2.000000) data (3)
+Bin number 1 bounds: (2.000000 - 4.000000) data (7)
+Bin number 2 bounds: (4.000000 - 6.000000) data (11)
+Bin number 3 bounds: (6.000000 - 8.000000) data (15)
+Bin number 4 bounds: (8.000000 - 10.000000) data (19)
+Bin number 5 bounds: (10.000000 - 12.000000) data (23)
+Bin number 6 bounds: (12.000000 - 14.000000) data (27)
+Bin number 7 bounds: (14.000000 - 16.000000) data (31)
+Bin number 8 bounds: (16.000000 - 18.000000) data (35)
+Bin number 9 bounds: (18.000000 - 20.000000) data (39)
+Bin number 10 bounds: (20.000000 - 22.000000) data (37)
+Bin number 11 bounds: (22.000000 - 24.000000) data (33)
+Bin number 12 bounds: (24.000000 - 26.000000) data (29)
+Bin number 13 bounds: (26.000000 - 28.000000) data (25)
+Bin number 14 bounds: (28.000000 - 30.000000) data (21)
+Bin number 15 bounds: (30.000000 - 32.000000) data (17)
+Bin number 16 bounds: (32.000000 - 34.000000) data (13)
+Bin number 17 bounds: (34.000000 - 36.000000) data (9)
+Bin number 18 bounds: (36.000000 - 38.000000) data (5)
+Bin number 19 bounds: (38.000000 - 40.000000) data (1)
+
+---> TESTPOINT PASSED (psImageStats functions{Calculate Histogram, no mask} | tst_psImageStats00.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats00.c                                       |
+|            TestPoint: psImageStats functions{Calculate Histogram with mask}      |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+Bin number 0 bounds: (0.000000 - 2.000000) data (3)
+Bin number 1 bounds: (2.000000 - 4.000000) data (7)
+Bin number 2 bounds: (4.000000 - 6.000000) data (11)
+Bin number 3 bounds: (6.000000 - 8.000000) data (15)
+Bin number 4 bounds: (8.000000 - 10.000000) data (19)
+Bin number 5 bounds: (10.000000 - 12.000000) data (23)
+Bin number 6 bounds: (12.000000 - 14.000000) data (27)
+Bin number 7 bounds: (14.000000 - 16.000000) data (31)
+Bin number 8 bounds: (16.000000 - 18.000000) data (35)
+Bin number 9 bounds: (18.000000 - 20.000000) data (39)
+Bin number 10 bounds: (20.000000 - 22.000000) data (37)
+Bin number 11 bounds: (22.000000 - 24.000000) data (30)
+Bin number 12 bounds: (24.000000 - 26.000000) data (22)
+Bin number 13 bounds: (26.000000 - 28.000000) data (14)
+Bin number 14 bounds: (28.000000 - 30.000000) data (6)
+Bin number 15 bounds: (30.000000 - 32.000000) data (0)
+Bin number 16 bounds: (32.000000 - 34.000000) data (0)
+Bin number 17 bounds: (34.000000 - 36.000000) data (0)
+Bin number 18 bounds: (36.000000 - 38.000000) data (0)
+Bin number 19 bounds: (38.000000 - 40.000000) data (0)
+
+---> TESTPOINT PASSED (psImageStats functions{Calculate Histogram with mask} | tst_psImageStats00.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats00.c                                       |
+|            TestPoint: psImageStats functions{Deallocate the psHistogram/psImage structure.} |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+
+---> TESTPOINT PASSED (psImageStats functions{Deallocate the psHistogram/psImage structure.} | tst_psImageStats00.c)
+
Index: trunk/psLib/test/image/verified/tst_psImageStats01.stdout
===================================================================
--- trunk/psLib/test/image/verified/tst_psImageStats01.stdout	(revision 890)
+++ trunk/psLib/test/image/verified/tst_psImageStats01.stdout	(revision 890)
@@ -0,0 +1,29 @@
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats01.c                                       |
+|            TestPoint: psImageStats functions{Calculate Sample Mean, no mask}     |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+The sample mean was 510.608276
+
+---> TESTPOINT PASSED (psImageStats functions{Calculate Sample Mean, no mask} | tst_psImageStats01.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats01.c                                       |
+|            TestPoint: psImageStats functions{Calculate Sample Mean with mask}    |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+The sample mean was 425.861176
+
+---> TESTPOINT PASSED (psImageStats functions{Calculate Sample Mean with mask} | tst_psImageStats01.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats01.c                                       |
+|            TestPoint: psImageStats functions{Deallocate the psStats/psImage structure.} |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+
+---> TESTPOINT PASSED (psImageStats functions{Deallocate the psStats/psImage structure.} | tst_psImageStats01.c)
+
Index: trunk/psLib/test/image/verified/tst_psImageStats02.stdout
===================================================================
--- trunk/psLib/test/image/verified/tst_psImageStats02.stdout	(revision 890)
+++ trunk/psLib/test/image/verified/tst_psImageStats02.stdout	(revision 890)
@@ -0,0 +1,227 @@
+(0.000000, 0.000000)
+(1.000000, 0.000000)
+(2.000000, 0.000000)
+(3.000000, 0.000000)
+(4.000000, 0.000000)
+(5.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(1.000000, 0.000000)
+(2.000000, 0.000000)
+(3.000000, 0.000000)
+(4.000000, 0.000000)
+(5.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(2.000000, 0.000000)
+(3.000000, 0.000000)
+(4.000000, 0.000000)
+(5.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(3.000000, 0.000000)
+(4.000000, 0.000000)
+(5.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(4.000000, 0.000000)
+(5.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(13.000000, 0.000000)
+(5.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(13.000000, 0.000000)
+(14.000000, 0.000000)
+(6.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(13.000000, 0.000000)
+(14.000000, 0.000000)
+(15.000000, 0.000000)
+(7.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(13.000000, 0.000000)
+(14.000000, 0.000000)
+(15.000000, 0.000000)
+(16.000000, 0.000000)
+(8.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(13.000000, 0.000000)
+(14.000000, 0.000000)
+(15.000000, 0.000000)
+(16.000000, 0.000000)
+(17.000000, 0.000000)
+(9.000000, 0.000000)
+(10.000000, 0.000000)
+(11.000000, 0.000000)
+(12.000000, 0.000000)
+(13.000000, 0.000000)
+(14.000000, 0.000000)
+(15.000000, 0.000000)
+(16.000000, 0.000000)
+(17.000000, 0.000000)
+(18.000000, 0.000000)
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats02.c                                       |
+|            TestPoint: psImageStats functions{Calculate Chebyshev Polynomials, no mask} |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+
+---> TESTPOINT PASSED (psImageStats functions{Calculate Chebyshev Polynomials, no mask} | tst_psImageStats02.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats02.c                                       |
+|            TestPoint: psImageStats functions{Calculate Chebyshev Polynomials, no mask} |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+(0.000000, 341605184.000000)
+(1.000000, 660202496.000000)
+(2.000000, 978799808.000000)
+(3.000000, 1297397120.000000)
+(4.000000, 1615994496.000000)
+(5.000000, 1934591744.000000)
+(6.000000, 2253189120.000000)
+(7.000000, 2571786496.000000)
+(8.000000, 2890383872.000000)
+(9.000000, 3208980992.000000)
+(1.000000, 10411743232.000000)
+(2.000000, 20754436096.000000)
+(3.000000, 31097128960.000000)
+(4.000000, 41439821824.000000)
+(5.000000, 51782512640.000000)
+(6.000000, 62125203456.000000)
+(7.000000, 72467898368.000000)
+(8.000000, 82810593280.000000)
+(9.000000, 93153280000.000000)
+(10.000000, 103495974912.000000)
+(2.000000, 20506945536.000000)
+(3.000000, 40898662400.000000)
+(4.000000, 61290381312.000000)
+(5.000000, 81682096128.000000)
+(6.000000, 102073819136.000000)
+(7.000000, 122465533952.000000)
+(8.000000, 142857256960.000000)
+(9.000000, 163248963584.000000)
+(10.000000, 183640686592.000000)
+(11.000000, 204032409600.000000)
+(3.000000, 30651992064.000000)
+(4.000000, 61142335488.000000)
+(5.000000, 91632680960.000000)
+(6.000000, 122123026432.000000)
+(7.000000, 152613371904.000000)
+(8.000000, 183103717376.000000)
+(9.000000, 213594062848.000000)
+(10.000000, 244084391936.000000)
+(11.000000, 274574737408.000000)
+(12.000000, 305065099264.000000)
+(4.000000, 40871669760.000000)
+(5.000000, 81534902272.000000)
+(6.000000, 122198147072.000000)
+(7.000000, 162861383680.000000)
+(8.000000, 203524620288.000000)
+(9.000000, 244187856896.000000)
+(10.000000, 284851109888.000000)
+(11.000000, 325514330112.000000)
+(12.000000, 366177583104.000000)
+(13.000000, 406840803328.000000)
+(5.000000, 51190751232.000000)
+(6.000000, 102125821952.000000)
+(7.000000, 153060900864.000000)
+(8.000000, 203995971584.000000)
+(9.000000, 254931042304.000000)
+(10.000000, 305866113024.000000)
+(11.000000, 356801183744.000000)
+(12.000000, 407736254464.000000)
+(13.000000, 458671325184.000000)
+(14.000000, 509606395904.000000)
+(6.000000, 61634031616.000000)
+(7.000000, 122964549632.000000)
+(8.000000, 184295063552.000000)
+(9.000000, 245625569280.000000)
+(10.000000, 306956107776.000000)
+(11.000000, 368286597120.000000)
+(12.000000, 429617119232.000000)
+(13.000000, 490947641344.000000)
+(14.000000, 552278163456.000000)
+(15.000000, 613608652800.000000)
+(7.000000, 72226283520.000000)
+(8.000000, 144100524032.000000)
+(9.000000, 215974756352.000000)
+(10.000000, 287848988672.000000)
+(11.000000, 359723237376.000000)
+(12.000000, 431597453312.000000)
+(13.000000, 503471702016.000000)
+(14.000000, 575345917952.000000)
+(15.000000, 647220166656.000000)
+(16.000000, 719094415360.000000)
+(8.000000, 82992300032.000000)
+(9.000000, 165583192064.000000)
+(10.000000, 248174100480.000000)
+(11.000000, 330765008896.000000)
+(12.000000, 413355900928.000000)
+(13.000000, 495946792960.000000)
+(14.000000, 578537717760.000000)
+(15.000000, 661128609792.000000)
+(16.000000, 743719501824.000000)
+(17.000000, 826310393856.000000)
+(9.000000, 93956857856.000000)
+(10.000000, 187462041600.000000)
+(11.000000, 280967217152.000000)
+(12.000000, 374472409088.000000)
+(13.000000, 467977568256.000000)
+(14.000000, 561482760192.000000)
+(15.000000, 654987952128.000000)
+(16.000000, 748493144064.000000)
+(17.000000, 841998336000.000000)
+(18.000000, 935503462400.000000)
+
+---> TESTPOINT PASSED (psImageStats functions{Calculate Chebyshev Polynomials, no mask} | tst_psImageStats02.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImageStats02.c                                       |
+|            TestPoint: psImageStats functions{Deallocate the psStats/psImage structure.} |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+
+---> TESTPOINT PASSED (psImageStats functions{Deallocate the psStats/psImage structure.} | tst_psImageStats02.c)
+
