@@ -79,13 +79,13 @@ public class CellposeAppose extends DynamicCommand implements Initializable
7979 @ Parameter (label ="Compute Flows" , description ="Compute the segmentation flows output" )
8080 private Boolean compute_flows = false ; // whether to compute flows channel
8181
82- @ Parameter (label = "Flows Threshold" , min = "0" , max = "1" , description = "Threshold on flows to detect objects (only for 2D)" )
82+ @ Parameter ( label = "Flows Threshold" , min = "0" , max = "1" , description = "Threshold on flows to detect objects (only for 2D)" , stepSize = "0.1" )
8383 private double flow_threshold = 0.4 ; // probability threshold on flows
8484
8585 @ Parameter (label ="Minimum Object Size" , min ="0" , description ="Minimum object size (in pixels) to keep" )
8686 private int min_size = 15 ; // minimum object size
8787
88- @ Parameter (label = "Tile overlap" , min = "0" , max = "1" , description = "Overlap ratio between tiles" )
88+ @ Parameter ( label = "Tile overlap" , min = "0" , max = "1" , description = "Overlap ratio between tiles" , stepSize = "0.1" )
8989 private double tile_overlap = 0.1 ; // overlap ration between cellpose tiles
9090
9191 @ Parameter (label ="Normalize" , description ="Normalize intensity on each channels" )
@@ -158,6 +158,7 @@ public void initialize() {
158158 "Stitch threshold" , Double .class );
159159 stitch_threshold .setMaximumValue (1.0 );
160160 stitch_threshold .setMinimumValue (0.0 );
161+ stitch_threshold .setStepSize ( 0.1 );
161162 stitch_threshold .setDescription ( "2D+stitch mode only: IOU threshold to stitch labels together along the Z-axis" );
162163 getInfo ().addInput (stitch_threshold );
163164 }
0 commit comments