surf
Interface SURF_Factory

All Known Implementing Classes:
SURF

public interface SURF_Factory

Basic interface for a class that provides the right Detector and Descriptor class.

Author:
Alessandro Martini, Claudio Fantacci

Method Summary
 Descriptor createDescriptor(java.util.ArrayList<Interest_Point> interest_points)
          Create the correct Descriptor.
 Detector createDetector()
          Create the correct Detector.
 float getBalanceValue()
          Getter for the Balance Value.
 Integral_Image getIntegralImage()
          Getter for the Integral Image.
 int getOctaves()
          Getter for the octaves.
 float getThreshold()
          Getter for the threshold.
 void setBalanceValue(float balanceValue)
          Setter for the Balance Value.
 void setIntegralImage(processing.core.PImage img)
          Setter for the Integral Image.
 void setOctaves(int octaves)
          Setter for the octaves.
 void setThreshold(float threshold)
          Setter for the threshold.
 

Method Detail

createDetector

Detector createDetector()
Create the correct Detector.

Returns:
A Detector object.

createDescriptor

Descriptor createDescriptor(java.util.ArrayList<Interest_Point> interest_points)
Create the correct Descriptor.

Parameters:
interest_points - ArrayList of Interest Point on which the descriptor will compute the descriptors.
Returns:
A Descriptor object.

getIntegralImage

Integral_Image getIntegralImage()
Getter for the Integral Image.

Returns:
The Integral Image used by SURF.

setIntegralImage

void setIntegralImage(processing.core.PImage img)
Setter for the Integral Image.

Parameters:
img - PImage that is converted into Integral Image before it's assigned to SURF.

getBalanceValue

float getBalanceValue()
Getter for the Balance Value.

Returns:
The Balance Value. Its default value is 0.9.

setBalanceValue

void setBalanceValue(float balanceValue)
Setter for the Balance Value.

Parameters:
balanceValue - Value used to calculate the Laplacian of Gaussian response.

getThreshold

float getThreshold()
Getter for the threshold.

Returns:
The threshold value.

setThreshold

void setThreshold(float threshold)
Setter for the threshold.

Parameters:
threshold - Value used to filter the Laplacian of Gaussian.

getOctaves

int getOctaves()
Getter for the octaves.

Returns:
Number of octaves computed in SURF.

setOctaves

void setOctaves(int octaves)
Setter for the octaves.

Parameters:
octaves - Number of octaves that you want to compute.


processing library SURF by Claudio Fantacci, Alessandro Martini. (c) 2009