br.usp.ime.klava.segmentit.filters
Class None

java.lang.Object
  extended by br.usp.ime.klava.segmentit.filters.None
All Implemented Interfaces:
Filter, GrayLevelFilter

public class None
extends java.lang.Object
implements GrayLevelFilter

Filter that returns the same image used as its input image.

Author:
Bruno Klava

Constructor Summary
None()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image)
          Filters an image to be used as input for the watershed.
 java.lang.String getName()
          Returns the name of the filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

None

public None()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Filter
Returns the name of the filter.

Specified by:
getName in interface Filter
Returns:
the name of the filter

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image)
                                    throws ColorImageException
Description copied from interface: Filter
Filters an image to be used as input for the watershed.

Specified by:
filter in interface Filter
Specified by:
filter in interface GrayLevelFilter
Parameters:
image - the image to be filtered
Returns:
an filtered gray level image
Throws:
ColorImageException