[Phission-cvs] phission/examples/cpp/HistogramBlobTest/src HistogramBlobTest.cpp,1.1,1.2
Brought to you by:
pthoren
From: Philip T. <pt...@us...> - 2004-03-26 18:53:52
|
Update of /cvsroot/phission/phission/examples/cpp/HistogramBlobTest/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29035/HistogramBlobTest/src Modified Files: HistogramBlobTest.cpp Log Message: Syncing, misc changes and cv_canny_Filter changes Index: HistogramBlobTest.cpp =================================================================== RCS file: /cvsroot/phission/phission/examples/cpp/HistogramBlobTest/src/HistogramBlobTest.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** HistogramBlobTest.cpp 25 Mar 2004 00:04:08 -0000 1.1 --- HistogramBlobTest.cpp 26 Mar 2004 18:42:48 -0000 1.2 *************** *** 28,32 **** #define DISABLE_DISPLAYS() 0 ! #define PRINT_HISTOGRAM() 1 #define PRINT_BLOBS() 1 /* ------------------------------------------------------------------------ */ --- 28,32 ---- #define DISABLE_DISPLAYS() 0 ! #define PRINT_HISTOGRAM() 0 #define PRINT_BLOBS() 1 /* ------------------------------------------------------------------------ */ *************** *** 189,193 **** /* At the end of the train stage they are averaged together and the * deviation caculated to create a color and threshold to match */ ! const uint32_t sample_count = 5; phColor color_samples[sample_count]; uint32_t sample_index = 0; --- 189,193 ---- /* At the end of the train stage they are averaged together and the * deviation caculated to create a color and threshold to match */ ! const uint32_t sample_count = 1; phColor color_samples[sample_count]; uint32_t sample_index = 0; *************** *** 223,228 **** capture->setColour(35000); capture->setHue(22700); ! capture->setContrast(27000); ! capture->setBrightness(22000); for (i = 0; i < nTrainDisplays; i++ ) --- 223,228 ---- capture->setColour(35000); capture->setHue(22700); ! capture->setContrast(37000); ! capture->setBrightness(42000); for (i = 0; i < nTrainDisplays; i++ ) *************** *** 372,376 **** j,threshold.array.v[j]); // threshold.array.v[j] *= 2; ! threshold.array.v[j] = 20; } } --- 372,376 ---- j,threshold.array.v[j]); // threshold.array.v[j] *= 2; ! // threshold.array.v[j] = 20; } } *************** *** 387,391 **** threshold.array.v[3] ); ! blob_this_color.array.v[0] = 240; blob_this_color.array.v[1] = 200; --- 387,391 ---- threshold.array.v[3] ); ! #if 0 blob_this_color.array.v[0] = 240; blob_this_color.array.v[1] = 200; *************** *** 408,412 **** threshold.array.v[2], threshold.array.v[3] ); ! /* --------------------------------------------------------------------- */ /* BEGIN BLOB / "TRACKING" SECTION */ --- 408,412 ---- threshold.array.v[2], threshold.array.v[3] ); ! #endif /* --------------------------------------------------------------------- */ /* BEGIN BLOB / "TRACKING" SECTION */ |