applies the specified image effect to image.


uses parameters params.

Details and Options

  • ImageEffect can be used to simulate image effects such as artistic effects, motion blur, low-light noise, color blindness and more.
  • Color transforms:
  • "ColorBoosting"constrast-boosting effect
    {"ColorTones",{col1,col2,}}map chromacities from coli to increasing intensity values
    "Decolorization"contrast-preserving decolorization
    {"DetailEnhancing",σ,μ}detail enhancing using spatial spread σ and pixel value spread μ
    {"Posterization",n}posterization effect using n levels in each channel
    "Sepia"represent the image using sepia tones
    {"Solarization",t}solarization or Sabatier effect
  • Stylization effects:
  • {"Charcoal",x}charcoal sketch effect
    {"Comics",{t1,t2}}comics effect using the black and white thresholds t1 and t2
    "EdgeStylization"a stylized version of the image
    {"Embossing",x,α}embossing by an amount x at an angle α
    {"Jitter",r}jitter pixels in the range-r neighborhood
    {"MotionBlur",d,α}motion blur of size d and angle α, given in radians
    {"OilPainting",x}artistic oil painting effect
    {"Stippling",n}stippling using n different density levels
  • Color vision deficiencies:
  • "Deuteranopia"insensitivity to green, confusing green and red
    "Protanopia"insensitivity to red, confusing green and red
    "Tritanopia"insensitivity to blue, confusing blue and yellow
  • Framing effects:
  • {"FadedFrame",depth,sides,method}add a faded frame
    {"TornFrame",depth,sides,freq}add a torn paper effect
    {"Frame",f,depth,sides}arbitrary specified frame shape f
    {"Vignette",r,color}decrease the brightness from the center
  • By default, sides is assumed to be All. A list of Left, Right, Bottom, Top can be given to modify only the specified sides.
  • The parameter depth corresponds to the frame depth starting from outside and can be given as the number of pixels or as Scaled[s], where s×GeometricMean[ImageDimensions[image]] pixels are affected.
  • In {"FadedFrame",depth,sides,method}, method can be any of the following: "Cosine", "Exp", "Linear", "Log", "Rounded", "SCurve".
  • Pseudo-random noise effects add noise to the image:
  • {"Noise",a}zero-mean uniform noise of amplitude a
    {"GaussianNoise",σ}zero-mean Gaussian noise with standard deviation σ
    {"PoissonNoise",a}an amount a of Poisson noise
    {"SaltPepperNoise",f}salt-and-pepper noise to a fraction f of the image
  • Use {"SaltPepperNoise",{fs,fp}} to specify different salt and pepper fractions.
  • In each case, "effect" can be used instead of {"effect",}, and uses default values for parameters.
  • When using {"PoissonNoise",a}, the noise scale σ is defined as 100×(1-a)/a and each pixel value p is replaced with PoissonDistribution[p×σ]/σ.
  • Composition effect:
  • {"NestedComposition",n,scale,θ,pos,opos}recursively compose n scaled rotated copies of image
  • ImageEffect[] can be used to retrieve a list of all available image effects.
  • ImageEffect returns a grayscale image for single-channel images. All other images are converted to RGB.
  • ImageEffect takes a RandomSeeding option used to specify the seed for some methods. By default, RandomSeeding->Automatic is used, which automatically reseeds every time the function is called.


open all close all

Basic Examples  (2)

Create a charcoal sketch effect:

Click for copyable input

Create a noisy image by adding Poisson noise:

Click for copyable input

Scope  (25)

Applications  (1)

Properties & Relations  (1)

Interactive Examples  (2)

Introduced in 2008
Updated in 2017