eliminate_split_crown: Clean up Split Polygons

Description Usage Arguments Value Note References

View source: R/region_growing_functions.r

Description

After the opening operation, the crown can get split into two. This function returns only the portion of the crown that the seed falls in

Usage

1
eliminate_split_crown(crown_pol, testseed)

Arguments

crown_pol

SpatialPolygons object that resulted from region growing. crown_pol might consist of multiple polygons

testseed

SpatialPoints object from which crown_pol was grown

Value

a SpatialPolygons object containing only the polygon in which testseed falls

Note

called in region_growing_wrapper.r

References

http://w3facility.org/question/r-how-to-split-spatial-multipolygon-to-spatialpolygons-element/


pieterbeck/CanHeMonR documentation built on May 25, 2019, 7:11 a.m.