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.
Original pattern
Pattern after median filter
EBSD-Image