Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
ImageTools[Clip] - clip intensity to specified levels
Calling Sequence
Clip( img, opts )
Parameters
img
-
Image; the image to adjust
opts
(optional) equation(s) of the form option = value; specify options for the Clip command
Description
The Clip command clips any pixel intensity value less than a lower bound to that bound, and greater than an upper bound to that bound.
The img parameter specifies the image to clip, and must be of type Image.
The options low and high specify the lower and upper bounds, respectively, to which intensities are clipped. If both low and high are unspecified, then they are assigned the values 0.0 and 1.0, respectively. That is, by default, intensities are clipped to be between 0 and 1, inclusive.
If both low and high are specified, and the value of low exceeds that of high, an error is generated.
If only one bound is specified, the other one is unbounded. For example, Clip(img, high = 0.5) clips all intensities in img to be less than or equal to 0.5.
The Clip command is often useful after performing other image processing operations that may have produced out-of-bound values, and before performing operations that are not defined on out-of-bound values.
Options
high = realcons
Specifies the upper bound to which intensities are clipped. Intensities greater than this value are set equal to this value. By default there is no upper bound, however, if neither low nor high are specified, then the default value is 1.0.
inplace = truefalse
Specifies whether the operation is performed in-place. This can be used to avoid allocating memory. The default is false.
low = realcons
Specifies the lower bound to which intensities are clipped. Intensities less than this value are set equal to this value. By default there is no lower bound, however, if neither low nor high are specified, then the default value is 0.0.
output = Image
Specifies a data structure into which the output is written. This can be used to avoid allocating memory. The size and number of layers must match that of the input. The dimensions of the output image are adjusted so that the row and column indices match the input. The default is NULL.
Examples
See Also
ImageTools, ImageTools[Gamma], ImageTools[Scale]
Download Help Document