clipping input data to the valid range for imshow with rgb data ([0..1] for floats or [0..255] for integers)
By Marsha Torp at Oct 16 2020