|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.grelf.grip.ImageBase
net.grelf.grip.ImageDouble
net.grelf.grip.AccumulatorDouble
public class AccumulatorDouble
This is a 64-bits-per-channel floating point Accumulator.
Field Summary |
---|
Fields inherited from class net.grelf.grip.ImageDouble |
---|
data |
Constructor Summary | |
---|---|
AccumulatorDouble(java.awt.image.BufferedImage bim)
Use the BufferedImage to set the width, height and number of bands (channels) in this Image. |
|
AccumulatorDouble(int width,
int height,
int nBands)
Creates image without setting any pixels. |
|
AccumulatorDouble(int width,
int height,
int nBands,
boolean fillWithZeroes)
Creates image with pixels optionally set to zero. |
Method Summary | |
---|---|
void |
addWithStarBoost(java.awt.image.BufferedImage bim,
int starBoostFactor)
For accumulating star trails. |
boolean |
averageShiftAccumulate(java.awt.image.BufferedImage bim,
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 |
brightestShiftAccumulate(java.awt.image.BufferedImage bim,
int imNo,
int middleImNo,
java.util.List<PointFloat> centres)
For image imNo of a sequence, add the pixel values into the accumulator but first shift the image so that brightest objects in this image and the middle image of the sequence are superimposed. 9.11.26: changed last parameter from BlobMeas [][] lookup. |
boolean |
warpAccumulate(java.awt.image.BufferedImage bim,
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. |
Methods inherited from class net.grelf.grip.ImageBase |
---|
padTo, padTo, rJustified20 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccumulatorDouble(int width, int height, int nBands)
public AccumulatorDouble(int width, int height, int nBands, boolean fillWithZeroes)
public AccumulatorDouble(java.awt.image.BufferedImage bim) throws IncompatibleImageException
IncompatibleImageException
Method Detail |
---|
public boolean brightestShiftAccumulate(java.awt.image.BufferedImage bim, int imNo, int middleImNo, java.util.List<PointFloat> centres) throws IncompatibleImageException
brightestShiftAccumulate
in interface Accumulator
IncompatibleImageException
public boolean averageShiftAccumulate(java.awt.image.BufferedImage bim, int imNo, int middleImNo, java.util.List<MatchPair> matches, BlobMeas[][] lookup, int nBrightest) throws IncompatibleImageException
averageShiftAccumulate
in interface Accumulator
IncompatibleImageException
public boolean warpAccumulate(java.awt.image.BufferedImage bim, int imNo, int middleImNo, java.util.List<MatchPair> matches, BlobMeas[][] lookup, int nBrightest) throws IncompatibleImageException
warpAccumulate
in interface Accumulator
IncompatibleImageException
public void addWithStarBoost(java.awt.image.BufferedImage bim, int starBoostFactor) throws IncompatibleImageException
addWithStarBoost
in interface Accumulator
IncompatibleImageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |