ImageGear .NET v25.2 - Updated
ImageGear.Processing.Advanced Assembly / ImageGear.Processing Namespace / ImGearEffects Class / RemoveChromaticAberration Method
Page to process.
Amount by which to scale the red component of the image. Valid range is 0.95...1.05.
Amount by which to scale the blue component of the image. Valid range is 0.95...1.05.
Center point.




In This Topic
    RemoveChromaticAberration Method
    In This Topic
    This method removes chromatic aberration artifacts from an image.
    Syntax
    'Declaration
     
    Public Shared Sub RemoveChromaticAberration( _
       ByVal page As ImGearRasterPage, _
       ByVal redScale As Double, _
       ByVal blueScale As Double, _
       ByVal centerPoint As ImGearPoint _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
    Dim redScale As Double
    Dim blueScale As Double
    Dim centerPoint As ImGearPoint
     
    ImGearEffects.RemoveChromaticAberration(page, redScale, blueScale, centerPoint)
    public static void RemoveChromaticAberration( 
       ImGearRasterPage page,
       double redScale,
       double blueScale,
       ImGearPoint centerPoint
    )
    public: static void RemoveChromaticAberration( 
       ImGearRasterPage* page,
       double redScale,
       double blueScale,
       ImGearPoint centerPoint
    ) 
    public:
    static void RemoveChromaticAberration( 
       ImGearRasterPage^ page,
       double redScale,
       double blueScale,
       ImGearPoint centerPoint
    ) 

    Parameters

    page
    Page to process.
    redScale
    Amount by which to scale the red component of the image. Valid range is 0.95...1.05.
    blueScale
    Amount by which to scale the blue component of the image. Valid range is 0.95...1.05.
    centerPoint
    Center point.
    Remarks
    Chromatic aberration is caused by differences in refraction of light components by the lens, and is seen as colored 'fringes' around the image.
    See Also