Skip to content
Snippets Groups Projects
Commit cf2a9b7e authored by Jesse Mapel's avatar Jesse Mapel
Browse files

Stub pixel resolution method

parent b2ae4b31
No related branches found
No related tags found
No related merge requests found
...@@ -53,6 +53,16 @@ void lagrangeInterp ( ...@@ -53,6 +53,16 @@ void lagrangeInterp (
const int& i_order, const int& i_order,
double* valueVector); double* valueVector);
double pixelResolution(
const csm::EcefCoord& groundPt,
const csm::EcefCoord& sensorPos,
const double& sampleOrigin,
const double& lineOrigin,
const double& sampleSumming,
const double& startingSample,
const double iTransS[],
const double iTransL[]);
// Methods for checking/accessing the ISD // Methods for checking/accessing the ISD
double metric_conversion(double val, std::string from, std::string to="m"); double metric_conversion(double val, std::string from, std::string to="m");
......
...@@ -235,6 +235,26 @@ void lagrangeInterp( ...@@ -235,6 +235,26 @@ void lagrangeInterp(
} }
} }
// Compute the pixel reolution at a ground point
double pixelResolution(
const csm::EcefCoord& groundPt,
const csm::EcefCoord& sensorPos,
const double& sampleOrigin,
const double& lineOrigin,
const double& sampleSumming,
const double& startingSample,
const double iTransS[],
const double iTransL[]) {
double x1, y1, x2, y2;
computeDistortedFocalPlaneCoordinates(
0.0, 0.0,
sampleOrigin,
lineOrigin,
sampleSumming,
);
}
// convert a measurement // convert a measurement
double metric_conversion(double val, std::string from, std::string to) { double metric_conversion(double val, std::string from, std::string to) {
json typemap = { json typemap = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment