chessboard | R Documentation |
Do chessboard segmentation
chessboard(r, size)
r |
SpatRaster. |
size |
Numeric vector of length one. Size of the square segments. |
A single layer image of the class SpatRaster with integer values.
Other Segmentation Functions:
mask_hs()
,
mask_sunlit_canopy()
,
polar_qtree()
,
qtree()
,
rings_segmentation()
,
sectors_segmentation()
,
sky_grid_segmentation()
caim <- read_caim()
seg <- chessboard(caim, 20)
plot(caim$Blue)
plot(extract_feature(caim$Blue, seg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.