ros-perception / opencv_apps

http://wiki.ros.org/opencv_apps
65 stars 70 forks source link

Add centroid for calculating image centroid #64

Open yuki-shark opened 7 years ago

yuki-shark commented 7 years ago

This nodelet calcurates image centroid. When you input rgb image, this nodelet convert it to grey scale image.

k-okada commented 7 years ago

did you check http://wiki.ros.org/opencv_apps#contour_moments ? https://github.com/yuki-shark/opencv_apps/blob/b3a2c412dd10f22363c566d1bc3780ce2b85cce6/CMakeLists.txt#L207-L209

-- ◉ Kei Okada

2017-05-10 18:45 GMT+09:00 Yuki Ohmori notifications@github.com:

This nodelet calcurates image centroid. When you input rgb image, this nodelet convert it to grey scale image.

You can view, comment on, or merge this pull request online at:

https://github.com/ros-perception/opencv_apps/pull/64 Commit Summary

  • [centroid] add template for centorid nodelet
  • add centroid_nodelet.cpp for calculationg image centroid

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ros-perception/opencv_apps/pull/64, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3Hbssl0L6aP47r_dK2dg7iXev8wVks5r4YctgaJpZM4NWa65 .