detect checkerboard pattern (non-solid dark colour)
古いコメントを表示
I am trying to detect the checkerboard points in the image below. If that's not possible, I would like to split the image into 64 different blocks, one for each square.

Now, detectCheckerboardPoints won't work here because of the dashed lines. Is there an easy way to do this?
Thanks
採用された回答
その他の回答 (1 件)
Image Analyst
2017 年 3 月 30 日
編集済み: Image Analyst
2017 年 3 月 31 日
The image is well aligned. Just do this:
axis on;
So you can see what elements each square starts and stops on. Then make up a 1-D array of rows and columns that divide each square.
rows = [1, 100, ..... whatever
columns = [1, 100, ..... whatever
To see all 64, just extract and show
for k = 1 : length(rows)
r1 = rows(k);
r2 = rows(k+1)-1;
%etc........
end
カテゴリ
ヘルプ センター および File Exchange で Red についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

