net.grelf.grip
Class MatchList

java.lang.Object
  extended by net.grelf.grip.MatchList

public class MatchList
extends java.lang.Object

Has a list of MatchPair objects to show how a blob is matched through a series of images.


Method Summary
 boolean containsImage(int imNo)
           
 boolean containsImageAndBlob(int imNo, int blobNo)
           
 MatchPair get(int index)
          Get the MatchPair at the given index position in the MatchList's list.
static java.util.List<MatchList> makeListOfLists(java.util.List<MatchPair> allMatches, int nBrightest, int middleImNo)
          List all the connected lists of blobs across images.
static void reportListOfLists(java.util.List<MatchList> listOfLists, BlobMeas[][] lookup, java.lang.String fileName)
          Output the list of blob matches between images as a CSV (comma-separated value) file.
 int size()
          Get the number of elements in the MatchList's list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Get the number of elements in the MatchList's list.


get

public MatchPair get(int index)
Get the MatchPair at the given index position in the MatchList's list.


containsImage

public boolean containsImage(int imNo)

containsImageAndBlob

public boolean containsImageAndBlob(int imNo,
                                    int blobNo)

makeListOfLists

public static java.util.List<MatchList> makeListOfLists(java.util.List<MatchPair> allMatches,
                                                        int nBrightest,
                                                        int middleImNo)
List all the connected lists of blobs across images. Only include those lists which refer to the middle image of the sequence.


reportListOfLists

public static void reportListOfLists(java.util.List<MatchList> listOfLists,
                                     BlobMeas[][] lookup,
                                     java.lang.String fileName)
Output the list of blob matches between images as a CSV (comma-separated value) file.