Class NotchFilter

java.lang.Object
  |
  +--NotchFilter

public class NotchFilter
extends java.lang.Object

Class containing method to apply a notch filter to an image.

Author:
Simon Horne.

Constructor Summary
NotchFilter()
           
 
Method Summary
static TwoDArray notch(TwoDArray input, int w, int r)
          Method to apply notch filter to image by setting pixels within width of the x and y axes to (0,0) but leaving all pixels within radius of (0,0) untouched.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotchFilter

public NotchFilter()
Method Detail

notch

public static TwoDArray notch(TwoDArray input,
                              int w,
                              int r)
Method to apply notch filter to image by setting pixels within width of the x and y axes to (0,0) but leaving all pixels within radius of (0,0) untouched.
Parameters:
input - TwoDArray representing the input image.
w - Width of the notch in pixels.
r - Radius of the area centred on (0,0) to be left intact.
Returns:
TwoDArray of output image.