Arguments
img
Image object of class "adimpro", usually the result
returned from read.image, read.raw, or make.image.
range1
Range of gray values or values in the
first color channel. mask is set to FALSE for all
pixel with values outside this range. Defaults to c(0,1).
range2
Range of values in the second color
channel. mask is set to FALSE for all pixel with
values outside this range. Defaults to c(0,1).
range3
Range of values in the third color
channel. mask is set to FALSE for all pixel with
values outside this range. Defaults to c(0,1).
locate
(logical). If TRUE (default), the image is displayed and
two opposite corners of a rectangular region can be selected using the
mouse (call of locator(2)).