RGB_manipulation: RGB manipulation

Description Usage Arguments Value Examples

Description

RGB manipulation

Usage

1
RGB_manipulation(input_path, output_path, R = 2L, G = 2L, B = 2L)

Arguments

input_path

string, path to the input .png file

output_path

string, path to the output .png file

R

int, a weight value for red channel, equal to or greater than 0.

G

int, a weight value for green channel, equal to or greater than 0.

B

int, a weight value for blue channel, equal to or greater than 0.

Value

png file at the output path

Examples

1
2
3
4
## Not run: 
RGB_manipulation("input.png", "output.png", R = 5L, G = 1L, B = 1L)

## End(Not run)

UBC-MDS/InstaRF documentation built on May 15, 2019, 4:10 a.m.