40 namespace imageProcessing
49 template<
typename dtype>
54 std::vector<Centroid<dtype>> centroids;
56 centroids.reserve(inClusters.size());
57 for (
auto& cluster : inClusters)
59 centroids.emplace_back(cluster);
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:37
Holds the information for a cluster of pixels.
Definition: Cluster.hpp:54
std::vector< Centroid< dtype > > centroidClusters(const std::vector< Cluster< dtype > > &inClusters)
Definition: centroidClusters.hpp:50
Definition: Coordinate.hpp:45