[openrtm-commit:02417] r187 - in trunk/ImageProcessing/opencv/components: MFCamera/src Perspective/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 2月 10日 (金) 17:28:40 JST
Author: kawauchi
Date: 2017-02-10 17:28:40 +0900 (Fri, 10 Feb 2017)
New Revision: 187
Modified:
trunk/ImageProcessing/opencv/components/MFCamera/src/MFUtils.cpp
trunk/ImageProcessing/opencv/components/Perspective/src/Perspective.cpp
Log:
Fixed r186. refs #3825
Modified: trunk/ImageProcessing/opencv/components/MFCamera/src/MFUtils.cpp
===================================================================
--- trunk/ImageProcessing/opencv/components/MFCamera/src/MFUtils.cpp 2017-02-10 07:26:14 UTC (rev 186)
+++ trunk/ImageProcessing/opencv/components/MFCamera/src/MFUtils.cpp 2017-02-10 08:28:40 UTC (rev 187)
@@ -330,7 +330,7 @@
rgb_image[nCount++]=clip255((298*Y0+516*U0 +128) >> 8);
rgb_image[nCount++]=clip255((298*Y1 + 409*V0+128) >> 8);
- rgb_image[nCount++]=clip255((298*Y1.2.0*U0-208*V0+128) >> 8);
+ rgb_image[nCount++]=clip255((298*Y1-100*U0-208*V0+128) >> 8);
rgb_image[nCount++]=clip255((298*Y1+516*U0 +128) >> 8);
#endif
}
Modified: trunk/ImageProcessing/opencv/components/Perspective/src/Perspective.cpp
===================================================================
--- trunk/ImageProcessing/opencv/components/Perspective/src/Perspective.cpp 2017-02-10 07:26:14 UTC (rev 186)
+++ trunk/ImageProcessing/opencv/components/Perspective/src/Perspective.cpp 2017-02-10 08:28:40 UTC (rev 187)
@@ -160,7 +160,7 @@
// 変換前の画像での座標
const cv::Point2f src_pt[] = {
cv::Point2f(88.0, 81.0),
- cv::Point2f(1.2.0, 436.0),
+ cv::Point2f(111.0, 436.0),
cv::Point2f(420.0, 346.0),
cv::Point2f(424, 131) };
More information about the openrtm-commit
mailing list