1. A method for histogram calculation using a graphics processing unit (GPU), comprising: storing image data in a two-dimensional (2D) texture domain; subdividing said domain into independent regions or tiles; calculating in parallel, in a GPU, a plurality of tile histograms, one for each tile; and summing up in parallel, in said GPU, said tile histograms so as to derive a final image histogram.