Median example for Delphi

This example applies a median filter with a 3x3 neighborhood and redisplays the bitmap.

Lead1.Median(3);
Lead1.ForceRepaint;