Isis Developer Reference
RollingShutterCameraDetectorMap.h
Go to the documentation of this file.
1#ifndef RollingShutterCameraDetectorMap_h
2#define RollingShutterCameraDetectorMap_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "CameraDetectorMap.h"
11
12#include <utility>
13#include <vector>
14
15namespace Isis {
16 class Camera;
17
30 public:
31
33 std::vector<double> times,
34 std::vector<double> sampleCoeffs,
35 std::vector<double> lineCoeffs);
36
38
39 virtual bool SetParent(const double sample,
40 const double line);
41
42 virtual bool SetParent(const double sample,
43 const double line,
44 const double deltaT);
45
46 virtual bool SetDetector(const double sample,
47 const double line);
48
49 std::pair<double, double> applyJitter(const double sample,
50 const double line);
51 std::pair<double, double> removeJitter(const double sample,
52 const double line);
53
54 private:
55
57 std::vector<double> m_times;
62 std::vector<double> m_sampleCoeffs;
67 std::vector<double> m_lineCoeffs;
68 };
69};
70#endif
Convert between parent image coordinates and detector coordinates.
Definition CameraDetectorMap.h:47
Definition Camera.h:236
Convert between parent image coordinates and detector coordinates.
Definition RollingShutterCameraDetectorMap.h:29
RollingShutterCameraDetectorMap(Camera *parent, std::vector< double > times, std::vector< double > sampleCoeffs, std::vector< double > lineCoeffs)
Constructs a RollingShutterCameraDetectorMap.
Definition RollingShutterCameraDetectorMap.cpp:25
virtual ~RollingShutterCameraDetectorMap()
Destructor.
Definition RollingShutterCameraDetectorMap.cpp:39
std::pair< double, double > applyJitter(const double sample, const double line)
Iteratively finds a solution to "apply" jitter to an image coordinate.
Definition RollingShutterCameraDetectorMap.cpp:128
std::pair< double, double > removeJitter(const double sample, const double line)
Remove the distortion from the image (parent) coordinates.
Definition RollingShutterCameraDetectorMap.cpp:167
virtual bool SetParent(const double sample, const double line)
Compute detector position from a parent image coordinate.
Definition RollingShutterCameraDetectorMap.cpp:55
virtual bool SetDetector(const double sample, const double line)
Compute parent position from a detector coordinate.
Definition RollingShutterCameraDetectorMap.cpp:101
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16