create_disk {lidaRtRee}R 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)

[Package lidaRtRee version 4.0.5 Index]