Median

Transform Bitmap

Applies the Median transform to the image.

Сode Snippet

using (var bitmap = new Bitmap("Chicago.jpg"))
{
    bitmap.Transforms.Median(3);

    bitmap.Save("Median.jpg");
}

Input

Chicago.jpg

Output

Median.jpg

For AI-assisted development: Download Graphics Mill Code Samples XML Catalog