1 2 3 4 5 6 7 8 9 10 11 12
|
int cloud [] = {0, 3, 3, 0, 1, 5, 2, 3, 5, 2, 6, 4, 8, 9, 9, 9, 2, 6, 7, 8};
int size = sizeof(cloud) / sizeof(cloud[0]);
vector<float> equalizedRoundHistogram;
for (unsigned int i = 0; i < equalizedHistogram.size(); i++)
for (unsigned int j = 0; j < size; j++) // size
if (cloud[j] == i)
cloud[j] = equalizedHistogram[i];
else
cloud[j] = cloud[j];
|