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

medianBlur_Filter Class Reference
[Image Processing FiltersSingle FrameConvolutionBlurring]

#include <medianBlur_Filter.h>

Inheritance diagram for medianBlur_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

Median NxN Blur 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 79 of file medianBlur_Filter.h.

Public Member Functions

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

Protected Member Functions

int filter ()

Private Attributes

uint32_t m_kernel_size
uint32_tm_medianarr
uint32_t m_medianarr_size
uint8_tm_out
uint32_t m_out_size
int32_tm_rankTable
uint32_t m_rankTable_size
int32_tm_rankTable_init
uint32_t m_rankTable_init_size
uint32_tm_kernelOffset
uint32_t m_kernelOffset_size


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