I am a total beginner in MATLAB, so this may be a fairly basic question.
I have an image of Lego bricks which I have segmented in order to get only the blue and red c