ImageClip

ImageClip[image]
clips all channel values in image to lie in the default range.

ImageClip[image, {min, max}]
clips channel values to lie in the range from min to max.

ImageClip[image, {min, max}, {vmin, vmax}]
gives for values below min and for values above max.

DetailsDetails

  • ImageClip[image] is equivalent to ImageClip[image, {0, 1}].
  • ImageClip works with any type of image.
  • ImageClip[image, {{min1, min2, ...}, {max1, max2, ...}}, ...] specifies ranges separately for each channel.
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »