polyArea
computes the surface area of a polygon.
Value
If `oriented = FALSE`, the function return the area in pixels enclosed within the contour. If `oriented = TRUE`, the function returns a signed area value depending on the contour orientation (clockwise or counter-clokwise). Using this feature, you can determine the orientation of a contour by taking the sign of the area.
Author
Simon Garnier, garnier@njit.edu