chessboard {rcaiman} | R Documentation |
Do chessboard segmentation
Description
Do chessboard segmentation
Usage
chessboard(r, size)
Arguments
r |
|
size |
Numeric vector of length one. Size of the square segments. |
Value
A single layer image of the class SpatRaster with integer values.
See Also
Other Segmentation Functions:
mask_hs()
,
mask_sunlit_canopy()
,
polar_qtree()
,
qtree()
,
rings_segmentation()
,
sectors_segmentation()
,
sky_grid_segmentation()
Examples
caim <- read_caim()
seg <- chessboard(caim, 20)
plot(caim$Blue)
plot(extract_feature(caim$Blue, seg))
[Package rcaiman version 1.2.2 Index]