Hello there,

I am trying to **categorize polygons** (triangles, squares & polygons with more than 5 edges) within a binary image based on their shape using the **BioVoxxel toolbox** and the **shapefilter**. Has someone done this before or can someone provide the certain parameter which help to distinguish between these forms? The particles are sometimes not perfect triangles, but represent more the shape of a triangle than that of a square.

At first glance I could separate squares from other polygons by using the Circularity Parameter (see image)

although I dont know how to seperate triangles from multi-edge-polygons!

**Thanks for ideas and help!**