MedianΒΆ

The Median operation is used to apply a median filter on the diffraction pattern before performing the Hough transform. The median filter is known to reduce the noise of an image without blurring the edges.

../../../../../_images/median_before.png

Original pattern

../../../../../_images/median_after.png

Pattern after median filter