1. A method, comprising: applying an immunohistochemical stain, eosin, and a counterstain to a sample; obtaining a plurality of images of the sample, each of the plurality of images corresponding to radiation from the sample in a different wavelength band; decomposing the plurality of images of the sample to obtain component images corresponding to the immunohistochemical stain, eosin, and the counterstain; and generating a sample image based on the component images, wherein the sample image comprises contributions from the counterstain and from one of the immunohistochemical stain and eosin, and substantially not from the other of the immunohistochemical stain and eosin.