PictureEffects REALbasic Plugin

ConvolutionEffect Class

A class to do Convolution effects on pictures.

This class has the following Convolution effects:
  • Smooth
  • Sharpen
  • EdgeDetect
  • Blur
  • MeanRemoval
  • Emboss
  • Custom 3x3 Convolution

    This class supports use of multiple CPU cores on MacOS X and Windows systems.

    MPImageFilter
       ConvolutionEffect

    class ConvolutionEffect

    Properties

    ErrorCode (Inherited)Returns error code after applying the effect. This value is a Constant defined in the PictureEffectsError module.
    MultiprocessingHint (Inherited)Use this property to fine tune CPU usage for this algorithm. By default this property is set to zero (Automatic). This property accepts all constants that are defined in PictureEffectsCPUUsage.
    ProgressHandler (Inherited)Use this property to use a progress class to get progress feedback from this function. This class must be a class that Implements the IProgressHandler Interface which is defined in this plugin.

    Methods

    ApplyMatrixTo apply a custom 3x3 Matrix to a picture use the ApplyMatrix function
    BlurTo Blur a picture use the Blur function.
    EdgeDetectTo detect edges of a picture use the EdgeDetect function. This filter will leave the Image black with colored edges. A Invert filter is often applied after a edge detect filter is applied.
    EmbossEmboss is a type of edge detection filter where the image is left like its carved in a gray stone.
    MeanRemovalTo greatly sharpen a picture use the MeanRemoval function. MeanRemoval is a more extreme type of sharpening function that Sharpen.
    SharpenTo sharpen a picture use the Sharpen function.
    SmoothTo smooth a picture use the Smooth function.

    Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86