segment: Segment mapping area

Description Usage Arguments Value See Also Examples

View source: R/segment.R

Description

Make index to segment mapping area. The obtained index is further utilized in mean.qntmap().

Usage

1
2
3
4
segment(x, ...)

## S3 method for class 'character'
segment(x, ...)

Arguments

x

A path to the PNG image file.

...

ignored

Value

A character vector indicating pixel colors in RGBA style for input image.

See Also

mean.qntmap()

Examples

1
2
x <- system.file("img", "Rlogo.png", package = "png")
head(segment(x))

atusy/qntmap documentation built on April 11, 2021, 4:45 p.m.