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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151405/image.png)
0 个评论
回答(1 个)
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?
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!