Astrometric image reprojection.
More...
#include <AstrometricReprojection.h>
|
static Rect | TargetRect (const AstrometricMetadata &targetSolution, const AstrometricMetadata &sourceSolution, const Rect &sourceRect) |
|
template<class P > |
static void | ApplyGammaExponentCorrection (typename P::sample *samples, size_type length, double gamma, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
|
template<class P > |
static void | ApplyInverseGammaExponentCorrection (typename P::sample *samples, size_type length, double gamma, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
|
template<class P > |
static void | ApplyInverseSRGBGammaCorrection (typename P::sample *samples, size_type length, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
|
template<class P > |
static void | ApplySRGBGammaCorrection (typename P::sample *samples, size_type length, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
|
TODO: Write a detailed description for AstrometricReprojection
Definition at line 75 of file AstrometricReprojection.h.
◆ AstrometricReprojection() [1/2]
Constructs a new AstrometricReprojection object.
- Parameters
-
interpolation | Reference to a pixel interpolation for reprojection of source pixels. |
targetSolution | The astrometric solution of the target image. This object provides image-to-celestial coordinate transformations for reverse projection of interpolated source pixels on a target image. |
sourceSolution | The astrometric solution of the source image. This object provides celestial-to-image coordinate transformations for interpolation of source image pixels. |
sourceImage | The source image that will be reprojected. |
All objects specified in a call to this constructor must remain valid while this instance exists.
Definition at line 101 of file AstrometricReprojection.h.
◆ AstrometricReprojection() [2/2]
◆ Apply() [1/5]
void pcl::AstrometricReprojection::Apply |
( |
pcl::DImage & |
image | ) |
const |
|
overrideprotectedvirtual |
◆ Apply() [2/5]
void pcl::AstrometricReprojection::Apply |
( |
pcl::Image & |
image | ) |
const |
|
overrideprotectedvirtual |
◆ Apply() [3/5]
◆ Apply() [4/5]
◆ Apply() [5/5]
◆ GetNewSizes()
void pcl::AstrometricReprojection::GetNewSizes |
( |
int & |
width, |
|
|
int & |
height |
|
) |
| const |
|
inlineoverridevirtual |
Predicts transformed image dimensions.
- Parameters
-
[in,out] | width | Reference to a variable whose value is a horizontal dimension in pixels (width). On output, it will receive the predicted horizontal dimension after the transformation. |
[in,out] | height | Reference to a variable whose value is a vertical dimension in pixels (height). On output, it will receive the predicted vertical dimension after the transformation. |
- Note
- This is a pure virtual member function that must be reimplemented in every derived class.
Implements pcl::GeometricTransformation.
Definition at line 173 of file AstrometricReprojection.h.
◆ SourceImage()
const ImageVariant& pcl::AstrometricReprojection::SourceImage |
( |
| ) |
const |
|
inline |
◆ SourceSolution()
Returns a reference to the astrometric solution of the source image. The returned object provides celestial-to-image coordinate transformations for interpolation of source image pixels.
Definition at line 133 of file AstrometricReprojection.h.
◆ TargetRect() [1/2]
Rect pcl::AstrometricReprojection::TargetRect |
( |
| ) |
const |
|
inline |
Returns the rectangle in target image coordinates that encloses the boundaries of the reprojected source image.
Definition at line 150 of file AstrometricReprojection.h.
◆ TargetRect() [2/2]
Returns a reprojected rectangle in target image coordinates.
- Parameters
-
targetSolution | The target astrometric solution. |
sourceSolution | The source astrometric solution. |
sourceRect | The source rectangular region. |
This function throws an Error exception in the event of invalid coordinate transformations.
◆ TargetSolution()
Returns a reference to the astrometric solution of the target image. The returned object provides image-to-celestial coordinate transformations for reverse projection of interpolated source pixels on a target image.
Definition at line 123 of file AstrometricReprojection.h.
The documentation for this class was generated from the following file: