72 double emission,
double demincidence,
double dememission,
73 double dn,
double &albedo,
double &mult,
double &base) {
78 psurf = GetPhotoModel()->
CalcSurfAlbedo(phase, demincidence, dememission);
89 QString msg =
"Albedo math divide by zero error";
112 if(pharef < 0.0 || pharef >= 180.0) {
113 QString msg =
"Invalid value of normalization pharef [" +
130 if(incref < 0.0 || incref >= 90.0) {
131 QString msg =
"Invalid value of normalization incref [" +
148 if(emaref < 0.0 || emaref >= 90.0) {
149 QString msg =
"Invalid value of normalization emaref [" +
163 if(incmat < 0.0 || incmat >= 90.0) {
164 QString msg =
"Invalid value of normalization incmat [" +
void SetNormIncref(const double incref)
Set the normalization function parameter.
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
void SetNormAlbedo(const double albedo)
Set the normalization function parameter.
double CalcSurfAlbedo(double pha, double inc, double ema)
Calculate the surface brightness using photometric angle information.
void SetNormPharef(const double pharef)
Set parameters needed for albedo normalization.
double p_normThresh
Used to amplify variations in the input image.
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
double p_normIncmat
Incmat.
double p_normPharef
The reference phase angle.
virtual void NormModelAlgorithm(double pha, double inc, double ema, double dn, double &albedo, double &mult, double &base)
Performs the normalization.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
double p_normIncref
The reference incidence angle.
double p_normAlbedo
The albedo.
void SetNormIncmat(const double incmat)
Set the normalization function parameter.
void SetNormThresh(const double thresh)
Set the normalization function parameter.
Contains multiple PvlContainers.
#define _FILEINFO_
Macro for the filename and line number.
A type of error that could only have occurred due to a mistake on the user's part (e...
A type of error that cannot be classified as any of the other error types.
Container for cube-like labels.
void SetNormEmaref(const double emaref)
Set the normalization function parameter.
Namespace for ISIS/Bullet specific routines.
double p_normEmaref
The reference emission angle.
Albedo(Pvl &pvl, PhotoModel &pmodel)
Constructs an Albedo object.
virtual void SetStandardConditions(bool standard)
Sets whether standard conditions will be used.