To find settings of switches based on COG?

조회 수: 1 (최근 30일)
Jim
Jim 2011년 6월 15일
I calculated the COG value of the image as 144.1324?How to find settings of switches based on this? please visit the following site for image?

답변 (1개)

Walter Roberson
Walter Roberson 2011년 6월 15일
For any particular switch, the COG will be on the side of the switch that is up.
However... it seems to me that you could threshold at a higher brightness level, and then the position (or centroid) of the remaining blob would be on the side of the switch that is up.
  댓글 수: 1
Jim
Jim 2011년 6월 15일
Thank you for your reply
can u please explain me in detail?
My task is to find the settings of the switches?
For that I calculated the cog for the whole image?
Is there any other method to find the setting of each individual switch?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by