You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
a.tot.p1: "Area of all the pixels interior to the boundary that is one pixel wider than the cell boundary. Numbers thus include the original cell plus an annular region one pixel around the outside of the cell."
Since the perim variable is not actually the number of pixels in the perimeter, there is no good way of estimating it.
A workaround is to derive it from the pixel boundary masks.
For example, this creates a num.pix.perim column with the actual number of pixels in the boundary:
Example pics:
a.tot: "Area of the cell in pixels"a.tot.p1: "Area of all the pixels interior to the boundary that is one pixel wider than the cell boundary. Numbers thus include the original cell plus an annular region one pixel around the outside of the cell."Since the
perimvariable is not actually the number of pixels in the perimeter, there is no good way of estimating it.A workaround is to derive it from the pixel boundary masks.
For example, this creates a
num.pix.perimcolumn with the actual number of pixels in the boundary: