41 #ifndef _IMAGE_MAPPER_H_
42 #define _IMAGE_MAPPER_H_
126 struct MapCoordinates
128 int f00, f01, f10, f11;
132 virtual void ComputeOriginalCoordinates(
const Vec2d &newCoordinates,
Vec2d &originalCoordinates) = 0;
140 MapCoordinates *m_pCoordinateMap;
Data structure for the representation of a 2D vector.
void PerformMapping(const CByteImage *pInputImage, CByteImage *pOutputImage)
This method performs the mapping.
virtual ~CImageMapper()
The destructor.
Class for efficient application of arbitrary 2D-2D transformations to whole images.
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
CImageMapper(bool bInterpolate=true)
The only constructor of this class.
void ComputeMap(int width, int height)
This method initializes the instance for mapping of images of a specific size.