6 Minnaert::Minnaert(Pvl &pvl) : PhotoModel(pvl) {
7 PvlGroup &algo = pvl.findObject(
"PhotometricModel")
12 if(algo.hasKeyword(
"K")) SetPhotoK(algo[
"K"]);
29 static double pht_minnaert;
35 static double old_phase = -9999;
36 static double old_incidence = -9999;
37 static double old_emission= -9999;
39 if (old_phase == phase && old_incidence == incidence && old_emission == emission) {
44 old_incidence = incidence;
45 old_emission = emission;
47 incrad = incidence *
Isis::PI / 180.0;
48 emarad = emission *
Isis::PI / 180.0;
52 if(munot <= 0.0 || mu <= 0.0 || incidence == 90.0 ||
57 else if(p_photoK == 1.0) {
62 pht_minnaert = munot * pow((munot * mu), (p_photoK - 1.0));
const double PI
The mathematical constant PI.
void SetPhotoK(const double k)
Set the Minnaert function exponent.
virtual double PhotoModelAlgorithm(double phase, double incidence, double emission)
Return photometric K value.
Container for cube-like labels.
Minnaert photometric model Derive model albedo using Minnaert equation.
Namespace for ISIS/Bullet specific routines.