![]() |
NumCpp
2.16.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Clusters exceedance data into contiguous groups. More...
#include <ClusterMaker.hpp>
Public Types | |
| using | const_iterator = typename std::vector< Cluster< dtype > >::const_iterator |
Public Member Functions | |
| ClusterMaker (const NdArray< bool > *const inXcdArrayPtr, const NdArray< dtype > *const inIntensityArrayPtr, uint8 inBorderWidth=0) | |
| const Cluster< dtype > & | at (uint32 inIndex) const |
| const_iterator | begin () const noexcept |
| const_iterator | end () const noexcept |
| const Cluster< dtype > & | operator[] (uint32 inIndex) const noexcept |
| uint32 | size () noexcept |
Clusters exceedance data into contiguous groups.
| using nc::imageProcessing::ClusterMaker< dtype >::const_iterator = typename std::vector<Cluster<dtype> >::const_iterator |
|
inline |
constructor
| inXcdArrayPtr | pointer to exceedance array |
| inIntensityArrayPtr | pointer to intensity array |
| inBorderWidth | border to apply around exceedance pixels post clustering (default 0) |
|
inlinenoexcept |
returns in iterator to the beginning cluster of the container
|
inlinenoexcept |
returns in iterator to the 1 past the end cluster of the container
|
inlinenoexcept |
|
inlinenoexcept |
returns the number of clusters in the frame