PictureEffects REALbasic Plugin

ImageChannelMixer Class

A class to obtain image channels and mix them back together into a image. The class can either work on channels stored as a Picture or channels stored as ImageChannel which is much faster than if stored in a picture.

MPImageFilter
   ImageChannelMixer

class ImageChannelMixer

Properties

AlphaChannelThis property will contain the alpha channel as ImageChannel if it was requested in the ExtractChannels function that this property would be populated.
AlphaChannePictureThis property will contain the alpha channel as Picture if it was requested in the ExtractChannels function that this property would be populated.
BlueChannelThis property will contain the blue channel as ImageChannel if it was requested in the ExtractChannels function that this property would be populated.
BlueChannelPictureThis property will contain the blue channel as Picture if it was requested in the ExtractChannels function that this property would be populated.
GreenChannelThis property will contain the green channel as ImageChannel if it was requested in the ExtractChannels function that this property would be populated.
GreenChannelPictureThis property will contain the green channel as Picture if it was requested in the ExtractChannels function that this property would be populated.
RedChannelThis property will contain the red channel as ImageChannel if it was requested in the ExtractChannels function that this property would be populated.
RedChannelPictureThis property will contain the red channel as Picture if it was requested in the ExtractChannels function that this property would be populated.
CPUCoreCount (Inherited)Returns number of detected CPU cores on the running machine.
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

CombineChannelsCombines red,green,blue and alpha channels from ImageChannel instances into one image.
CombineChannelsCombines red,green,blue and alpha channels from Picture instances into one image.
CombineChannelsCombines red,green and blue channels from Picture instances into one image.
CombineChannelsCombines red,green and blue channels from ImageChannel instances into one image.
ExtractChannelsExtracts image channels from a image.

Supported Platforms:

  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • MacOS X Cocoa Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms: