How to implement custom smoothing filter in DicomObjects

Smoothing can be subjective and we have enabled custom filtering in DicomObjects so users can define their own smoothing algorithms.