Commit bb8c91b6 authored by Kaj E Williams's avatar Kaj E Williams
Browse files

added binning

parent 2d1238d4
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ namespace Isis {
   *
   * @internal
   * @history modified by Sasha Brownsberger 
   * @history 9/24/2018 modified by Kaj Williams 
   */

  RosettaOsirisCamera::RosettaOsirisCamera(Cube &cube) : FramingCamera(cube) {
@@ -86,6 +87,15 @@ namespace Isis {
    // the first line on the label is actually the last line.
    detectorMap->SetStartingDetectorLine(2050 - cube.lineCount() - (double) inst["FirstLine"]);

    //Read the pixel averaging width/height and update the detector map:
    double pixelAveragingWidth=(double) inst["PixelAveragingWidth"];
    double pixelAveragingHeight=(double) inst["PixelAveragingHeight"];
    detectorMap->SetDetectorSampleSumming(pixelAveragingWidth);
    detectorMap->SetDetectorLineSumming(pixelAveragingHeight);
    //std::cout<<"binning mode: "<<binningMode<<std::endl;
    //The binning modes are square:


    RosettaOsirisCameraDistortionMap* distortionMap = new RosettaOsirisCameraDistortionMap(this);

    // Setup the ground and sky map