Learn R Programming

Rgnuplot (version 1.0.3)

GpimageRGBchange: Change image colors

Description

GpimageRGBchange modifies an image with either a formula for each color component of RGB or for all GpimageRgbfalsecolor converts an image from true color to false color and vice-versa GpimageRgbfiltercolorBlue filters an image using the blue channel GpimageRgbfiltercolorGreen filters an image using the green channel GpimageRgbfiltercolorRed filters an image using the red channel GpimageRgbfiltercolorSepia filters an image using a sepia algorithm GpimageRgbfiltercolorSepia2 filters an image using a 2nd sepia algorithm GpimageRgbgreyscaleBT709 filters an image using greyscale algorithm - BT709 GpimageRgbgreyscaleLinear filters an image using greyscale algorithm - linear GpimageRgbgreyscaleLuminosity filters an image using greyscale algorithm - luminosity GpimageRgbgreyscaleRMY filters an image using greyscale algorithm - RMY GpimageRgbgreyscaleY filters an image using greyscale algorithm - Y GpimageRgbgreyscaleavg filters an image using greyscale algorithm - average

Usage

GpimageRGBchange(fileIN, fileOUT, filetype='PNG', terminal=NULL, rgbformula,rgbformulaG='',rgbformulaB='') GpimageRgbfalsecolor(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbfiltercolorBlue(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbfiltercolorGreen(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbfiltercolorRed(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbfiltercolorSepia(fileIN, fileOUT, filetype='PNG', terminal=NULL, sepiaDepth=20,sepiaIntensity=10) GpimageRgbfiltercolorSepia2(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbgreyscaleBT709(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbgreyscaleLinear(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbgreyscaleLuminosity(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbgreyscaleRMY(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbgreyscaleY(fileIN, fileOUT, filetype='PNG', terminal=NULL) GpimageRgbgreyscaleavg(fileIN, fileOUT, filetype='PNG', terminal=NULL)

Arguments

fileIN
input file name
fileOUT
output file name
filetype
image file type
terminal
terminal name
rgbformula
formula for the 3 RGB channels or for channel R
rgbformulaG
formula for for channel G
rgbformulaB
formula for for channel B
sepiaDepth
depth value for the sepia algorithm
sepiaIntensity
intensity value for the sepia algorithm

Value

See Also

GpimagePlot