Commit 95b1fcfc authored by Jesse Mapel's avatar Jesse Mapel Committed by Jesse Mapel
Browse files

Modify framestitch to preserve tables and kernels

parent 3053c2ec
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ namespace Isis {
   */
  void framestitch(UserInterface &ui) {
    ProcessByBrick process;
    process.PropagatePolygons(false);

    // It is very important that the odd cube gets added first as later on
    // we'll use frameNumber % 2 to index the input cube vector
@@ -172,8 +173,6 @@ namespace Isis {

    // Processing setup
    process.SetBrickSize(evenCube->sampleCount(), frameHeight, evenCube->bandCount());
    process.PropagateTables(false);
    process.PropagatePolygons(false);

    // Put together the frames from the two input cubes. Note that we
    // wipe a total of numLinesOverlap lines from each frame as we do
@@ -202,7 +201,6 @@ namespace Isis {
    }

    // Update the output label
    outCube->deleteGroup("Kernels");
    if (!outCube->hasGroup("Instrument")) {
      outCube->putGroup(PvlGroup("Instrument"));
    }
+3 −3
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
      data as the first several rows of the next frame, reduntant
      lines can be eliminated with the num_lines_overlap parameter.
      This program is designed to be run before processing the
      data in another software package as it removes the camera
      information from the output <def link="Cube">cube</def>.
      data in another software package and the output cube will not
      produce a valid camera model for further processing in ISIS.
    </p>
    <p>
      When many push frame images are ingested into ISIS, their frames are separated
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
#include "LineManager.h"
#include "SpecialPixel.h"
#include "Statistics.h"
#include "Table.h"

#include "TestUtilities.h"
#include "Fixtures.h"