1. An apparatus for classifying image data comprising: an input device that receives the image data; and a white class detector that receives the input image data and determines a white class of a specified pixel based on local roughness of a pixel, one of a peak count and a valley count within a neighborhood of the pixel and a brightness of the specified pixel.