IPindex.gif Previous-2.gif Next-3.gif

IPmedian


Synopsis

median filter an ip_Image

Input Ports

&in_image

ip_Image

&in_roi

ip_Roi

 

Parameters

FilesRB

UIradioBox

select the structuring element

 

Output Ports

dst

ip_Image_Out

TmpField

IPfld

obj

output renderable object

 

Description

IPmedian finds the median value in a local collection of pixels based on one of four structuring elements.

Input Ports

&in_image
The input is a reference to an ip_Image. The ip_Image can be of any type.
&in_roi
The input is a reference to an optional ip_Roi. The data must be of type byte.

Parameters

FilesRB
UIradioBox. Selects which of four arbitrary structuring element files to use for the median filter. The choices are:

Cross 3x3 (default)
Cross 5x5
Rectangle 3x3
Rectangle 5x5

Output Ports

dst
The output is a new ip_Image of the same dimensions, type, and number of bands as the input ip_Image. Edge pixels are set to 0.
TmpField
This output is the ip_Image converted back into an AVS/Express field.
obj
This is a renderable version of the output.

Example

Libraries.Examples.Image_Processing.IPmedian

File

v/ip.v

See also

Related modules

 



IPindex.gif Previous-2.gif Next-3.gif