Description Usage Arguments Value Author(s) References Examples
View source: R/simplest_color_balance.R
Balance color of image by Simplest Color Balance
1 | BalanceSimplest(im, sleft, sright, range = c(0, 255))
|
im |
a grayscale image of class cimg |
sleft |
left saturation percentage. sleft can be specified by numeric or string, e.g. 1 and "1%". note that sleft is a percentile. |
sright |
right saturation percentage. sright can be specified by numeric or string. note that sright is a percentile. |
range |
this function assumes that the range of pixel values of of input image is [0,255] by default. you may prefer [0,1]. |
a grayscale image of class cimg
Shota Ochi
Nicolas Limare, Jose-Luis Lisani, Jean-Michel Morel, Ana Belen Petro, and Catalina Sbert, Simplest Color Balance, Image Processing On Line, 1 (2011), pp. 297-315. https://doi.org/10.5201/ipol.2011.llmps-scb
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.