Non-uniform Data Reduction Technique with Edge Preservation to Improve Diagnostic Visualization of Medical Images