Description Usage Arguments Value Author(s) References Examples
View source: R/adaptive_double_plateaus_histogram_equalization.R
enhance contrast of image by double plateaus histogram equalization.
1 | EqualizeDP(im, t_down, t_up, N = 1000, range = c(0, 255))
|
im |
a grayscale image of class cimg |
t_down |
lower threshold |
t_up |
upper threshold |
N |
the number of subintervals of histogram |
range |
range of the pixel values of image. this function assumes that the range of pixel values of of an input image is [0,255] by default. you may prefer [0,1]. |
a grayscale image of class cimg
Shota Ochi
Kun Liang, Yong Ma, Yue Xie, Bo Zhou ,Rui Wang (2012). A new adaptive contrast enhancement algorithm for infrared images based on double plateaus histogram equalization. Infrared Phys. Technol. 55, 309-315.
1 2 3 4 |
Loading required package: imager
Loading required package: magrittr
Attaching package: ‘imager’
The following object is masked from ‘package:magrittr’:
add
The following objects are masked from ‘package:stats’:
convolve, spectrum
The following object is masked from ‘package:graphics’:
frame
The following object is masked from ‘package:base’:
save.image
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.