KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DTLib::CGaussKernel Class Reference

#include <gausskernel.h>

Inheritance diagram for DTLib::CGaussKernel:
DTLib::CImg< float > DTLib::CDOG

Public Member Functions

 CGaussKernel (const int &Size, const float &SigmaX, const float &SigmaY, const int &OrderY=0, const float &Theta=0.0f, const bool &bHilbert=false)
 
- Public Member Functions inherited from DTLib::CImg< float >
 CImg ()
 
 CImg (const int Width, const int Height, const bool bMakeBuf=true, const bool bZero=false)
 
 CImg (const float *pBuf, const int Width, const int Height, const bool bCopy=false)
 
 CImg (CImg< float > &Img, const bool bCopy)
 
 CImg (CImg< float > &InImg, const int &Padding=0)
 
 CImg (CImgVec< float > &ImgVec, const int &iFrame, const bool &bCopy=false)
 
 CImg (CImgVec< float > &ImgVec, const int &nCols, const int &nRows)
 
 ~CImg ()
 
float GetPix (const int &x, const int &y)
 
float GetPix (const int &i)
 
void SetPix (const int &x, const int &y, const float &Val)
 
void SetPix (const int &i, const float &Val)
 
void AddToPix (const int &x, const int &y, const float &Val)
 
void Set_pBuffer (const float *pBuf, const int Width, const int Height, const bool bCopy=false)
 IMPLEMENTATION. More...
 
int Width () const
 
int Height () const
 
int nPixels () const
 
bool bDelete ()
 
float * pBuffer ()
 
float * pROI ()
 
int ROIStartX ()
 
int ROIEndX ()
 
int ROIStartY ()
 
int ROIEndY ()
 
int ROISkipCols ()
 
int ROIWidth ()
 
int ROIHeight ()
 
int ROIOffset ()
 
int ROISize ()
 
void Report ()
 
bool IsEmpty ()
 
bool IsNotEmpty ()
 
bool ReadRaw (const char *strFilename)
 
bool WriteRaw (const char *strFilename)
 
void ClearROI ()
 
void ChangeROI (const int StartX, const int EndX, const int StartY, const int EndY)
 
void SafeChangeROI (const int StartX, const int EndX, const int StartY, const int EndY)
 
void ReduceROI (int N=1)
 
void SetOutROIVal (const float &Val)
 
void SetOutROIVal (const float &TopVal, const float &BotVal, const float &LeftVal, const float &RightVal)
 
void ReflectToROI ()
 
void SetROIVal (const float &Val)
 
void OutPadROI (const int &Padding)
 
void f2b (CImg< BYTE > &ByteImg, BYTE BGVal=0)
 
void f2b (CImg< BYTE > &ByteImg, float Min, float Max, BYTE BGVal=0)
 
void f2bNoscale (CImg< BYTE > &ByteImg, BYTE BGVal=0)
 
void b2f (CImg< float > &FloatImg, float BGVal=0.0f)
 
void i2f (CImg< float > &FloatImg, float BGVal=0.0f)
 
void ToFloat (CImg< float > &FloatImg, float BGVal=0.0f)
 
void ReduceSize (const int &NewWidth, const int &NewHeight)
 
void Crop (const int &N)
 
void FreeMemory ()
 
void CopyFromBuf (float *pBuf)
 
void CopyFromBuf (float *pBuf, const int &StartX, const int &EndX, const int &StartY, const int &EndY)
 
void CopyToBuf (float *pBuf)
 
void Attach (float *pBuf)
 
void Attach (float *pBuf, const int Width, const int Height, const bool bDelete=false)
 
float * Detach ()
 
void Minpix (int &x, int &y, float &Val)
 
void Maxpix (int &x, int &y, float &Val)
 
void Maxpix (float &Val)
 
void MinMax (float &Min, float &Max)
 
void ReportMinMax ()
 
float MeanLuminance ()
 
