The Speckle function removes speckle in radar datasets and smooths out noise, while retaining edges and sharp features in the image. Speckle is the high-frequency noise that exists in radar images. The images generated by laser, ultrasound, and synthetic aperture radar (SAR) systems are subject to speckle noise due to the interference of the returning electromagnetic waves scattered from multiple surfaces. The Speckle function uses mathematical models to filter the bright and dark spots that are generated as a result of interference, to allow better image interpretation.