how can i convert a checkerboard image to a checker board matrix?

1 次查看(过去 30 天)
hey guys ! may someone help me in this please :) i would like to generate a checker board matrix for a checkerboard image taken by a webcam thank you

回答(1 个)

Image Analyst
Image Analyst 2015-11-4
Simple, just have a list of predefined coordinates where the squares are. Then use impixel() to get the RGB values and see if the color is closer to black, white, light brown, or dark brown. Didn't we talk about this before?

标签

Community Treasure Hunt

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

Start Hunting!

Translated by