The existence of a MatchPair means that blob blobNo1 in image imNo1
matches blob blobNo2 in image imNo2. This is a record for holding such
a match, with some static methods for outputting and using a list of
Display a new ImFrame in which is drawn the matched blobs and connecting
lines showing how they are matched. Caption prompts the user to draw
rectangles intersecting any match lists which should be removed. When the
ImFrame is closed the batch processor is invoked to do pass 2 of the
If drawMatches () is not used it is necessary to call this before using
deleteMatches () or findBlobInMiddleImage ()
public static void deleteMatches(java.awt.Point pt1,
Ask the user to confirm deletion of any match lists displayed in the
ImFrame which intersect the rectangle defined by the two points. The
rectangle is assumed to be normalised: pt1 is top left, pt2 is bottom
right. Confirmed lists are deleted and the image is redrawn.
Assumes that drawMatches has been called, to set the lists of matches.
public static MatchPair findBlobInMiddleImage(int imNo,
Find a given blob in the middle image by following the list of matches
between images. Assumes that drawMatches has been called, to set the
lists of matches. Returns a MatchPair in which the first image is the
middle one. Returns null if not found.
public static void reportMatches(java.util.List<MatchPair> matches,
Output the list of blob matches between images as a CSV (comma-separated