It removes salt (pixels having a value of 255) and pepper (pixels having a value of 0) and replaces them with the median value of the non-noisy pixels around them.

Removes the salt and pepper noise from the specified bitmap.
| Framework | Member |
|---|---|
| .NET | RemoveSaltPepperCommand |
| .NET 6+ | RemoveSaltPepperCommand |
| C DLL | L_RemoveSaltPepperNoise |
| C++ Class Library | LBitmap::RemoveSaltPepperNoise |
Imaging Pro, Document, & Medical