org.cybertory.MSS
Interface FeatureShapeFactory

All Known Implementing Classes:
CircleFeatureShapeFactory, SquareFeatureShapeFactory

public interface FeatureShapeFactory

This interface is for classes that determine the shape of a feature on the image, given the location of the center of the feature.


Method Summary
 java.awt.Shape createFeatureShape(float featurePixelSize, java.awt.geom.Point2D featureCenter)
          Generates a shape for the feature at the given location.
 

Method Detail

createFeatureShape

public java.awt.Shape createFeatureShape(float featurePixelSize,
                                         java.awt.geom.Point2D featureCenter)
Generates a shape for the feature at the given location.

Parameters:
featurePixelSize - pixel size of feature
featureCenter - the location of the center of the feature in pixel coordinates
Returns:
a Shape object