In this paper a new approach for compression and filtration of U.S. medical images is introduced. The application of the algorithm, based on image processing with an inverse difference pyramid (IDP) along with considerable image compression, permits filtration of a specific (speckle) noise in ultrasound images. The paper describes the principle of image decomposition and its modification designed specifically for this medical application. The paper also provides images that illustrate some of the results of this work.