Class MedianFilter
median filtering for each point of the source image.
public class MedianFilter : CudaFilter, IDisposable
- Inheritance
-
MedianFilter
- Implements
- Inherited Members
Constructors
MedianFilter(DepthType, int, int, int)
Create a median filter
public MedianFilter(DepthType srcDepth, int srcChannels, int windowSize, int partition = 128)
Parameters
srcDepth
DepthTypeType of of source image. Only 8U images are supported for now.
srcChannels
intType of of source image. Only single channel images are supported for now.
windowSize
intSize of the kernerl used for the filtering. Uses a (windowSize x windowSize) filter.
partition
intSpecifies the parallel granularity of the workload. This parameter should be used GPU experts when optimizing performance.