imgHistogram {biOps} | R Documentation |
This function returns the image pixel values histogram.
imgHistogram(x, main='Image Histogram', col='Midnight Blue', ...)
x |
The image |
main |
The histogram title |
col |
The histogram bars color |
... |
Same options of hist function |
histogram object
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) h <- imgHistogram(x)