region_props | R Documentation |
Given a labelled image (e.g., result of connected
),
extract properties of different regions.
region_props(label_im, intensity_im = NULL, points = NULL)
label_im |
|
intensity_im |
|
points |
|
list List of region properties. The following properties can be accessed as methods for each region.
area: Numeric Numeric value representing the area of the region.
bbox: owin
Rectangular window representing the smallest rectangle that encloses the
region.
centroid: list List containing x and y coordinates of the region.
diameter: Numeric Numeric value representing the size of the largest line that can be drawn across the region.
perimeter: Numeric Numeric value representing the perimeter around the region.
Note: the values are only computed when the method is called for a specific region i.e., they are lazy. This means you can filter on a specific property without needing to compute all properties.
connected
im
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.