STIRA  0.1
Public Member Functions | Static Public Member Functions | List of all members
stira::filter::KuwaharaFilter Class Reference

computes Kuwahara filtered image More...

#include <KuwaharaFilter.h>

Public Member Functions

 KuwaharaFilter ()
 constructor
 
 ~KuwaharaFilter ()
 destructor
 

Static Public Member Functions

static ImageRun (Image *pImageIn, int windowSize=5)
 applies Kuwahara filter to image
 
static int GetSmallestIndex (double *pArray, int size)
 gets the index at which position the smallest member of the given array is located More...
 

Detailed Description

computes Kuwahara filtered image

The filtering window is divided in four subwindows. For each subwindow, mean and varince are computed. The central pixel value is then replaced by the mean of the window with the smallest variance.

Reference: http://www.ph.tn.tudelft.nl/Courses/FIP/noframes/fip-Smoothin.html

Member Function Documentation

int stira::filter::KuwaharaFilter::GetSmallestIndex ( double *  pArray,
int  size 
)
static

gets the index at which position the smallest member of the given array is located

Parameters
pArraythe array with values
sizesize of the array

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