R/clahe.R

Defines functions clahe

Documented in clahe

clahe = function(x, nx = 8, ny = nx, bins = 256, limit = 2, keep.range = FALSE) {
  validImage(x)
  .Call(C_clahe, castImage(x), as.integer(nx), as.integer(ny), as.integer(bins), as.double(limit), isTRUE(keep.range))
}

Try the EBImage package in your browser

Any scripts or data that you put into this service are public.

EBImage documentation built on Nov. 8, 2020, 5:41 p.m.