Rectangle Detection in An Image

What would be the best method to preprocess this image to help isolate the two wooden boards more? I will need to place boundary boxes around them everntually too. Is there any good method of identifying boards like this that may be a different color?

1 个评论

i did not try yet, but if you can try to convert the image to grayscale by using the max() function along the 3rd dimension, in this case the color is red and blue what should work fairly well here

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by