chessboard: Chessboard segmentation

View source: R/chessboard.R

chessboardR Documentation

Chessboard segmentation

Description

Chessboard segmentation

Usage

chessboard(r, size)

Arguments

r

SpatRaster.

size

Numerica 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

## Not run: 
caim <- read_caim()
seg <- chessboard(caim, 100)
plot(caim$Blue)
plot(extract_feature(caim$Blue, seg))

## End(Not run)

rcaiman documentation built on Sept. 20, 2022, 1:05 a.m.

Related to chessboard in rcaiman...