![](/images/new-backgrounds/1012827/1282771x1.webp)
aPPendix f: duaL tWo Point caLiBration MethodoLoGy
// Calculate corrected intensity vs distance
float intensityVal1 = intensityVal +
if (intensityVal1 < minIntensity) intensityVal1=minIntensity; if (intensityVal1 > maxIntensity) intensityVal1=maxIntensity; // Scale to new intensity scale
float intensityColor = (float)(intensityVal1 - minIntensity) / intensityScale; // Convert to jet color
int rgb=(int)(intensityColor*63); glColor3f(rcolor[rgb], gcolor[rgb], bcolor[rgb]);
}
}
[ 33 ]