1. A method of comparing two datasets comprising: determining a first histogram corresponding to a distribution of values in a first dataset, determining a plurality of palette values corresponding to a specified number of different values in the first dataset, determining a first histogram vector corresponding to the first histogram, the first histogram vector comprising elements that each correspond to a palette value of the plurality of palette values, identifying values in a second dataset corresponding to the plurality of palette values, determining a second histogram vector corresponding to the values in the second dataset, and comparing the first histogram vector to the second histogram vector.