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

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Clip values above a certain threshold:

In[6]:=
Click for copyable input
Out[6]=

Clip values below a certain threshold to zero:

In[1]:=
Click for copyable input
Out[1]=

Clip pixels of a 3D image to positive values and adjust for better rendering:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2010
(8.0)
| Updated in 2012
(9.0)