net.grelf.grip
Class Analyser
java.lang.Object
net.grelf.grip.Analyser
public class Analyser
- extends java.lang.Object
Analyses stars detected as blobs in astro-photographs, to enable the same stars to be matched in several images.
This is done by examining the vectors connecting the brightest stars in each image. A star which has a similar
pattern of directions and distances to other stars in each image is deemed to be the same star. Static methods
only, this class cannot be instantiated.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSortedConnections
public static java.util.List<ConnectionList> getSortedConnections(BlobMeasList meases,
int nBrightest)
- From the first n of a list of measured blobs, in descending order of brightness, get a list of polar offsets
between them, in ascending order of angle.
- Returns:
- List of ConnectionLists. Each ConnectionList is sorted on polar angle.
List element i refers to connections from the ith blob (after sorting).
matchBrightest
public static java.util.List<MatchPair> matchBrightest(java.util.List<java.util.List<ConnectionList>> connectionsInAllImages)
- Returns:
- List of type MatchPair
vectorMatch
public static boolean vectorMatch(ConnectionList connectionsFromBlobB1,
ConnectionList connectionsFromBlobB2)
- Returns:
- true if at least half of the vectors from BlobB1 match some vectors from BlobB2