Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
Image_PixelInterpolation.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Image_Image.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <Handle_Image_DColorImage.hxx>
#include <Handle_Image_DIndexedImage.hxx>

Data Structures

class  Image_PixelInterpolation
 The class PixelInterpolation is used to compute a Pixel
value on non-integer Image coordinate. This Pixel type
is called SubPixel .
PixelInterpolation is the default and is the simplest one,
SubPixel value on non-integer Image coordinate is the
value of the nearest Pixel at integer coordinate.
The user can create a new kind of PixelInterpolation with a
new algorithm by creating a new derived PixelInterpolation
class and redefined Interpolate() method.
If V1 is the value of the nearest Image Pixel
V = V1 is the Image SubPixel value on non-integer
coordinate (FX,FY)
More...