Skip to content

Commit

Permalink
Update Kaguya TC Camera model to use LineScan Camera detector map (DO…
Browse files Browse the repository at this point in the history
…I-USGS#3218)

* Initial distortion model changes

* Distortion model updates to actually match equation in documentation

* Update truthdata for sensor model

* Switch Kaguya TC to use L/S camera detector map. It is not a framer!

* Fix typo
  • Loading branch information
krlberry authored and scsides committed Apr 24, 2019
1 parent dc18320 commit 211eba0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions isis/src/kaguya/objs/KaguyaTcCamera/KaguyaTcCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <QString>

#include "CameraDetectorMap.h"
#include "LineScanCameraDetectorMap.h"
#include "CameraDistortionMap.h"
#include "CameraFocalPlaneMap.h"
#include "CameraGroundMap.h"
Expand Down Expand Up @@ -61,13 +61,17 @@ namespace Isis {
double time = iTime((QString)inst["StartTime"]).Et();

// divide exposure duration keyword value by 1000 to convert to seconds
// needed?
double exposureDuration = ((double) inst["ExposureDuration"]) / 1000.0;

// Setup detector map
new CameraDetectorMap(this);
double lineRate = (double) inst["LineSamplingInterval"] / 1000.0;

new LineScanCameraDetectorMap(this, time, lineRate);

// Setup focal plane map
CameraFocalPlaneMap *focalMap = new CameraFocalPlaneMap(this, naifIkCode());
// focalMap->SetDetectorOrigin( Samples() / 2.0 + 0.5, 1.0); //Lines() / 2.0 + 0.5);
focalMap->SetDetectorOrigin( Samples() / 2.0 + 0.5, Lines() / 2.0 + 0.5);
/*
focalMap->SetDetectorOrigin(
Expand Down

0 comments on commit 211eba0

Please sign in to comment.