ImageGear for .NET
FilterWithMedian(ImGearRasterPage,Int32,Int32,ImGearChannelRange) Method




Image to filter.
Width of the square area.
Height of the square area.
Channel range.
Removes color noise from the image.
Syntax
'Declaration
 
Public Overloads Shared Sub FilterWithMedian( _
   ByVal page As ImGearRasterPage, _
   ByVal neighborhoodWidth As Integer, _
   ByVal neighborhoodHeight As Integer, _
   ByVal channels As ImGearChannelRange _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim neighborhoodWidth As Integer
Dim neighborhoodHeight As Integer
Dim channels As ImGearChannelRange
 
ImGearRasterProcessing.FilterWithMedian(page, neighborhoodWidth, neighborhoodHeight, channels)
public static void FilterWithMedian( 
   ImGearRasterPage page,
   int neighborhoodWidth,
   int neighborhoodHeight,
   ImGearChannelRange channels
)
public: static void FilterWithMedian( 
   ImGearRasterPage* page,
   int neighborhoodWidth,
   int neighborhoodHeight,
   ImGearChannelRange channels
) 
public:
static void FilterWithMedian( 
   ImGearRasterPage^ page,
   int neighborhoodWidth,
   int neighborhoodHeight,
   ImGearChannelRange channels
) 

Parameters

page
Image to filter.
neighborhoodWidth
Width of the square area.
neighborhoodHeight
Height of the square area.
channels
Channel range.
Remarks
This method looks for an average color value inside the square area near the pixel and replaces the pixels with this value. Processes a specified range of channels.

Can be applied only to the raster pages with standard (non Run-Ends) DIB.

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class
ImGearChannelRange Structure

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback