1. A computer-implemented method of segmenting continuous tone and palettized content in an input image, the method comprising: on a per pixel basis, counting a number of unique colors within a neighborhood of the respective pixel in the image; classifying pixels having a high number of unique colors within their neighborhood as continuous tone; calculating a density of continuous tone pixels for a plurality of regions in the image; identifying regions with a high density of continuous tone pixels as continuous tone regions; and segmenting the image into the continuous tone regions and non-continuous tone regions.