Index: trunk/psModules/src/objects/pmPeaks.c
===================================================================
--- trunk/psModules/src/objects/pmPeaks.c	(revision 21514)
+++ trunk/psModules/src/objects/pmPeaks.c	(revision 23187)
@@ -37,5 +37,5 @@
                         pmPeakType type)
 {
-    psTrace("psModules.objects", 5, "---- begin ----\n");
+    psTrace("psModules.objects", 10, "---- begin ----\n");
 
     if (peaks == NULL) {
@@ -82,5 +82,5 @@
     psFree (peak);
 
-    psTrace("psModules.objects", 5, "---- end ----\n");
+    psTrace("psModules.objects", 10, "---- end ----\n");
     return(peaks);
 }
@@ -96,5 +96,5 @@
                                        psU32 row)
 {
-    psTrace("psModules.objects", 4, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     PS_ASSERT_IMAGE_NON_NULL(image, NULL);
     PS_ASSERT_IMAGE_TYPE(image, PS_TYPE_F32, NULL);
@@ -104,5 +104,5 @@
         tmpVector->data.F32[col] = image->data.F32[row][col];
     }
-    psTrace("psModules.objects", 4, "---- %s() end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
     return(tmpVector);
 }
@@ -117,13 +117,13 @@
                              psS32 y)
 {
-    psTrace("psModules.objects", 4, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     if ((x >= valid.x0) &&
             (x <= valid.x1) &&
             (y >= valid.y0) &&
             (y <= valid.y1)) {
-        psTrace("psModules.objects", 4, "---- %s(true) end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s(true) end ----\n", __func__);
         return(true);
     }
-    psTrace("psModules.objects", 4, "---- %s(false) end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s(false) end ----\n", __func__);
     return(false);
 }
@@ -140,5 +140,5 @@
                     pmPeakType type)
 {
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     static int id = 1;
     pmPeak *tmp = (pmPeak *) psAlloc(sizeof(pmPeak));
@@ -157,5 +157,5 @@
     psMemSetDeallocator(tmp, (psFreeFunc) peakFree);
 
-    psTrace("psModules.objects", 3, "---- %s() end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
     return(tmp);
 }
@@ -172,5 +172,5 @@
 int pmPeaksCompareAscend (const void **a, const void **b)
 {
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     pmPeak *A = *(pmPeak **)a;
     pmPeak *B = *(pmPeak **)b;
@@ -180,11 +180,11 @@
     diff = A->value - B->value;
     if (diff < FLT_EPSILON) {
-        psTrace("psModules.objects", 3, "---- %s(-1) end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s(-1) end ----\n", __func__);
         return (-1);
     } else if (diff > FLT_EPSILON) {
-        psTrace("psModules.objects", 3, "---- %s(+1) end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s(+1) end ----\n", __func__);
         return (+1);
     }
-    psTrace("psModules.objects", 3, "---- %s(0) end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s(0) end ----\n", __func__);
     return (0);
 }
@@ -194,5 +194,5 @@
 int pmPeaksCompareDescend (const void **a, const void **b)
 {
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     pmPeak *A = *(pmPeak **)a;
     pmPeak *B = *(pmPeak **)b;
@@ -202,11 +202,11 @@
     diff = A->value - B->value;
     if (diff < FLT_EPSILON) {
-        psTrace("psModules.objects", 3, "---- %s(+1) end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s(+1) end ----\n", __func__);
         return (+1);
     } else if (diff > FLT_EPSILON) {
-        psTrace("psModules.objects", 3, "---- %s(-1) end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s(-1) end ----\n", __func__);
         return (-1);
     }
-    psTrace("psModules.objects", 3, "---- %s(0) end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s(0) end ----\n", __func__);
     return (0);
 }
@@ -258,5 +258,5 @@
 			 psF32 threshold)
 {
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     PS_ASSERT_VECTOR_NON_NULL(vector, NULL);
     PS_ASSERT_VECTOR_NON_EMPTY(vector, NULL);
@@ -276,5 +276,5 @@
             tmpVector = psVectorAlloc(0, PS_TYPE_U32);
         }
-        psTrace("psModules.objects", 3, "---- %s() end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
         return(tmpVector);
     }
@@ -341,5 +341,5 @@
     }
 
-    psTrace("psModules.objects", 3, "---- %s() end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
     return(tmpVector);
 }
@@ -363,10 +363,10 @@
 psArray *pmPeaksInImage(const psImage *image, psF32 threshold)
 {
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     PS_ASSERT_IMAGE_NON_NULL(image, NULL);
     PS_ASSERT_IMAGE_TYPE(image, PS_TYPE_F32, NULL);
     if ((image->numRows == 1) || (image->numCols == 1)) {
         psError(PS_ERR_UNKNOWN, true, "Currently, input image must have at least 2 rows and 2 columns.");
-        psTrace("psModules.objects", 3, "---- %s(NULL) end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s(NULL) end ----\n", __func__);
         return(NULL);
     }
@@ -425,5 +425,5 @@
     //
     if (image->numRows == 1) {
-        psTrace("psModules.objects", 3, "---- %s() end ----\n", __func__);
+        psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
         return(list);
     }
@@ -549,5 +549,5 @@
     psFree (tmpRow);
     psFree (row1);
-    psTrace("psModules.objects", 3, "---- %s() end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
     return(list);
 }
@@ -560,5 +560,5 @@
     const psRegion valid)
 {
-    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__);
     PS_ASSERT_PTR_NON_NULL(peaks, NULL);
 
@@ -575,5 +575,5 @@
         psArrayAdd (output, 200, tmpPeak);
     }
-    psTrace("psModules.objects", 3, "---- %s() end ----\n", __func__);
+    psTrace("psModules.objects", 10, "---- %s() end ----\n", __func__);
     return(output);
 }
