String method
Segmentation method.
FileName fn_mask
Output mask. If not given it is not written.
bool en_threshold
Enable a single threshold measure.
void segment(Image< double > &mask)
void readParams()
Read arguments.
double threshold
Threshold.
FileName fn_vol
Input volume.
double aa_mass
Desired mass (in aminoacids). Not necessary if voxel_mass is provided.
double sampling_rate
Sampling rate (in A/pixel). Not necessary if voxel_mass is provided.
void defineParams()
Define parameters.
double dalton_mass
Desired mass (in Daltons). Not necessary if voxel_mass is provided.
int wang_radius
radius for B.C. Wang-like smoothing procedure
bool do_prob
From here on by Sjors.