public class MatchPair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
blobNo1 |
int |
blobNo2 |
int |
imNo1 |
int |
imNo2 |
Constructor and Description |
---|
MatchPair(int i1,
int b1,
int i2,
int b2) |
Modifier and Type | Method and Description |
---|---|
static void |
deleteMatches(java.awt.Point pt1,
java.awt.Point pt2,
ImFrame imf)
Ask the user to confirm deletion of any match lists displayed in the
ImFrame which intersect the rectangle defined by the two points.
|
static void |
drawMatches(java.util.List<MatchList> theListOfLists,
java.util.List<MatchPair> theMatches,
int wd,
int ht,
BlobMeas[][] theLookup,
BatchProcessor theBatchProcessor)
Display a new ImFrame in which is drawn the matched blobs and connecting
lines showing how they are matched.
|
static MatchPair |
findBlobInMiddleImage(int imNo,
int blobNo,
int middleImNo)
Find a given blob in the middle image by following the list of matches
between images.
|
static void |
reportMatches(java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest,
java.lang.String fileName)
Output the list of blob matches between images as a CSV (comma-separated
value) file.
|
static void |
resetStaticObjects()
New 29/9/09, to fix memory leak between astro processes.
|
protected static void |
setListOfLists(java.util.List<MatchList> theListOfLists)
If drawMatches () is not used it is necessary to call this before using
deleteMatches () or findBlobInMiddleImage ()
|
public int imNo1
public int blobNo1
public int imNo2
public int blobNo2
public static void resetStaticObjects()
public static void drawMatches(java.util.List<MatchList> theListOfLists, java.util.List<MatchPair> theMatches, int wd, int ht, BlobMeas[][] theLookup, BatchProcessor theBatchProcessor)
protected static void setListOfLists(java.util.List<MatchList> theListOfLists)
public static void deleteMatches(java.awt.Point pt1, java.awt.Point pt2, ImFrame imf)
public static MatchPair findBlobInMiddleImage(int imNo, int blobNo, int middleImNo)