App
Classes | Namespaces | Macros
TLinearFInt.hpp File Reference
#include <cstdlib>
#include "../typedefs.hpp"
#include "../bitmaps/TBitmap.hpp"
#include "TFInterpolator.hpp"

Go to the source code of this file.

Classes

class  TLinearFInt< TPIXEL, TCHANNEL >
 
class  app::TLinearFInt< TPIXEL, TCHANNEL >
 

Namespaces

namespace  app
 Namespace obsahující veškeré vlastní třídy knihovny pro zpracování obrazu.
 

Macros

#define INTERPOLATE_BILINEAR(P11, P12, P21, P22, X, Y, RES)   RES = ((-P12 + P11 - P21 + P22) * Y - P11 + P21) * X + (-P11 + P12) * Y + P11;
 Provede bilineární interpolaci mezi pody Pi, výsledek uloží do RES.
 
#define INTERPOLATE_LINEAR(P1, P2, X, RES)   RES = P1 + (P2 - P1) * X;
 

Macro Definition Documentation

#define INTERPOLATE_BILINEAR (   P11,
  P12,
  P21,
  P22,
  X,
  Y,
  RES 
)    RES = ((-P12 + P11 - P21 + P22) * Y - P11 + P21) * X + (-P11 + P12) * Y + P11;

Provede bilineární interpolaci mezi pody Pi, výsledek uloží do RES.

Definition at line 20 of file TLinearFInt.hpp.

#define INTERPOLATE_LINEAR (   P1,
  P2,
  X,
  RES 
)    RES = P1 + (P2 - P1) * X;

Definition at line 23 of file TLinearFInt.hpp.