[openrtm-commit:02495] r200 - trunk/ImageProcessing/opencv/components/ImageSubstraction/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 3月 7日 (火) 11:30:56 JST
Author: miyamoto
Date: 2017-03-07 11:30:56 +0900 (Tue, 07 Mar 2017)
New Revision: 200
Modified:
trunk/ImageProcessing/opencv/components/ImageSubstraction/src/ImageSubstraction.cpp
Log:
[compat,bugfix] fixed bug.
Modified: trunk/ImageProcessing/opencv/components/ImageSubstraction/src/ImageSubstraction.cpp
===================================================================
--- trunk/ImageProcessing/opencv/components/ImageSubstraction/src/ImageSubstraction.cpp 2017-03-01 04:57:07 UTC (rev 199)
+++ trunk/ImageProcessing/opencv/components/ImageSubstraction/src/ImageSubstraction.cpp 2017-03-07 02:30:56 UTC (rev 200)
@@ -76,11 +76,11 @@
//IplImage *frameImage;
for( i = 0; i < num; i++ ){
//frameImage = cvQueryFrame( capture );
- std::cout << "f1" << "\t" << originalImage.size() << "\t" << acc.size() << std::endl;
+
cv::accumulate(originalImage, acc, cv::noArray());
- std::cout << "f2" << std::endl;
+
cv::accumulateSquare(originalImage, acc2, cv::noArray());
- std::cout << "f3" << std::endl;
+
printf( "%d / %d image\n", i + 1, num );
}
printf( "Completion!\n" );
openrtm-commit メーリングリストの案内