1. A method for performing a white balance operation on an image data, comprising: representing values of a pixel from the image data in a coordinate color space; representing coordinates of a white curve in a white area specified for an image sensor in the coordinate color space; determining two nodes on the white curve closest to the pixel, which define a white curve interval; determining the shortest distance from the pixel to each of a plurality of sub-nodes on the white curve interval; selecting the pixel for a white balance operation if the shortest distance is less than a predetermined threshold distance; and using data of a selected pixel in a white balance operation.