algorithm
Class CleanMatchingResult

java.lang.Object
  extended by algorithm.CleanMatchingResult

public class CleanMatchingResult
extends java.lang.Object

Data structure to hold information about a matching between two skeleton objects. The problem with the "dirty" results (PSGMResult) is, that it is difficult to reconstruct the original user input: The skeletons might have been reordered due to the restriction that the query skeleton *must* have lesser end nodes than the target skeleton. Also, as the PSGM algorithm can't handle objects looking in different directions, the algorithm is executed twice and it might happen that the matching is better for the flipped image. The original end nodes fom the unflipped image has to be reconstructed then.


Field Summary
private  MatchList cleanedMatchList
          reconstructed match list for the two original skeletons
private  SkeletonObject queryobject
          the query object - the one that was the first skeleton in the user input
private  SkeletonObject targetobject
          the target object - the one that was the second skeleton in the user input
 
Constructor Summary
CleanMatchingResult()
           
 
Method Summary
 MatchList getCleanedMatchList()
          Get the cleaned up, restored match list.
 SkeletonObject getQueryobject()
          Get the query object
 SkeletonObject getTargetobject()
          Get the target object.
 void setCleanedMatchList(MatchList cleanedMatchList)
          Set the cleaned match list.
 void setQueryobject(SkeletonObject queryobject)
          Set the query object.
 void setTargetobject(SkeletonObject targetobject)
          Set the Target object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryobject

private SkeletonObject queryobject
the query object - the one that was the first skeleton in the user input


targetobject

private SkeletonObject targetobject
the target object - the one that was the second skeleton in the user input


cleanedMatchList

private MatchList cleanedMatchList
reconstructed match list for the two original skeletons

Constructor Detail

CleanMatchingResult

public CleanMatchingResult()
Method Detail

getQueryobject

public SkeletonObject getQueryobject()
Get the query object

Returns:
the queryobject

setQueryobject

public void setQueryobject(SkeletonObject queryobject)
Set the query object.

Parameters:
queryobject - the query object to set

getTargetobject

public SkeletonObject getTargetobject()
Get the target object.

Returns:
the target object

setTargetobject

public void setTargetobject(SkeletonObject targetobject)
Set the Target object

Parameters:
targetobject - the targetobject to set

getCleanedMatchList

public MatchList getCleanedMatchList()
Get the cleaned up, restored match list.

Returns:
the cleaned match list

setCleanedMatchList

public void setCleanedMatchList(MatchList cleanedMatchList)
Set the cleaned match list.

Parameters:
cleanedMatchList - the cleaned match list to set