Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

display.cimg

Display image using CImg library


Description

Press escape or close the window to exit. Note that you need X11 library to use this function.

Usage

## S3 method for class 'cimg'
display(x, ..., rescale = TRUE)

Arguments

x

an image (cimg object)

...

ignored

rescale

if true pixel values are rescaled to [0-1] (default TRUE)

Examples

##Not run: interactive only 
##display(boats,TRUE) #Normalisation on 
##display(boats/2,TRUE) #Normalisation on, so same as above
##display(boats,FALSE) #Normalisation off
##display(boats/2,FALSE) #Normalisation off, so different from above

imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.