Get surrounding area of a polygon

Hi, 

I have some ROI masks defined by x,y waves (respective polygons), and I would like to get the surrounding area of one ROI in a way that I can define how many pixels of width it should have.

At the moment I am not finding a solution for this, thanks.

Claudio.

I think we need some clarification... Do you mean "width" as in the horizontal extent? That would be waveMin(xwave) and waveMax(xwave). Or if you are using IP9 and calling from a function, WaveMinMax(xwave).

That is different from "area". Computing the area is harder :)