iRoCS Toolbox  1.1.0
Namespaces | Functions
ComputeCellFeaturesWorker.hh File Reference
#include <config.hh>
#include <libArrayToolbox/Array.hh>
#include <libArrayToolbox/algo/ShellCoordinateTransform.hh>
#include <libProgressReporter/ProgressReporter.hh>
Include dependency graph for ComputeCellFeaturesWorker.hh:

Go to the source code of this file.

Namespaces

 iRoCS
 

Functions

void iRoCS::computeCellFeatures (atb::Array< int, 3 > const &L, ShellCoordinateTransform const &sct, double volumeThresholdUm, std::string const &outFileName, std::string const &featureGroup, int backgroundLabel=-1, bool connectedComponentLabeling=false, ProgressReporter *pr=NULL)
 Compute cell shape features for the given segmentation masks aligned to the given iRoCS shell coordinate transform. More...
 
double iRoCS::computeConvexity (atb::Array< int, 3 > const &L, std::vector< blitz::TinyVector< atb::BlitzIndexT, 3 > > const &voxelSet, int nRandomPairs=100000)
 Compute a convexity measure for a segment based on sample points. More...
 
void iRoCS::computeVoxelSetsPerLabel (atb::Array< int, 3 > const &L, blitz::Array< std::vector< blitz::TinyVector< atb::BlitzIndexT, 3 > >, 1 > &voxelSets, int backgroundLabel, ProgressReporter *pr=NULL)
 For each label compute the vector of voxel positions with that label in L. More...
 
void iRoCS::extractRD (atb::Array< int, 3 > const &L, int label, blitz::TinyVector< double, 3 > const &center, blitz::TinyMatrix< double, 3, 3 > const &axes, blitz::TinyVector< double, 26 > &rd)