50 template<
typename dtype>
51 std::vector<Cluster<dtype>>
57 return std::vector<Cluster<dtype>>(clusterMaker.
begin(), clusterMaker.
end());
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
Clusters exceedance data into contiguous groups.
Definition: ClusterMaker.hpp:51
const_iterator begin() const noexcept
Definition: ClusterMaker.hpp:148
const_iterator end() const noexcept
Definition: ClusterMaker.hpp:159
Definition: applyThreshold.hpp:34
std::vector< Cluster< dtype > > clusterPixels(const NdArray< dtype > &inImageArray, const NdArray< bool > &inExceedances, uint8 inBorderWidth=0)
Definition: clusterPixels.hpp:52
std::uint8_t uint8
Definition: Types.hpp:42