MATLAB Answers

Rectangle Detection in An Image

11 views (last 30 days)
Ryan Murphy
Ryan Murphy on 24 Jun 2021
Answered: Swetha Polemoni on 28 Jun 2021
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
Jonas
Jonas on 25 Jun 2021
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.

Community Treasure Hunt

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

Start Hunting!

Translated by