iRoCS Toolbox  1.1.0
Namespaces | Functions
helpers-inl.hh File Reference
#include <config.hh>
#include <vector>
#include <map>
#include <list>
#include <set>
#include <blitz/array.h>
Include dependency graph for helpers-inl.hh:

Go to the source code of this file.

Namespaces

 segmentation
 

Functions

template<typename T >
std::vector< blitz::Array< T, 2 > > segmentation::collectSelectedClusterProfiles (const blitz::Array< T, 2 > &profiles, const std::vector< ptrdiff_t > &labels, const std::set< ptrdiff_t > &selected_clusters)
 Builds a vector of blitz Arrays (profiles) for selected clusters each element of the vector corresponds to the profiles of a selected cluster. More...