Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

medianNxN_Filter Class Reference
[Image Processing FiltersSingle FrameConvolutionBlurring]

#include <medianNxN_Filter.h>

Inheritance diagram for medianNxN_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

C Optimized Median NxN Kernel Convolution

This function blurs the image by changing the color of the pixel being looked at to the median value of the current pixel and the pixels surrounding it. The number of surrounding pixels is defined by the kernel size parameter. If kernel is 3, then the pixel being looked at is the center of a 3x3 box. Valid kernel sizes for this function are odd integers greater than 0. The larger kernel sizes cause execution time to slow at an exponetial rate.

Supports the following formats:

Todo:
add example image inputs and processed image outputs

add example application code that shows how the processed images were output

medianBlur_Filter_diagram.jpg
medianBlur_Filter_before.jpg
medianBlur_Filter_after.jpg

Definition at line 75 of file medianNxN_Filter.h.

Public Member Functions

 medianNxN_Filter (uint32_t kernel_size=3)
 ~medianNxN_Filter ()
int set (uint32_t kernel_size)
phFiltercloneFilter ()

Protected Member Functions

int filter ()

Private Attributes

uint32_t m_kernel_size
uint8_tm_output
uint32_t m_outputSize


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



Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:41 2007 for phission by  doxygen 1.4.4