Skip to content

Commit

Permalink
Add default value for some export label image parameters
Browse files Browse the repository at this point in the history
Parameters with default values:
* option (label option)
* frameRateReduction

Change SuppressWarnings to level "all" to not let warnings re final variables occur
  • Loading branch information
stefanhahmann committed Nov 9, 2023
1 parent b53304a commit dee0a29
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public class SegmentUsingEllipsoidsView implements Command
+ "</body>\n"
+ "</html>\n";

@SuppressWarnings("unused")
@SuppressWarnings("all")
@Parameter(label = "Label Id", choices = { "Track Id", "BranchSpot Id", "Spot Id" })
private String option;
private String option = LabelOptions.BRANCH_SPOT_ID.getName();

@SuppressWarnings("unused")
@SuppressWarnings("all")
@Parameter(label = "Frame rate reduction", description = "Only use every n-th frame for segmentation. 1 means no reduction. Value must be >= 1.", min = "1")
private int frameRateReduction;
private int frameRateReduction = 1;

@SuppressWarnings("unused")
@Parameter(label = "Save to")
Expand Down

0 comments on commit dee0a29

Please sign in to comment.