Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
celeste::ContrastFilter Class Reference

#include <ContrastFilter.h>

Public Member Functions

 ContrastFilter ()
 
 ContrastFilter (float **, int, int)
 
 ~ContrastFilter ()
 
void ApplyFilter (float **img, int height, int width)
 
void Save (char *file)
 
float ** GetContrast (void)
 
int GetWidth ()
 
int GetHeight ()
 

Protected Attributes

float ** mContrast
 
int mHeight
 
int mWidth
 

Private Member Functions

 ContrastFilter (const ContrastFilter &)
 
ContrastFilteroperator= (const ContrastFilter &)
 

Detailed Description

Definition at line 37 of file ContrastFilter.h.

Constructor & Destructor Documentation

celeste::ContrastFilter::ContrastFilter ( )
inline

Definition at line 41 of file ContrastFilter.h.

celeste::ContrastFilter::ContrastFilter ( float **  img,
int  height,
int  width 
)

Definition at line 142 of file ContrastFilter.cpp.

References ApplyFilter(), mContrast, mHeight, and mWidth.

celeste::ContrastFilter::~ContrastFilter ( )

Definition at line 160 of file ContrastFilter.cpp.

References mContrast, and mHeight.

celeste::ContrastFilter::ContrastFilter ( const ContrastFilter )
private

Member Function Documentation

void celeste::ContrastFilter::ApplyFilter ( float **  img,
int  height,
int  width 
)

Definition at line 172 of file ContrastFilter.cpp.

References celeste::CONTRAST, and mContrast.

Referenced by ContrastFilter().

float** celeste::ContrastFilter::GetContrast ( void  )
inline

Definition at line 48 of file ContrastFilter.h.

References mContrast.

Referenced by celeste::ProcessChannel().

int celeste::ContrastFilter::GetHeight ( )
inline

Definition at line 50 of file ContrastFilter.h.

References mHeight.

Referenced by celeste::ProcessChannel().

int celeste::ContrastFilter::GetWidth ( )
inline

Definition at line 49 of file ContrastFilter.h.

References mWidth.

Referenced by celeste::ProcessChannel().

ContrastFilter& celeste::ContrastFilter::operator= ( const ContrastFilter )
private
void celeste::ContrastFilter::Save ( char *  file)

Definition at line 190 of file ContrastFilter.cpp.

References mContrast, mHeight, mWidth, and celeste::PGMImage::WriteScaled().

Referenced by celeste::ProcessChannel().

Member Data Documentation

float** celeste::ContrastFilter::mContrast
protected

Definition at line 59 of file ContrastFilter.h.

Referenced by ApplyFilter(), ContrastFilter(), GetContrast(), Save(), and ~ContrastFilter().

int celeste::ContrastFilter::mHeight
protected

Definition at line 60 of file ContrastFilter.h.

Referenced by ContrastFilter(), GetHeight(), Save(), and ~ContrastFilter().

int celeste::ContrastFilter::mWidth
protected

Definition at line 61 of file ContrastFilter.h.

Referenced by ContrastFilter(), GetWidth(), and Save().


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