BUILT-IN MATHEMATICA SYMBOL
ImageEffect
ImageEffect[image, "effect"]
applies the specified image effect to image.
ImageEffect[image, {"effect", params}]
uses parameters params.
- Available artistic image effects include:
-
| {"Charcoal",x} | charcoal sketch effect |
| {"Embossing",x, } | embossing by an amount x at an angle  |
| {"OilPainting",x} | artistic oil painting effect |
| {"Posterization",n} | posterization effect using n levels in each channel |
| {"Solarization",t} | solarization or Sabatier effect |
| {"MotionBlur",d, } | motion blur of size d and angle , given in radians |
- Pseudo-random noise effects:
-
| {"Noise",a} | adds zero-mean uniform noise of amplitude a/2 |
| {"GaussianNoise", } | adds zero-mean Gaussian noise with standard deviation  |
| {"SaltPepperNoise",f} | adds salt-and-pepper noise to a fraction f of the image |
| {"PoissonNoise",a} | adds an amount a of Poisson noise |
- In each case,
can be used instead of
, and uses default values for parameters.
- ImageEffect[] can be used to retrieve a list of all available image effects.
- When using
, the noise scale
is defined as
and each pixel value p is replaced with PoissonDistribution[p×
]/
.
- ImageEffect returns a grayscale image for single-channel images. All other images are converted to RGB.
Charcoal sketch effect:
| Out[1]= |  |
Render a color image in the style of an oil painting:
| Out[1]= |  |
Create a posterization effect:
| Out[1]= |  |
Posterize a grayscale image:
| Out[1]= |  |
Add salt-and-pepper noise to an image:
| Out[1]= |  |
Add Poisson noise to an image:
| Out[1]= |  |
Apply a digital solarization effect to a color image:
| Out[1]= |  |
Solarization effect with an explicit threshold:
| Out[1]= |  |
Apply motion blur to an image, using the default angle of 45 degrees:
| Out[1]= |  |
New in 7 | Last modified in 8