enhance {EBImage}R Documentation

Enhancing image and image colors

Description

Functions to enhance image colours.

Usage

    cgamma(x, level=1, ...)
    contrast(x, sharpen=TRUE, )
    enhance(x, ...)
    equalize(x, ...)
    modulate(x, value=100, ...)

Arguments

x
An object of Image-class.
sharpen
A logical specifying whether the contrast should be increased (TRUE) or decreased (FALSE).
value
A percent change in brightness, saturation, and hue. The default value to keep the values unchanged.

...
Reserved for future use.

Value

A transformed image in an object of Image-class.

Details

cgamma gamma-corrects image. The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen. Adjust all three channels with the level parameter. Values typically range from 0.8 to 2.3.

contrast enhances the intensity differences between the lighter and darker elements of the image.

enhance applies a digital filter that improves the quality of a noisy image.

equalize applies a histogram equalization to the image.

modulate lets you control the brightness, saturation, and hue of an image. Modulate represents the brightness, saturation, and hue as one parameter.

Author(s)

Copyright (c) 2005-2006 Oleg Sklyar : osklyar@ebi.ac.uk

References

ImageMagick: http://www.imagemagick.org.

See Also

Image-class


[Package EBImage version 2.0.1 Index]