An image-processing device includes a determining unit that determines a likelihood degree of an input image being a halftone image and a plurality of spatial filters having different characteristics The spatial filters produce a plurality of component-image data sets from the input image data. A selecting unit selects one of the spatial filters based on the determined likelihood degree and then outputs component-image data produced by the selected spatial filter.