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

Median filter with a horizontal kernel.

#include <image_median.hpp>

Inheritance diagram for medianh:
median image

Public Member Functions

 medianh (int radius, int mode, image *L)
 Find the median over a horizontal line of neighboring pixels within radius, wrapped with the given wrapping mode.
 
virtual double get (int i, int j, int k) const
 Return the value of the sample at row i, column j, channel k.
 
virtual void doc (std::ostream &out) const
 Produce a string documenting the function of this object.
 
- Public Member Functions inherited from median
 median (int radius, int mode, image *L)
 Find the median over a square of neighboring pixels within radius, wrapped with the given wrapping mode. This eliminates outliers and noise such as erroneous black or white pixels (aka salt and pepper). At high radius, this can be a very expensive filter.
 
virtual void tweak (int a, int v)
 Tweak image parameter a, changing the value by a factor of v.
 
- 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.
 
imagegetL ()
 Return the left child.
 
imagegetR ()
 Return the right child.
 
imagegetP ()
 Return the parent.
 
virtual void process ()
 Process all samples of both children.
 

Additional Inherited Members

- Protected Attributes inherited from median
int radius
 
int mode
 
- Protected Attributes inherited from image
imageL
 Left child.
 
imageR
 Right child.
 
imageP
 Parent.
 

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