52 #ifndef __PCL_AstrometricReprojection_h
53 #define __PCL_AstrometricReprojection_h
58 #include <pcl/Diagnostics.h>
106 , m_targetSolution( targetSolution )
107 , m_sourceSolution( sourceSolution )
108 , m_sourceImage( sourceImage )
110 m_targetRect = TargetRect( m_targetSolution, m_sourceSolution, m_sourceImage.Bounds() );
125 return m_targetSolution;
135 return m_sourceSolution;
143 return m_sourceImage;
169 const Rect& sourceRect );
182 Rect m_targetRect = 0;
Astrometric image reprojection.
static Rect TargetRect(const AstrometricMetadata &targetSolution, const AstrometricMetadata &sourceSolution, const Rect &sourceRect)
void Apply(pcl::DImage &) const override
void Apply(pcl::UInt16Image &) const override
void Apply(pcl::UInt32Image &) const override
void Apply(pcl::Image &) const override
void Apply(pcl::UInt8Image &) const override
void GetNewSizes(int &width, int &height) const override
const AstrometricMetadata & SourceSolution() const
AstrometricReprojection(PixelInterpolation &interpolation, const AstrometricMetadata &targetSolution, const AstrometricMetadata &sourceSolution, const ImageVariant &sourceImage)
const AstrometricMetadata & TargetSolution() const
const ImageVariant & SourceImage() const
AstrometricReprojection(const AstrometricReprojection &)=default
Implements a generic, two-dimensional, shared or local image.
A generic rectangle in the two-dimensional space.
Acts like a union for all types of images in PCL, with optional class-wide ownership of transported i...
A process using multiple concurrent execution threads.
Abstract root base class for all pixel interpolation algorithms.