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

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

public class ColorToGrayAndMorphologicalGradient
extends java.lang.Object
implements ColorFilter

Filter compound by the filters ColorToGray and MorphologicalGradient.

Author:
Bruno Klava

Constructor Summary
ColorToGrayAndMorphologicalGradient()
           
 
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

ColorToGrayAndMorphologicalGradient

public ColorToGrayAndMorphologicalGradient()
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)
Description copied from interface: Filter
Filters an image to be used as input for the watershed.

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