From 8b6477e088272b7922bc8921f03afec4a52fec5f Mon Sep 17 00:00:00 2001
From: RepoErik <84872500+BiologyTools@users.noreply.github.com>
Date: Sun, 14 Jan 2024 05:45:55 +0200
Subject: [PATCH] 4.2.0 AutoSAM
---
BioGTK.csproj | 8 ++++----
SAM/SAMTool.cs | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/BioGTK.csproj b/BioGTK.csproj
index c83e124..0ea69d5 100644
--- a/BioGTK.csproj
+++ b/BioGTK.csproj
@@ -3,8 +3,8 @@
net6.0
Library
osx-x64;linux-x64;win-x64;win-arm64;linux-arm64;osx-arm64;
- 4.1.1
- 4.1.1
+ 4.2.0
+ 4.2.0
True
BioGTK
BioGTK
@@ -17,11 +17,11 @@
GPL-3.0-only
True
A .NET application & library for editing & annotating various microscopy image formats. Supports all bioformats supported images. Integrates with ImageJ, running ImageJ filters & macro functions. Supports Windows, Linux and Mac.
- 4.1.1
+ 4.2.0
AnyCPU
True
AnyCPU
- Better Mask support for SAM.
+ Added AutoSAM automatic segmentation.
Erik Repo
diff --git a/SAM/SAMTool.cs b/SAM/SAMTool.cs
index b73475c..b772e8d 100644
--- a/SAM/SAMTool.cs
+++ b/SAM/SAMTool.cs
@@ -162,7 +162,7 @@ private void ClearButton_ButtonPressEvent(object o, ButtonPressEventArgs args)
List masks = new List();
foreach (ROI item in ImageView.SelectedImage.Annotations)
{
- if(item.type == ROI.Type.Mask || item.type == ROI.Type.Rectangle)
+ if(item.type == ROI.Type.Mask)
masks.Add(item);
}
foreach (ROI mask in masks)