Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- Image to filter.
- neighborhoodWidth
- Width of the square area.
- neighborhoodHeight
- Height of the square area.
This method looks for an average color value inside the square area near the pixel and replaces the pixel
with this value. Processes color channels only.
C# | Copy Code |
---|---|
// Changes each pixel to the median of a 3x3 area around the pixel.
ImGearRasterProcessing.FilterWithMedian(igRasterPage, 3, 3); |
Visual Basic | Copy Code |
---|---|
' Changes each pixel to the median of a 3x3 area around the pixel.
ImGearRasterProcessing.FilterWithMedian(igRasterPage, 3, 3) |