powered by
Returns the maximum and minimum pixel values of an Image object. If the Image object has more than one channel, it returns the maximum and minimum of each channel.
Image
# S3 method for Rcpp_Image min(x, ...)# S3 method for Rcpp_Image max(x, ...)# S3 method for Rcpp_Image range(x, ...)
# S3 method for Rcpp_Image max(x, ...)
# S3 method for Rcpp_Image range(x, ...)
An Image object.
Unused at the moment.
min and max return a matrix with 1 row and nchan(x) columns. range returns a matrix with 2 rows and nchan(x) columns.
min
max
nchan(x)
range
Image, minMaxLoc.
minMaxLoc
# NOT RUN { balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision")) min(balloon) max(balloon) # }
Run the code above in your browser using DataLab