Property*lowThresholdProperty=newProperty(tr("Low threshold"),128,tr("Voxels which have a scalar value below this threshold will considered as black (0). Above it AND below high threshold, they will be considered as white (255)."),"");

Property*lowThresholdProperty=newProperty(tr("Low Threshold"),128,tr("Voxels which have a scalar value below this low threshold value will be set to black (min possible value). Above it AND below the high threshold value, they will be set to white (max possible value)."),"");

lowThresholdProperty->setAttribute("minimum",0);

lowThresholdProperty->setAttribute("maximum",255);

lowThresholdProperty->setAttribute("singleStep",1);

addParameter(lowThresholdProperty);

Property*highThresholdProperty=newProperty(tr("High threshold"),255,tr("Voxels which have a scalar value above this threshold will considered as black (0). Below it AND above low threshold, they will be considered as white (255)."),"");

Property*highThresholdProperty=newProperty(tr("High Threshold"),255,tr("Voxels which have a scalar value above this high threshold will be set to black (min possible value). Below it AND above the low threshold value, they will be set to white (max possible value)."),"");

highThresholdProperty->setAttribute("minimum",0);

highThresholdProperty->setAttribute("maximum",255);

highThresholdProperty->setAttribute("singleStep",1);

...

...

@@ -75,30 +75,30 @@ ManualThreshold::~ManualThreshold() {

// --------------- getWidget -------------------

QWidget*ManualThreshold::getWidget(){

// Computing the maximum and the minimum possible value for the image

// Computing the maximum and the minimum possible value for the selected images