ImageEffect

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

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

DetailsDetails

  • 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
    {"ColorBlindness",type}color blindness of a given type
    {"Comics",{t1,t2}}comics effect with thresholds and
  • Types of color blindness can be any of the following: (default), , or .
  • 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.
  • When using , the noise scale σ is defined as 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 2014
(10.0)