Design, implementation and comparative analysis of software based model for medical image enhancement