Enhanced method of using contourlet transform for medical image compression