Package | Description |
---|---|
net.grelf.astro |
This package contains Java classes for astronomical applications.
|
net.grelf.grip |
This package contains the Java classes which are specific to the image
processing application GRIP.
GRIP is available as a free download from www.grelf.net - please always quote this URL in connection with GRIP. Version: 18.1.24 |
Modifier and Type | Method and Description |
---|---|
protected MeasuredValue |
Star.calibrateImage(java.util.List<BlobMeas> refBlobs)
Uses known celestial coordinates of refBlobs (from a StarChart: every
BlobMeas must have a Star) to return scale factor in degrees per pixel.
|
protected SkyPoint |
Star.estimatePlateCentre(java.util.List<BlobMeas> refBlobs,
Image image,
Epoch epoch,
MeasuredValue degreesPerPixel) |
Modifier and Type | Method and Description |
---|---|
BlobMeas |
BlobMeas.clone()
Does a deep copy of everything except the blob, for which the reference is
copied.
|
BlobMeas |
BlobFrame.getBlobMeas() |
BlobMeas |
BlobMeasList.getNearestBlob(Blob blob)
Find the nearest neighbour to the given blob.
|
BlobMeas |
BlobMeasList.getNearestBlob(int xx,
int yy)
Find the blob with centre nearest to given point (xx, yy).
|
BlobMeas |
Blob.measure(Image image)
Measure brightness, density-weighted centre and area (pixel count)
all on one pass.
|
BlobMeas |
Blob_.measure(Image image)
Measure brightness, density-weighted centre and area (pixel count) all
on one pass.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Accumulator.averageShiftAccumulate(Image image,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
For image imNo of a sequence, add the pixel values into the accumulator
but first shift the image so that matched point pairs are superimposed.
|
boolean |
Accumulator32.averageShiftAccumulate(Image image,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
For image imNo of a sequence, add the pixel values into the accumulator
but first shift the image so that matched point pairs are superimposed.
|
boolean |
Accumulator64.averageShiftAccumulate(Image image,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
For image imNo of a sequence, add the pixel values into the accumulator
but first shift the image so that matched point pairs are superimposed.
|
int |
BlobMeas.compareTo(BlobMeas other)
To enable sorting on reverse order of brightness.
|
BlobFrame |
Blob.display(ImFrame srcFrame,
BlobMeas meas)
Display this blob magnified in the given frame.
|
BlobFrame |
Blob_.display(ImFrame srcFrame,
BlobMeas meas)
Display this blob magnified in a new BlobFrame.
|
static void |
MatchPair.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.
|
void |
Blob_.eraseToBackground(BlobMeas meas,
ImFrame parentFrame)
For removing stars during comet stacking.
|
static double[] |
MatchList.getAverageShift(int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
Returns array containing 2 elements: dx and dy.
|
boolean |
BlobMeasList.insert(BlobMeas meas)
Insert the BlobMeas object at the right place so the list is always in
descending order of brightness.
|
void |
Blob.measureAccurately(BlobMeas meas,
Image image)
Measure meanBackground, accurateBrightnesses and snRatios fields of the
given BlobMeas using backgroundDisc and brightnessDisc in the given frame
(which is assumed to be the parent frame of the magnified blob frame).
The signal-to-noise (S/N) ratio for each channel is measured as (mean (starBrightness) - mean (backgroundBrightness)) / stdDev (backgroundBrightness) where mean (starBrightness) is the accurately measured brightness in the inner disc divided by the number of pixels in that disc. |
void |
Blob_.measureAccurately(BlobMeas meas,
Image image) |
void |
Blob.measureAccurately(BlobMeas meas,
ImFrame parentFrame)
Measure meanBackground, accurateBrightnesses and snRatios fields of the
given BlobMeas using backgroundDisc and brightnessDisc in the given frame
(which is assumed to be the parent frame of the magnified blob frame).
The signal-to-noise (S/N) ratio for each channel is measured as (mean (starBrightness) - mean (backgroundBrightness)) / stdDev (backgroundBrightness) where mean (starBrightness) is the accurately measured brightness in the inner disc divided by the number of pixels in that disc. |
void |
Blob_.measureAccurately(BlobMeas meas,
ImFrame parentFrame)
Measure meanBackground, accurateBrightnesses and snRatios fields of the
given BlobMeas using backgroundDisc and brightnessDisc in the given frame
(which is assumed to be the parent frame of the magnified blob frame).
The signal-to-noise (S/N) ratio for each channel is measured as (mean (starBrightness) - mean (backgroundBrightness)) / stdDev (backgroundBrightness) where mean (starBrightness) is the accurately measured brightness in the inner disc divided by the number of pixels in that disc. |
void |
Blob_.remeasureAccurately(BlobMeas meas,
Image image) |
void |
Blob.remeasureAccurately(BlobMeas meas,
ImFrame parentFrame) |
void |
Blob_.remeasureAccurately(BlobMeas meas,
ImFrame parentFrame) |
static void |
MatchList.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.
|
static void |
MatchPair.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 Image |
Warp.warp(Image im,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
Warp the given image using the inter-image match information.
|
boolean |
Accumulator.warpAccumulate(Image image,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
For image imNo of a sequence, add the pixel values into the accumulator
but first distort the image so that matched point pairs are superimposed.
|
boolean |
Accumulator32.warpAccumulate(Image image,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
For image imNo of a sequence, add the pixel values into the accumulator
but first distort the image so that matched point pairs are superimposed.
|
boolean |
Accumulator64.warpAccumulate(Image image,
int imNo,
int middleImNo,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest)
For image imNo of a sequence, add the pixel values into the accumulator
but first distort the image so that matched point pairs are superimposed.
|
Constructor and Description |
---|
BlobFrame(java.lang.String title,
int width,
int height,
BlobMeas meas,
ImFrame parentFrame)
The BlobMeas parameter is non-null only if this is a frame opened as
a result of clicking on or near one detected blob; also in that case
the parent frame is the one on which the user clicked, containing all the
detected blobs.
|
BlobPanel(BlobFrame blobFrame,
BlobMeas meas) |
ImageSummaryDialogue(BatchMetadata batchMetadata,
java.util.List<MatchPair> matches,
BlobMeas[][] lookup,
int nBrightest,
boolean userMayRejectImages,
java.lang.String resultPath)
New resultPath parameter may be empty string (15.10.30).
|