if (nearestNeighbor == null) {
mcolor = colorScheme().getHillColor();
} else {
mcolor = colors.forLocation(nearestNeighbor.getPoint());
}
nnStopWatch.stop();
// make rgb
int baseIndex = i*3;
imageBytes[baseIndex++] = (byte) mcolor.getRed(); // R
imageBytes[baseIndex++] = (byte) mcolor.getGreen(); // G
imageBytes[baseIndex++] = (byte) mcolor.getBlue(); // B