Package peppy :: Package hsi :: Module hsi_major_mode :: Class MedianFilter1D
[frames] | no frames]

Class MedianFilter1D

      object --+        
               |        
debug.debugmixin --+    
                   |    
       GeneralFilter --+
                       |
                      MedianFilter1D

Apply a median filter to the band.

A median filter is a simple filter that uses a sliding window in each dimension to smooth the data. It tends to preserve edges, which is one of the reasons to use this filter as opposed to a smoothing function.

Instance Methods
 
__init__(self, kernel_sample=3, kernel_line=1, pos=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
getPlane(self, raw)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods

Inherited from debug.debugmixin: dprint

Class Variables

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from object: __class__

Method Details

__init__(self, kernel_sample=3, kernel_line=1, pos=0)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getPlane(self, raw)

 
Overrides: GeneralFilter.getPlane