19 virtual Stars Go(
unsigned char *image,
int imageWidth,
int imageHeight)
const = 0;
28 Stars Go(
unsigned char *image,
int imageWidth,
int imageHeight)
const override;
40 Stars Go(
unsigned char *image,
int imageWidth,
int imageHeight)
const override;
50 Stars Go(
unsigned char *image,
int imageWidth,
int imageHeight)
const override;
A simple, fast, and pretty decent centroid algorithm.
Stars Go(unsigned char *image, int imageWidth, int imageHeight) const override
Actually perform the centroid detection.
CenterOfGravityAlgorithm()
An algorithm that detects the (x,y) coordinates of bright points in an image, called "centroids".
virtual ~CentroidAlgorithm()
virtual Stars Go(unsigned char *image, int imageWidth, int imageHeight) const =0
Actually perform the centroid detection.
A centroid algorithm for debugging that returns random centroids.
Stars Go(unsigned char *image, int imageWidth, int imageHeight) const override
Actually perform the centroid detection.
DummyCentroidAlgorithm(int numStars)
A more complicated centroid algorithm which doesn't perform much better than CenterOfGravityAlgorithm...
Stars Go(unsigned char *image, int imageWidth, int imageHeight) const override
Actually perform the centroid detection.
IterativeWeightedCenterOfGravityAlgorithm()
std::vector< Star > Stars