Class DefinableNotch

java.lang.Object
  |
  +--DefinableNotch

public class DefinableNotch
extends java.lang.Object

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

Author:
Simon Horne.

Constructor Summary
DefinableNotch()
           
 
Method Summary
static TwoDArray filter(TwoDArray input, int[] coords, int type)
          Method to apply a rectangular notch filter to an image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinableNotch

public DefinableNotch()
Method Detail

filter

public static TwoDArray filter(TwoDArray input,
                               int[] coords,
                               int type)
Method to apply a rectangular notch filter to an image.
Parameters:
input - TwoDArray representing image.
coords - int array representing topleft and bottom right coordinates.
type - 0 or 1, 0 remove area, 1 remove everything but area.
Returns:
TwoDArray representing new image.