ImageEffect

ImageEffect[image,"effect"]
applies the specified image effect to image.

ImageEffect[image,{"effect",params}]
uses parameters params.

DetailsDetails

  • Artistic image effects:
  • {"Charcoal",x}charcoal sketch effect
    {"Comics",{t1,t2}}comics effect with thresholds t1 and t2
    {"Embossing",x,α}embossing by an amount x at an angle α
    {"MotionBlur",d,α}motion blur of size d and angle α, given in radians
    {"OilPainting",x}artistic oil painting effect
    {"Posterization",n}posterization effect using n levels in each channel
    {"Solarization",t}solarization or Sabatier effect
  • 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
  • Pseudo-random noise effects:
  • {"Noise",a}adds zero-mean uniform noise of amplitude a
    {"GaussianNoise",σ}adds zero-mean Gaussian noise with standard deviation σ
    {"PoissonNoise",a}adds an amount a of Poisson noise
    {"SaltPepperNoise",f}adds 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×σ]/σ.
  • 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.
Introduced in 2008
(7.0)
| Updated in 2016
(10.4)