@@ -57,9 +57,9 @@ public class SomaDetectorCmd extends CommonDynamicCmd {
5757 private static final String OUTPUT_PATH = "Single-node path" ;
5858
5959 private static final String SCOPE_ALL = "All somata in image" ;
60- private static final String SCOPE_BRIGHTEST = "Brightest soma only" ;
60+ private static final String SCOPE_BRIGHTEST = "Brightest/largest soma only" ;
6161
62- @ Parameter (label = "Output type" , choices = {OUTPUT_PATH , OUTPUT_POINT_ROI , OUTPUT_AREA_ROI , OUTPUT_CIRCLE_ROI },
62+ @ Parameter (label = "Output type" , choices = {OUTPUT_PATH , OUTPUT_AREA_ROI , OUTPUT_CIRCLE_ROI , OUTPUT_POINT_ROI },
6363 style = ChoiceWidget .RADIO_BUTTON_VERTICAL_STYLE ,
6464 description = "<HTML>Type of output:<br>" +
6565 "<b>Single-node path</b>: Single node path at soma center w/ radius from distance transform<br>" +
@@ -73,7 +73,7 @@ public class SomaDetectorCmd extends CommonDynamicCmd {
7373 callback = "scopeChoiceChanged" ,
7474 description = "<HTML>Detection scope:<br>" +
7575 "<b>All somata</b>: Detect all cell bodies in image<br>" +
76- "<b>Brightest only</b>: Detect single brightest/thickest soma" )
76+ "<b>Brightest only</b>: Detect single brightest/largest soma" )
7777 private String scopeChoice ;
7878
7979 @ Parameter (label = "Threshold" , min = "-1" , required = false ,
@@ -83,9 +83,9 @@ public class SomaDetectorCmd extends CommonDynamicCmd {
8383
8484 @ Parameter (label = "Min. radius" , min = "1" , required = false ,
8585 description = "<HTML>Minimum soma radius <b>in pixels</b>.<br>" +
86- "Only applies when detecting all somata .<br>" +
86+ "Only applies when detecting <b>" + SCOPE_ALL + "</b> .<br>" +
8787 "Smaller detections are filtered out as noise.<br>" +
88- "Default: 10" )
88+ "Default: 10 pixels " )
8989 private double minRadius = 10 ;
9090
9191 private ImagePlus imp ;
@@ -99,6 +99,7 @@ private void init() {
9999 if (imp == null || img == null ) {
100100 error ("No valid image data available." );
101101 }
102+ getInfo ().setLabel (String .format ("Detect Soma [C=%d;T=%d]..." , snt .getChannel (), snt .getFrame ()));
102103 scopeChoiceChanged ();
103104 }
104105
0 commit comments