Loading isis/src/apollo/apps/apollopandetect/apollopandetect.xml +3 −4 Original line number Diff line number Diff line Loading @@ -80,15 +80,14 @@ </internalDefault> </parameter> <parameter name="PREFIX"> <parameter name="OUTPUTDIRECTORY"> <type>filename</type> <fileMode>output</fileMode> <brief> The output file prefix that will be appended with AS15-P-####_000#.pvl. The output file directory. </brief> <description> The prefix for the output pvl files that will be appended with AS15-P-####_000#.pvl. This can include a path to a directory, but must end with /. The output directory where the PVLs will be written. </description> </parameter> </group> Loading isis/src/apollo/apps/apollopantime/apollopantime.cpp +11 −25 Original line number Diff line number Diff line #include "Isis.h" #include <QDir> #include <QStringList> #include "Application.h" #include "ApolloPanImage.h" #include "FileList.h" Loading @@ -15,28 +18,11 @@ void IsisMain() { // Construct the image object ApolloPanImage image; // Create the tiles from the input Pvl files if (ui.WasEntered("LASTTILE")) { int lastTile = ui.GetInteger("LASTTILE"); QStringList nameFilter("*_000*.pvl"); QDir pvlDirectory(FileName(ui.GetFileName("FROM")).expanded()); // Create the tiles from the input Pvl files if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList, lastTile); } else { image.readFromPvl(ui.GetFileName("FROM"), lastTile); } } else { if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList); } else { image.readFromPvl(ui.GetFileName("FROM")); } } int tileCount = QStringList(pvlDirectory.entryList(nameFilter)).count(); image.readFromPvl(ui.GetFileName("FROM"), tileCount); // Compute timing mark times image.readTimeCode(); Loading @@ -48,5 +34,5 @@ void IsisMain() { image.computeStartStop(); // Output new Pvl files image.writeToPvl(ui.GetFileName("PREFIX")); image.writeToPvl(ui.GetFileName("OUTPUTDIRECTORY")); } isis/src/apollo/apps/apollopantime/apollopantime.xml +6 −35 Original line number Diff line number Diff line Loading @@ -24,51 +24,22 @@ <parameter name="FROM"> <type>filename</type> <brief> The input pvl prefix from apolloPanTransform The input pvl prefix from apolloPanTransform. Do NOT include a / at the end of the path! </brief> <description> The input pvl prefix from apolloPanTransform The input pvl prefix from apolloPanTransform. Do NOT include a / at the end of the path! Example: Example: /archive/missions/apollo_pan/AS15/REVS04-16/REV16/AS15-P-9372 </description> <default> <item>invalid</item> </default> </parameter> <parameter name="LASTTILE"> <type>integer</type> <brief> The last tile in the image. This is for images with less than 8 tiles. </brief> <description> The last tile in the image. This is for images with less than 8 tiles. </description> <internalDefault> 8 </internalDefault> </parameter> <parameter name="PVLLIST"> <type>filename</type> <fileMode>input</fileMode> <brief> The list of input pvl files </brief> <description> The list of input pvl files. These must be ordered from tile 1 to 8. </description> <internalDefault> Use standard transform detection pvl files. </internalDefault> </parameter> <parameter name="PREFIX"> <parameter name="OUTPUTDIRECTORY"> <type>filename</type> <fileMode>output</fileMode> <brief> The output file prefix The output file directory. </brief> <description> The prefix for the output pvl files The output directory where the PVLs will be written. </description> </parameter> </group> Loading isis/src/apollo/apps/apollopantransform/apollopantransform.cpp +17 −44 Original line number Diff line number Diff line #include "Isis.h" #include <QDir> #include <QStringList> #include "Application.h" #include "ApolloPanImage.h" #include "FileList.h" Loading @@ -15,42 +18,13 @@ void IsisMain() { // Construct the image object ApolloPanImage image; // Process for images with less than 8 tiles if (ui.WasEntered("LASTTILE")) { int lastTile = ui.GetInteger("LASTTILE"); // Create the tiles from the input Pvl files if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList, lastTile); } else { image.readFromPvl(ui.GetFileName("FROM"), lastTile); } // Decode the tiles image.decodeTimingMarks(); // Match the tiles image.matchTiles(); // Number the fiducial and timing marks image.numberFiducialMarks(ui.GetInteger("FIRSTFIDINDEX")); image.numberTimingMarks(); } QStringList nameFilter("*_000*.pvl"); QDir pvlDirectory(FileName(ui.GetFileName("FROM")).expanded()); // Standard 8 tile image process else { // Create the tiles from the input Pvl files if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList); } else { image.readFromPvl(ui.GetFileName("FROM")); } int tileCount = QStringList(pvlDirectory.entryList(nameFilter)).count(); cout << tileCount << endl; image.readFromPvl(ui.GetFileName("FROM"), tileCount); // Decode the tiles image.decodeTimingMarks(); // Match the tiles Loading @@ -59,7 +33,6 @@ void IsisMain() { // Number the fiducial and timing marks image.numberFiducialMarks(); image.numberTimingMarks(); } // Compute affines image.computeAffines(ui.GetFileName("CALIBRATED")); Loading @@ -71,5 +44,5 @@ void IsisMain() { image.checkTimeCode(); // Output new Pvl files image.writeToPvl(ui.GetFileName("PREFIX")); image.writeToPvl(ui.GetString("OUTPUTDIRECTORY")); } isis/src/apollo/apps/apollopantransform/apollopantransform.xml +8 −50 Original line number Diff line number Diff line Loading @@ -26,77 +26,35 @@ <parameter name="FROM"> <type>filename</type> <brief> The input pvl prefix from apolloPanDetect The input pvl directory from apolloPanDetect. Do NOT include a / at the end of the path! </brief> <description> The input pvl prefix from apolloPanDetect The input pvl directory from apolloPanDetect. Do NOT include a / at the end of the path! Example: /archive/missions/apollo_pan/AS15/REVS04-16/REV16/AS15-P-9372 </description> <default> <item>invalid</item> </default> </parameter> <parameter name="LASTTILE"> <type>integer</type> <brief> The last tile in the image. This is for images with less than 8 tiles. </brief> <description> The last tile in the image. This is for images with less than 8 tiles. </description> <internalDefault> 8 </internalDefault> </parameter> <parameter name="FIRSTFIDINDEX"> <type>integer</type> <brief> The index of the first fiducial mark on the image. </brief> <description> The index of the first fiducial mark on the image. </description> <internalDefault> 0 </internalDefault> </parameter> <parameter name="PVLLIST"> <type>filename</type> <fileMode>input</fileMode> <brief> The list of input pvl files </brief> <description> The list of input pvl files. These must be ordered from tile 1 to 8. </description> <internalDefault> Use standard raw detection pvl files. </internalDefault> </parameter> <parameter name="CALIBRATED"> <type>filename</type> <brief> The input csv containing calibrated fiducial mark coordiantes. The input csv containing calibrated fiducial mark coordinates. </brief> <description> The input csv containing calibrated fiducial mark coordiantes. The input csv containing calibrated fiducial mark coordinates. </description> <default> <item>/archive/missions/apollo_pan/AS15/CriticalData/PanData/SupportData/CalibratedFiducials/CalibratedFiducials.csv</item> </default> </parameter> <parameter name="PREFIX"> <parameter name="OUTPUTDIRECTORY"> <type>filename</type> <fileMode>output</fileMode> <brief> The output file prefix The directory where the output PVLs will be written. </brief> <description> The prefix for the output pvl files The directory where the output PVLs will be written. </description> </parameter> </group> Loading Loading
isis/src/apollo/apps/apollopandetect/apollopandetect.xml +3 −4 Original line number Diff line number Diff line Loading @@ -80,15 +80,14 @@ </internalDefault> </parameter> <parameter name="PREFIX"> <parameter name="OUTPUTDIRECTORY"> <type>filename</type> <fileMode>output</fileMode> <brief> The output file prefix that will be appended with AS15-P-####_000#.pvl. The output file directory. </brief> <description> The prefix for the output pvl files that will be appended with AS15-P-####_000#.pvl. This can include a path to a directory, but must end with /. The output directory where the PVLs will be written. </description> </parameter> </group> Loading
isis/src/apollo/apps/apollopantime/apollopantime.cpp +11 −25 Original line number Diff line number Diff line #include "Isis.h" #include <QDir> #include <QStringList> #include "Application.h" #include "ApolloPanImage.h" #include "FileList.h" Loading @@ -15,28 +18,11 @@ void IsisMain() { // Construct the image object ApolloPanImage image; // Create the tiles from the input Pvl files if (ui.WasEntered("LASTTILE")) { int lastTile = ui.GetInteger("LASTTILE"); QStringList nameFilter("*_000*.pvl"); QDir pvlDirectory(FileName(ui.GetFileName("FROM")).expanded()); // Create the tiles from the input Pvl files if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList, lastTile); } else { image.readFromPvl(ui.GetFileName("FROM"), lastTile); } } else { if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList); } else { image.readFromPvl(ui.GetFileName("FROM")); } } int tileCount = QStringList(pvlDirectory.entryList(nameFilter)).count(); image.readFromPvl(ui.GetFileName("FROM"), tileCount); // Compute timing mark times image.readTimeCode(); Loading @@ -48,5 +34,5 @@ void IsisMain() { image.computeStartStop(); // Output new Pvl files image.writeToPvl(ui.GetFileName("PREFIX")); image.writeToPvl(ui.GetFileName("OUTPUTDIRECTORY")); }
isis/src/apollo/apps/apollopantime/apollopantime.xml +6 −35 Original line number Diff line number Diff line Loading @@ -24,51 +24,22 @@ <parameter name="FROM"> <type>filename</type> <brief> The input pvl prefix from apolloPanTransform The input pvl prefix from apolloPanTransform. Do NOT include a / at the end of the path! </brief> <description> The input pvl prefix from apolloPanTransform The input pvl prefix from apolloPanTransform. Do NOT include a / at the end of the path! Example: Example: /archive/missions/apollo_pan/AS15/REVS04-16/REV16/AS15-P-9372 </description> <default> <item>invalid</item> </default> </parameter> <parameter name="LASTTILE"> <type>integer</type> <brief> The last tile in the image. This is for images with less than 8 tiles. </brief> <description> The last tile in the image. This is for images with less than 8 tiles. </description> <internalDefault> 8 </internalDefault> </parameter> <parameter name="PVLLIST"> <type>filename</type> <fileMode>input</fileMode> <brief> The list of input pvl files </brief> <description> The list of input pvl files. These must be ordered from tile 1 to 8. </description> <internalDefault> Use standard transform detection pvl files. </internalDefault> </parameter> <parameter name="PREFIX"> <parameter name="OUTPUTDIRECTORY"> <type>filename</type> <fileMode>output</fileMode> <brief> The output file prefix The output file directory. </brief> <description> The prefix for the output pvl files The output directory where the PVLs will be written. </description> </parameter> </group> Loading
isis/src/apollo/apps/apollopantransform/apollopantransform.cpp +17 −44 Original line number Diff line number Diff line #include "Isis.h" #include <QDir> #include <QStringList> #include "Application.h" #include "ApolloPanImage.h" #include "FileList.h" Loading @@ -15,42 +18,13 @@ void IsisMain() { // Construct the image object ApolloPanImage image; // Process for images with less than 8 tiles if (ui.WasEntered("LASTTILE")) { int lastTile = ui.GetInteger("LASTTILE"); // Create the tiles from the input Pvl files if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList, lastTile); } else { image.readFromPvl(ui.GetFileName("FROM"), lastTile); } // Decode the tiles image.decodeTimingMarks(); // Match the tiles image.matchTiles(); // Number the fiducial and timing marks image.numberFiducialMarks(ui.GetInteger("FIRSTFIDINDEX")); image.numberTimingMarks(); } QStringList nameFilter("*_000*.pvl"); QDir pvlDirectory(FileName(ui.GetFileName("FROM")).expanded()); // Standard 8 tile image process else { // Create the tiles from the input Pvl files if (ui.WasEntered("PVLLIST")) { FileList pvlList(ui.GetFileName("PVLLIST")); image.readFromPvl(pvlList); } else { image.readFromPvl(ui.GetFileName("FROM")); } int tileCount = QStringList(pvlDirectory.entryList(nameFilter)).count(); cout << tileCount << endl; image.readFromPvl(ui.GetFileName("FROM"), tileCount); // Decode the tiles image.decodeTimingMarks(); // Match the tiles Loading @@ -59,7 +33,6 @@ void IsisMain() { // Number the fiducial and timing marks image.numberFiducialMarks(); image.numberTimingMarks(); } // Compute affines image.computeAffines(ui.GetFileName("CALIBRATED")); Loading @@ -71,5 +44,5 @@ void IsisMain() { image.checkTimeCode(); // Output new Pvl files image.writeToPvl(ui.GetFileName("PREFIX")); image.writeToPvl(ui.GetString("OUTPUTDIRECTORY")); }
isis/src/apollo/apps/apollopantransform/apollopantransform.xml +8 −50 Original line number Diff line number Diff line Loading @@ -26,77 +26,35 @@ <parameter name="FROM"> <type>filename</type> <brief> The input pvl prefix from apolloPanDetect The input pvl directory from apolloPanDetect. Do NOT include a / at the end of the path! </brief> <description> The input pvl prefix from apolloPanDetect The input pvl directory from apolloPanDetect. Do NOT include a / at the end of the path! Example: /archive/missions/apollo_pan/AS15/REVS04-16/REV16/AS15-P-9372 </description> <default> <item>invalid</item> </default> </parameter> <parameter name="LASTTILE"> <type>integer</type> <brief> The last tile in the image. This is for images with less than 8 tiles. </brief> <description> The last tile in the image. This is for images with less than 8 tiles. </description> <internalDefault> 8 </internalDefault> </parameter> <parameter name="FIRSTFIDINDEX"> <type>integer</type> <brief> The index of the first fiducial mark on the image. </brief> <description> The index of the first fiducial mark on the image. </description> <internalDefault> 0 </internalDefault> </parameter> <parameter name="PVLLIST"> <type>filename</type> <fileMode>input</fileMode> <brief> The list of input pvl files </brief> <description> The list of input pvl files. These must be ordered from tile 1 to 8. </description> <internalDefault> Use standard raw detection pvl files. </internalDefault> </parameter> <parameter name="CALIBRATED"> <type>filename</type> <brief> The input csv containing calibrated fiducial mark coordiantes. The input csv containing calibrated fiducial mark coordinates. </brief> <description> The input csv containing calibrated fiducial mark coordiantes. The input csv containing calibrated fiducial mark coordinates. </description> <default> <item>/archive/missions/apollo_pan/AS15/CriticalData/PanData/SupportData/CalibratedFiducials/CalibratedFiducials.csv</item> </default> </parameter> <parameter name="PREFIX"> <parameter name="OUTPUTDIRECTORY"> <type>filename</type> <fileMode>output</fileMode> <brief> The output file prefix The directory where the output PVLs will be written. </brief> <description> The prefix for the output pvl files The directory where the output PVLs will be written. </description> </parameter> </group> Loading