circularity: Improved Circularity and Perimeter Calculation

View source: R/circularity.R

circularityR Documentation

Improved Circularity and Perimeter Calculation

Description

Improved Circularity and Perimeter Calculation

Usage

circularity(x)

perimeter(x)

Arguments

x

An Image object mask with a single object to be analyzed.

Details

At the cost of increased computing time, these functions provide more precise measures of the circularity and perimeter of a binary object than the algorithm in computeFeatures.

Value

Circularity as a value between 0 (line) and 1 (circle)

The perimeter (in pixels) of a binary object


ornelles/EBImageExtra documentation built on Aug. 10, 2022, 11:44 p.m.