RAWK
Gigapixel Raw Image Processing Toolkit
 All Classes Functions Variables Pages
Public Member Functions | List of all members
gaussian Class Reference

Gaussian convolution filter.

#include <image_convolve.hpp>

Inheritance diagram for gaussian:
convolve image

Public Member Functions

 gaussian (double sigma, int mode, image *L)
 Convolve image L using a Gaussian kernel with standard deviation sigma. Mode gives the wrapping mode. The true radius of the kernel is 3 sigma, rounded up.
 
virtual void tweak (int a, int v)
 Tweak image parameter a, changing the value by a factor of v.
 
virtual double kernel (int y, int x) const
 
virtual void doc (std::ostream &out) const
 Produce a string documenting the function of this object.
 
- Public Member Functions inherited from convolve
 convolve (int yradius, int xradius, int mode, image *L)
 Convolve image L using a kernel of the given yradius and xradius. The kernel is expected to be supplied by a subclass.
 
virtual double get (int i, int j, int k) const
 Return the value of the sample at row i, column j, channel k.
 
- Public Member Functions inherited from image
 image (image *L=0, image *R=0)
 Create a new image object with left child L and right child R. The parents of L and R are set to this.
 
virtual ~image ()
 Finalize this image object by deleting any children.
 
virtual int get_height () const
 Return the height of this image.
 
virtual int get_width () const
 Return the height of this image.
 
virtual int get_depth () const
 Return the depth of this image.
 
image * getL ()
 Return the left child.
 
image * getR ()
 Return the right child.
 
image * getP ()
 Return the parent.
 
virtual void process ()
 Process all samples of both children.
 

Additional Inherited Members

- Protected Attributes inherited from convolve
int yradius
 
int xradius
 
int mode
 
- Protected Attributes inherited from image
image * L
 Left child.
 
image * R
 Right child.
 
image * P
 Parent.
 

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