void MuSig (float &mu, float &sig)
 
float SumAbs ()
 
void Normalize (bool full_range=false)
 
void ChangeRange (const BYTE &NewMin, const BYTE &NewMax)
 
void ChangeRange (const float &NewMin, const float &NewMax)
 
void FixThetaRanges (const bool &bHalfPhase=true)
 
void MuFilter (CImg< float > &MuImg, CImg< float > &TImg, int dx, int dy)
 
void MuFilter (CImg< float > &MuImg, int dx, int dy)
 
void MuSigFilter (CImg< float > &MuImg, CImg< float > &SigImg, CImg< float > &TImg, CImg< float > &UImg, int dx, int dy)
 
void MuSigFilter (CImg< float > &MuImg, CImg< float > &SigImg, int dx, int dy)
 
void Pad (CImg< float > &DestImg, const int Left, const int Top, const float &Val=(float) 0)
 
void Extract (CImg< float > &DestImg, const int &Left=0, const int &Top=0)
 
void Square ()
 
void Zero ()
 
void Mul (CImg< float > &Img)
 
void Mul (const float &Val)
 
void Div (CImg< float > &Img)
 
void Div (const float &Val)
 
void Add (CImg< float > &Img)
 
void Add (const float &Val)
 
void Sub (CImg< float > &Img)
 
void Sub (const float &Val)
 
void Neg ()
 
void Log (const float &z=0.0f)
 
void HardOR (CImg< float > &Img, const float &Val=(float) 255)
 
void SoftOR (CImg< float > &Img)
 
void HardAND (CImg< float > &Img, const float &Val=(float) 255)
 
void SoftAND (CImg< float > &Img)
 
void SwapPointers (CImg< float > &InImg)
 
void SwapAll (CImg< float > &InImg)
 
void NormalizeL1 ()
 
float L2Norm ()
 
kjb_int32 nNonZeros ()
 
void Sqrt ()
 
void Val2Probability (const float &Sigma)
 
void CopyPixelsFromImgROI (CImg< float > &Img)
 

Protected Member Functions

 CGaussKernel (const int &Size)
 
void Draw (const float &SigmaX, const float &SigmaY, const int &OrderY, const float &Theta, const bool &bHilbert)
 
void DrawNoRot (const float &SigmaX, const float &SigmaY, const int &OrderY, const bool &bHilbert)
 

Protected Attributes

float m_SigmaX
 
float m_SigmaY
 
int m_OrderY
 
- Protected Attributes inherited from DTLib::CImg< float >
float * m_pBuffer
 
int m_Width
 
int m_Height
 
int m_nPixels
 
bool m_bDelete
 
float * m_pROI
 
int m_ROIStartX
 
int m_ROIStartY
 
int m_ROIEndX
 
int m_ROIEndY
 
int m_ROISkipCols
 
int m_ROIWidth
 
int m_ROIHeight
 
int m_ROIOffset
 
int m_ROISize
 

Constructor & Destructor Documentation

DTLib::CGaussKernel::CGaussKernel ( const int &  Size,
const float &  SigmaX,
const float &  SigmaY,
const int &  OrderY = 0,
const float &  Theta = 0.0f,
const bool &  bHilbert = false 
)
DTLib::CGaussKernel::CGaussKernel ( const int &  Size)
protected

Member Function Documentation

void DTLib::CGaussKernel::Draw ( const float &  SigmaX,
const float &  SigmaY,
const int &  OrderY,
const float &  Theta,
const bool &  bHilbert 
)
protected
void DTLib::CGaussKernel::DrawNoRot ( const float &  SigmaX,
const float &  SigmaY,
const int &  OrderY,
const bool &  bHilbert 
)
protected

Member Data Documentation

int DTLib::CGaussKernel::m_OrderY
protected
float DTLib::CGaussKernel::m_SigmaX
protected
float DTLib::CGaussKernel::m_SigmaY
protected

The documentation for this class was generated from the following files: