ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > FilterWithMedian Method |
Performs a median filter on 8-bit gray level and 24 bit images. A median filter is useful for reducing spike or snow-like noise from an image. The width and height determine the size of each original pixel's neighborhood to use to compute the median output pixels. Most applications will find that 3x3 or 5x5 works best.
This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.
FilterWithMedian (ByVal pPage As IGPage, ByVal neighWidth As
Long, ByVal neighHeight As Long)
Name | Description |
---|---|
pPage | Reference to IGPage Object to which a median filter is applied. |
neighWidth | Width of the neighborhood to include in computing each new pixel's value. |
neighHeight | Height of the neighborhood. |
N/A
All except indexed with >1bpp
Image Processing and Effects