hole_section {bwimage} | R Documentation |
Hole finder
Description
Description of when a sequence of same color pixel start and end.
Usage
hole_section(section)
Arguments
section |
Section to be analysed. |
Value
Description of start and end of each same color sequence
Author(s)
Carlos Biagolini-Jr.
References
Zehm et al 2003 Multiparameter analysis of vertical vegetation structure based on digital image processing. Flora-Morphology, Distribution, Functional Ecology of Plants, 198: 142-160.
See Also
hole_section_data threshold_color
Examples
# First, get a matrix from your image. Here an example of a bush image is used.
bush<-system.file("extdata/bush.JPG",package ="bwimage")
bush_imagematrix<-threshold_color(bush, "jpeg", "proportional", compress_rate = 0.1)
# Find pixel hole sections in the column 200 of bush image
hole_section(bush_imagematrix[,200])
# Find pixel hole sections in the row 250 of bush image
hole_section(bush_imagematrix[250,])
[Package bwimage version 1.3 Index]