Description Usage Arguments Details Value References Examples
Get the number of pixels per segment given a
PolarSegmentation
.
1 2 3 4 | getNumberOfPixels(x, m, onlyMin = TRUE)
## S4 method for signature 'PolarSegmentation'
getNumberOfPixels(x, m, onlyMin = TRUE)
|
x |
|
m |
|
onlyMin |
logical. The default TRUE meant that only the number of pixels of the smallest segment is returned. |
A criterion for selecting a proper segmentation is the number of pixel of the smallest segment. Gonsamo et al. (2010) suggest a minimum number of pixels greater or equal than 10 pixels.
numeric
Gonsamo, A., Walter, J.-M.N., Pellikka, P., 2010. Sampling gap fraction and size for estimating leaf area and clumping indices from hemispherical photographs. Can. J. For. Res. 40, 1588–1603. doi:10.1139/X10-085
1 | #/inst/examples/ Example.R
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.