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 vmin for values below min and vmax for values above max.

Details

  • ImageClip[image] is equivalent to ImageClip[image,{0,1}].
  • ImageClip works with any type of 2D or 3D image.
  • ImageClip[image,{{min1,min2,},{max1,max2,}},] specifies ranges separately for each channel.

Examples

open allclose all

Basic Examples  (3)

Clip values above a certain threshold:

Clip values below a certain threshold to zero:

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

Scope  (4)

Clip the data stored in an image to the normal range:

Specify a clipping range:

Specify clipping values:

Specify a clipping range for a "Byte" image:

Applications  (1)

Clip the negative values of a filtered image:

Neat Examples  (1)

Clip an image and adjust the values:

Wolfram Research (2010), ImageClip, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageClip.html (updated 2012).

Text

Wolfram Research (2010), ImageClip, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageClip.html (updated 2012).

CMS

Wolfram Language. 2010. "ImageClip." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/ImageClip.html.

APA

Wolfram Language. (2010). ImageClip. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageClip.html

BibTeX

@misc{reference.wolfram_2024_imageclip, author="Wolfram Research", title="{ImageClip}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ImageClip.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_imageclip, organization={Wolfram Research}, title={ImageClip}, year={2012}, url={https://reference.wolfram.com/language/ref/ImageClip.html}, note=[Accessed: 21-November-2024 ]}