get_circular_mask: Create a circular mask image

View source: R/pictplot.R

get_circular_maskR Documentation

Create a circular mask image

Description

Create a circular mask image

Usage

get_circular_mask(height, width, cy, cx, r)

Arguments

height

image height

width

image width

cy

circle center y

cx

circle center x

r

circle radius

Value

an image

Examples

mask = get_circular_mask( 100, 120, 50, 50, 20 )
plot(mask)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.