create_disk: Disk-shaped matrix mask

View source: R/tree_detection.R

create_diskR Documentation

Disk-shaped matrix mask

Description

Creates a matrix with TRUE values shaping a centered disk

Usage

create_disk(width = 5)

Arguments

width

numeric. disk width in pixels, should be an uneven number

Value

A matrix with 1 for pixels inside the disk, 0 outside

Examples

create_disk(7)

lidaRtRee documentation built on Sept. 23, 2026, 5:07 p.m.