otherHighPass() - Media Method

The otherHighPass() method applies an effect opposite that of blurGaussianBlur()—it replaces each pixel with the difference between the original pixel and a Gaussian-blurred version.

Note:  This function is “selection aware”—if a selection is made, the system applies the function based on the current selection. For more information about making selections, see selection() - Media Method.

Syntax

otherHighPass(

[Radius @ <value, 10..250>]

);

Parameters

Radius - specifies the radius of the Gaussian blur aspect of the effect. The default is 10.

Example

var image = new Media();

image.load(name @ "peppers.tga");

image.otherHighPass(Radius @ 50);

image.save(type @ "jpeg");