A method, system and computer-readable medium of filtering noise pixels and other extraneous data, including saturated fat tissue and air data in image data is provided. Examples of image data may include but are not limited to magnetic resonance imaging data and computed tomography data. The method includes receiving pixel count for each signal intensity value of the image data; determining a signal intensity value, Ipeak, corresponding to a pixel count of a greatest number of pixels, Npeak; setting a noise threshold at a signal intensity value, Inoise, corresponding to a pixel count, NI, such that NI, is determined based on Npeak; and filtering from the image data one or more pixels with signal intensity values below the noise threshold. NI, may be determined such that NI=Npeak/3 or close to Npeak/3.