renorm {imager} | R Documentation |
Pixel data is usually expressed on a 0...255 scale for displaying. This function performs a linear renormalisation to range min...max
renorm(x, min = 0, max = 255)
x |
numeric data |
min |
min of the range |
max |
max of the range |
Simon Barthelme
renorm(0:10)
renorm(-5:5) #Same as above