23 #ifndef COMPUTECELLFEATURESWORKER_HH 24 #define COMPUTECELLFEATURESWORKER_HH 49 blitz::TinyVector<double,3>
const ¢er,
50 blitz::TinyMatrix<double,3,3>
const &axes,
51 blitz::TinyVector<double,26> &rd);
69 blitz::Array<std::vector< blitz::TinyVector<atb::BlitzIndexT,3> >,1>
70 &voxelSets,
int backgroundLabel, ProgressReporter *pr = NULL);
94 std::vector< blitz::TinyVector<atb::BlitzIndexT,3> >
const &voxelSet,
95 int nRandomPairs = 100000);
154 double volumeThresholdUm, std::string
const &outFileName,
155 std::string
const &featureGroup,
int backgroundLabel = -1,
156 bool connectedComponentLabeling =
false, ProgressReporter *pr = NULL);
Array class derived from blitz++ Arrays for handling microscopic datasets with associated element siz...
void 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 coordin...
void 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.
double 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.
void extractRD(atb::Array< int, 3 > const &L, int label, blitz::TinyVector< double, 3 > const ¢er, blitz::TinyMatrix< double, 3, 3 > const &axes, blitz::TinyVector< double, 26 > &rd)