Steve on Image Processing

Concepts, algorithms & MATLAB

Results for: POLY2MASK

POLY2MASK and ROIPOLY – Part 3

Posted by Steve Eddins,

This is the final post in a series discussing the algorithm underlying Image Processing Toolbox functions poly2mask and roipoly. (See Part 1 and Part 2.) ... read more >>

POLY2MASK and ROIPOLY – Part 2

Posted by Steve Eddins,

I'm familiar with two basic ways to determine whether a point is inside a polygon. The first is to compute the winding number, which is the number of times that a closed curve encircles the point. This technique is used by the MATLAB function inpolygon. ... read more >>

POLY2MASK and ROIPOLY – Part 1 19

Posted by Steve Eddins,

This is the first of several blogs about the algorithm behind poly2mask and roipoly. poly2mask takes a set of polygon vertices and produces a binary mask image. The binary mask has 1s for pixels inside the polygon and 0s for pixels outside. ... read more >>