imgHistogram {biOps}R Documentation

Return the image histogram

Description

This function returns the image pixel values histogram.

Usage

imgHistogram(x, main='Image Histogram', col='Midnight Blue', ...)

Arguments

x The image
main The histogram title
col The histogram bars color
... Same options of hist function

Value

histogram object

See Also

hist

Examples

        x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
        h <- imgHistogram(x)

[Package biOps version 0.2.1 Index]