Skip to content

Commit

Permalink
imporve robustness of return only largest
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Mar 15, 2024
1 parent 734c053 commit a06fb32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/ai/nets/samj/gui/SAMJDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ public void actionPerformed(ActionEvent e) {
netAdapter = panelModel
.getSelectedModel()
.instantiate(display.giveProcessedSubImage(selectedSAMModel), logForNetworks);
netAdapter.setReturnOnlyBiggest(cmbROIs.getSelectedItem().equals(ONLY_BIGGEST));
} catch (Exception ex) {
display.notifyException(SAMJException.ENCODING, ex);
}
Expand Down

0 comments on commit a06fb32

Please sign in to comment.