Steve on Image Processing and MATLAB

Concepts, algorithms & MATLAB

Results for: POLY2MASK


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

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 >>