FeatureExtractor
Class WindsurfFeatureExtractor

java.lang.Object
  extended by FeatureExtractor.FeatureExtractor
      extended by FeatureExtractor.WindsurfFeatureExtractor

public class WindsurfFeatureExtractor
extends FeatureExtractor

Class in charge of extracting the Windsurf features from a given image (URL/image file).


Field Summary
 
Fields inherited from class FeatureExtractor.FeatureExtractor
imgClu, imgFil, result
 
Constructor Summary
WindsurfFeatureExtractor()
          Basic constructor.
 
Method Summary
protected  Image createImage(ImageID id, GenericFilterOutput filOut, ClusteringOutput clustOut)
          Creates a WindsurfImage with a particular ID from the output of the filter and the clustering algorithm.
 Image extract(javax.media.jai.PlanarImage image, ImageID id)
          Creates a WindsurfImage with a particular ID extracting features from a given image.
 
Methods inherited from class FeatureExtractor.FeatureExtractor
extract, getLastResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindsurfFeatureExtractor

public WindsurfFeatureExtractor()
Basic constructor.

Method Detail

createImage

protected Image createImage(ImageID id,
                            GenericFilterOutput filOut,
                            ClusteringOutput clustOut)
Creates a WindsurfImage with a particular ID from the output of the filter and the clustering algorithm.

Specified by:
createImage in class FeatureExtractor
Parameters:
id - ID of the image.
filOut - output of the filter.
clustOut - output of the clustering algorithm.
Returns:
The new image.

extract

public Image extract(javax.media.jai.PlanarImage image,
                     ImageID id)
Creates a WindsurfImage with a particular ID extracting features from a given image.

Overrides:
extract in class FeatureExtractor
Parameters:
image - JAI image where features are to be extracted.
id - Image ID.
Returns:
The new image.