MATLAB: How can i detect triangle

matlab gui

how can i detect green colour triangle from pic

Best Answer

You can segment out that green triangle using either color or shape - your choice. I'm attaching demos for each. Feel free to adapt as needed.