1#ifndef RollingShutterCameraDetectorMap_h
2#define RollingShutterCameraDetectorMap_h
33 std::vector<double> times,
34 std::vector<double> sampleCoeffs,
35 std::vector<double> lineCoeffs);
39 virtual bool SetParent(
const double sample,
42 virtual bool SetParent(
const double sample,
49 std::pair<double, double>
applyJitter(
const double sample,
51 std::pair<double, double>
removeJitter(
const double sample,
57 std::vector<double> m_times;
62 std::vector<double> m_sampleCoeffs;
67 std::vector<double> m_lineCoeffs;
Convert between parent image coordinates and detector coordinates.
Definition CameraDetectorMap.h:47
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