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 Comment

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

Sign in to comment.

Categories

Products

Release

R2021a

Asked:

on 24 Jun 2021

Answered:

on 28 Jun 2021

Community Treasure Hunt

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

Start Hunting!