float[] h_ranges = { 0, 180 };
float[] s_ranges = { 0, 256 };
const *float[] ranges = new float[] { h_ranges, s_ranges };