Commit 436f5eab authored by Makayla Shepherd's avatar Makayla Shepherd
Browse files

Updated documentation for Albedo. References #4807.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7816 41f8697f-d340-4b68-9986-7bafba869bb8
parent a951c76e
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -5,6 +5,12 @@
#include "NormModel.h"

namespace Isis {
  /**
   * Constructs an Albedo object.
   * 
   * @param pvl
   * @param pmodel
   */
  Albedo::Albedo(Pvl &pvl, PhotoModel &pmodel) : NormModel(pvl, pmodel) {
    PvlGroup &algorithm = pvl.findObject("NormalizationModel").findGroup("Algorithm", Pvl::Traverse);

@@ -49,6 +55,19 @@ namespace Isis {
  }


  /**
   * Performs the normalization.
   * 
   * @param phase The phase angle.
   * @param incidence The incidence angle.
   * @param emission The emission angle.
   * @param demincidence The local incidence angle
   * @param dememission The local emission angle
   * @param dn The DN value
   * @param albedo ???
   * @param mult ???
   * @param base ???
   */
  void Albedo::NormModelAlgorithm(double phase, double incidence,
                                  double emission, double demincidence, double dememission,
                                  double dn, double &albedo, double &mult, double &base) {
@@ -79,6 +98,7 @@ namespace Isis {
    }
  }

  
  /**
    * Set the normalization function parameter. This is the
    * reference phase angle to which the image photometry will
+19 −7
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ namespace Isis {
   *                      conditions in initialization
   *  @history 2010-11-30 Janet Barrett - Added ability to use photometric angles
   *                      from the ellipsoid or the DEM
   *  @history 2017-06-28 Makayla Shepherd - Updated documentation. References #4807.
   *
   */
  class Albedo : public NormModel {
@@ -61,6 +62,17 @@ namespace Isis {
      virtual ~Albedo() {};

    protected:
      /**
       * Performs the normalization.
       * 
       * @param pha The phase angle.
       * @param inc The incidence angle.
       * @param ema The emission angle.
       * @param dn The DN value
       * @param albedo ???
       * @param mult The multiplier of the image
       * @param base The base of the image
       */
      virtual void NormModelAlgorithm(double pha, double inc, double ema,
                                        double dn, double &albedo, double &mult, double &base) {};
      virtual void NormModelAlgorithm(double pha, double inc, double ema,
@@ -76,13 +88,13 @@ namespace Isis {
      void SetNormThresh(const double thresh);
      void SetNormAlbedo(const double albedo);

      double p_normPsurfref;
      double p_normPharef;
      double p_normIncref;
      double p_normEmaref;
      double p_normThresh;
      double p_normIncmat;
      double p_normAlbedo;
      double p_normPsurfref; //!< The Normal
      double p_normPharef; //!< The reference phase angle
      double p_normIncref; //!< The reference incidence angle
      double p_normEmaref; //!< The reference emission angle
      double p_normThresh; //!< Used to amplify variations in the input image
      double p_normIncmat; //!< Incmat
      double p_normAlbedo; //!< The albedo
  };
};