edit.image: edit.image

Description Usage Arguments Details Author(s)

View source: R/editImage.r

Description

Adjust color, brightness or contrast of the image

Usage

1
2
3
4
## S3 method for class 'image'
edit(image = NULL, file.name = NULL, grey.mode = NULL,
  brightness = NULL, contrast = NULL, red = NULL, green = NULL,
  blue = NULL)

Arguments

image

An array of numbers between 0 and 1

file.name

A character (location of the image)

grey.mode

A character

brightness

A number

contrast

A character

red

A character

green

A character

blue

A character

Details

By using an x-y-3(rgb)-representation of an image, you can change the color, brightness or contrast of that image. For adjusting brightness or contrast use a number between -1 and 1 as parameter. To get more intense colors use a number between 0 and 1 for each color parameter. By entering grey.mode = TRUE one will get a normal grey image. Other options for grey.mode are "luminosity.grey", red.grey", "green.grey" and "blue.grey".

Author(s)

Kai Budde


buddekai/AgeReader documentation built on May 22, 2019, 5:33 p.m.