1. An imaging system comprising: an x-ray source configured to emit a beam of x-rays toward an object to be imaged; a detector configured to receive x-rays that are attenuated by the object; a data acquisition system (DAS) operably coupled to the detector; and a computer operably coupled to the DAS and programmed to: obtain scan data with two or more incident energy spectra; decompose the obtained scan data into at least three basis materials; generate an image of one of the at least three basis materials using the decomposed scan data; and replace at least one pixel in the image using decomposed data of another of the at least three basis materials.