sampling.circle: Internal function for color sampling an image. Calculates the...

View source: R/sampling.circle.R

sampling.circleR Documentation

Internal function for color sampling an image. Calculates the pixels in a circular neighborhood of specified radius.

Description

Internal function for color sampling an image. Calculates the pixels in a circular neighborhood of specified radius.

Usage

sampling.circle(px.radius = 2)

Arguments

px.radius

How many neighboring pixels to include when analyzing image color at a given landmark. A value of 1 just gives back the original pixel.

Value

The coordinates of a circle with radius px.radius

Examples

plot(sampling.circle(4), asp = 1)

J0vid/Colormesh documentation built on Nov. 23, 2024, 6:10 p.m.