vm_c_rect_mn.Rd
Calculate rectangularity
vm_c_rect_mn(landscape, class_col)
the input landscape image,
the name of the class column of the input landscape
the function returns tibble with the calculated values in column "value", this function returns also some important information such as level, class, patch id and metric name.
ratio between area of shape and its minimum area bounding rectangle (MABR)
Jiao, L., Liu, Y., & Li, H. (2012). Characterizing land-use classes in remote sensing imagery by shape metrics. ISPRS Journal of Photogrammetry and Remote Sensing, 72, 46–55. https://doi.org/10.1016/j.isprsjprs.2012.05.012
vm_c_rect_mn(vector_landscape, "class")
#> # A tibble: 3 × 5
#> level class id metric value
#> <chr> <chr> <chr> <chr> <dbl>
#> 1 class 1 NA rect_mn 0.17
#> 2 class 2 NA rect_mn 0.331
#> 3 class 3 NA rect_mn 0.497