iRoCS Toolbox
1.1.0
|
A collection of morphological operations on blitz++ Arrays. More...
#include <config.hh>
#include "TypeTraits.hh"
#include "Neighborhood.hh"
#include "ATBBasicTree.hh"
#include <libProgressReporter/ProgressReporter.hh>
#include <blitz/array.h>
#include <map>
#include "ATBMorphology.icc"
Go to the source code of this file.
Namespaces | |
atb | |
Enumerations | |
enum | atb::NHood { atb::SIMPLE_NHOOD, atb::COMPLEX_NHOOD, atb::SIMPLE_NHOOD, atb::COMPLEX_NHOOD } |
Functions | |
template<typename DataT , int Dim> | |
void | atb::close (blitz::Array< DataT, Dim > const &data, blitz::Array< DataT, Dim > &result, std::vector< blitz::TinyVector< BlitzIndexT, Dim > > const &strel, iRoCS::ProgressReporter *progress=NULL) |
Morphological closing. More... | |
template<int Dim> | |
void | atb::connectedComponentLabelling (const blitz::Array< bool, Dim > &data, blitz::Array< BlitzIndexT, Dim > &labels, NHood nh=COMPLEX_NHOOD, iRoCS::ProgressReporter *pr=NULL) |
Connected component labelling of the given binary Array. More... | |
template<typename DataT , int Dim> | |
void | atb::dilate (blitz::Array< DataT, Dim > const &data, blitz::Array< DataT, Dim > &result, std::vector< blitz::TinyVector< BlitzIndexT, Dim > > const &strel, iRoCS::ProgressReporter *progress=NULL) |
Morphological dilation. More... | |
template<typename DataT , int Dim> | |
void | atb::erode (blitz::Array< DataT, Dim > const &data, blitz::Array< DataT, Dim > &result, std::vector< blitz::TinyVector< BlitzIndexT, Dim > > const &strel, iRoCS::ProgressReporter *progress=NULL) |
Morphological erosion. More... | |
template<typename DataT , int Dim> | |
void | atb::fillHolesGray (blitz::Array< DataT, Dim > const &data, blitz::Array< DataT, Dim > &result, typename Neighborhood< Dim >::Type nh=Neighborhood< Dim >::Complex, iRoCS::ProgressReporter *pr=NULL) |
Morphological hole filling for gray value data. More... | |
template<typename DataT , int Dim> | |
void | atb::open (blitz::Array< DataT, Dim > const &data, blitz::Array< DataT, Dim > &result, std::vector< blitz::TinyVector< BlitzIndexT, Dim > > const &strel, iRoCS::ProgressReporter *progress=NULL) |
Morphological opening. More... | |
template<int Dim> | |
std::vector< blitz::TinyVector< BlitzIndexT, Dim > > | atb::sphericalStructuringElement (blitz::TinyVector< double, Dim > const &elementSizeUm, double radiusUm) |
Generate a spherical neighborhood for morphological operations. More... | |
template<typename DataT , int Dim> | |
void | atb::tophat (blitz::Array< DataT, Dim > const &data, blitz::TinyVector< double, Dim > const &elementSizeUm, blitz::Array< DataT, Dim > &result, double radiusUm, iRoCS::ProgressReporter *progress=NULL) |
Morphological top-hat filter. More... | |
A collection of morphological operations on blitz++ Arrays.
Definition in file ATBMorphology.hh.