com.griaule.grFinger
Class MatchParameters

java.lang.Object
  extended by com.griaule.grFinger.MatchParameters

public class MatchParameters
extends Object

This class contains the matching parameters.


Constructor Summary
MatchParameters(int threshold, int rotationTolerance)
          Creates a new MatchParameters object with given parameters.
 
Method Summary
 int getRotationTolerance()
          Returns the rotation tolerance.
 int getThreshold()
          Returns the score threshold.
 void setRotationTolerance(int rotationTolerance)
          Sets the rotation tolerance.
 void setThreshold(int threshold)
          Sets the score threshold.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchParameters

public MatchParameters(int threshold,
                       int rotationTolerance)
Creates a new MatchParameters object with given parameters.

Parameters:
threshold - The matching score threshold. Defines the minimum score value that determines a match between two fingerprints.
rotationTolerance - The rotation tolerance. Defines the maximum angle between the query and the reference template that will be accepted, otherwise there will be no match.
Method Detail

setRotationTolerance

public void setRotationTolerance(int rotationTolerance)
Sets the rotation tolerance.

Parameters:
rotationTolerance - The rotation tolerance. Defines the maximum angle between the query and the reference template that will be accepted, otherwise there will be no match.

setThreshold

public void setThreshold(int threshold)
Sets the score threshold.

Parameters:
threshold - The matching score threshold. Defines the minimum score value that determines a match between two fingerprints.

getRotationTolerance

public int getRotationTolerance()
Returns the rotation tolerance.

Returns:
Returns the rotation tolerance. It defines the maximum angle between the query and the reference template that will be accepted, otherwise there will be no match.

getThreshold

public int getThreshold()
Returns the score threshold.

Returns:
Returns the matching score threshold. It defines the minimum score value that determines a match between two fingerprints.