30 #ifndef LROOTANALYSIS_H_ 31 #define LROOTANALYSIS_H_ 37 #include <blitz/array.h> 53 blitz::Array<int,3>
const &label, blitz::Array<double,1> &
volume,
77 blitz::Array<int,3>
const &label,
78 blitz::Array<blitz::TinyVector<double,3>,1> ¢er,
79 blitz::Array<double,1> &
volume,
int maxLabel,
80 blitz::TinyVector<double,3>
const &elSize);
98 blitz::Array<int,3>
const &L, blitz::Array<bool,3> &marker,
99 blitz::Array<bool,1>
const &flagTooSmall);
102 blitz::Array<int,3>
const &L, blitz::Array<unsigned char,1> &validFlag);
void centerAndVolume(blitz::Array< int, 3 > const &label, blitz::Array< blitz::TinyVector< double, 3 >, 1 > ¢er, blitz::Array< double, 1 > &volume, int maxLabel, blitz::TinyVector< double, 3 > const &elSize)
Compute the volume in um^3 and center of gravity per intensity in the given integer volume...
void volume(blitz::Array< int, 3 > const &label, blitz::Array< double, 1 > &volume, int maxLabel=-1)
Compute the number of voxels per intensity in the given integer volume.
void eraseMarkers(blitz::Array< int, 3 > const &L, blitz::Array< bool, 3 > &marker, blitz::Array< bool, 1 > const &flagTooSmall)
Set the marker flag for each voxel, that is part of a segment that is not marked as too small in the ...
void labelOnBorder(blitz::Array< int, 3 > const &L, blitz::Array< unsigned char, 1 > &validFlag)