LOST
0.0.1
LOST: Open-source Star Tracker
|
A centroid algorithm for debugging that returns random centroids. More...
#include <centroiders.hpp>
Public Member Functions | |
DummyCentroidAlgorithm (int numStars) | |
Stars | Go (unsigned char *image, int imageWidth, int imageHeight) const override |
Actually perform the centroid detection. More... | |
Public Member Functions inherited from lost::CentroidAlgorithm | |
virtual | ~CentroidAlgorithm () |
A centroid algorithm for debugging that returns random centroids.
Definition at line 25 of file centroiders.hpp.
|
inlineexplicit |
Definition at line 27 of file centroiders.hpp.
|
overridevirtual |
Actually perform the centroid detection.
This is the "main" function of CentroidAlgorithm.
image | An row-major indexed array of grayscale pixels. 0 is black, 255 is white. The total length is imageWidth * imageHeight |
imageWidth,imageHeight | Image dimensions in pixels. |
Implements lost::CentroidAlgorithm.
Definition at line 19 of file centroiders.cpp.