| coo_circularity {Momocs} | R Documentation |
Calculates the Haralick's circularity of a shape
Description
coo_circularity calculates the 'circularity measure'. Also called 'compactness'
and 'shape factor' sometimes. coo_circularityharalick calculates Haralick's circularity which is less sensible
to digitalization noise than coo_circularity.
coo_circularitynorm calculates 'circularity', also called compactness
and shape factor, but normalized to the unit circle.
Usage
coo_circularity(coo)
## Default S3 method:
coo_circularity(coo)
## S3 method for class 'Coo'
coo_circularity(coo)
coo_circularityharalick(coo)
## Default S3 method:
coo_circularityharalick(coo)
## S3 method for class 'Coo'
coo_circularityharalick(coo)
coo_circularitynorm(coo)
## Default S3 method:
coo_circularitynorm(coo)
## S3 method for class 'Coo'
coo_circularitynorm(coo)
Arguments
coo |
a |
Value
numeric for single shapes, list for Coo of
the corresponding circularity measurement.
Source
Rosin PL. 2005. Computing global shape measures. Handbook of Pattern Recognition and Computer Vision. 177-196.
See Also
Other coo_ descriptors:
coo_angle_edges(),
coo_angle_tangent(),
coo_area(),
coo_boundingbox(),
coo_chull(),
coo_convexity(),
coo_eccentricity,
coo_elongation(),
coo_length(),
coo_lw(),
coo_rectangularity(),
coo_rectilinearity(),
coo_scalars(),
coo_solidity(),
coo_tac(),
coo_width()
Examples
# coo_circularity
bot[1] %>% coo_circularity()
bot %>%
slice(1:5) %>% # for speed sake only
coo_circularity
# coo_circularityharalick
bot[1] %>% coo_circularityharalick()
bot %>%
slice(1:5) %>% # for speed sake only
coo_circularityharalick
# coo_circularitynorm
bot[1] %>% coo_circularitynorm()
bot %>%
slice(1:5) %>% # for speed sake only
coo_circularitynorm