Skip to content

Commit

Permalink
4.2.0 AutoSAM
Browse files Browse the repository at this point in the history
  • Loading branch information
BiologyTools committed Jan 14, 2024
1 parent bd84664 commit 8b6477e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions BioGTK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<TargetFramework>net6.0</TargetFramework>
<OutputType>Library</OutputType>
<RuntimeIdentifiers>osx-x64;linux-x64;win-x64;win-arm64;linux-arm64;osx-arm64;</RuntimeIdentifiers>
<AssemblyVersion>4.1.1</AssemblyVersion>
<FileVersion>4.1.1</FileVersion>
<AssemblyVersion>4.2.0</AssemblyVersion>
<FileVersion>4.2.0</FileVersion>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>BioGTK</PackageId>
<Title>BioGTK</Title>
Expand All @@ -17,11 +17,11 @@
<PackageLicenseExpression> GPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Description>A .NET application &amp; library for editing &amp; annotating various microscopy image formats. Supports all bioformats supported images. Integrates with ImageJ, running ImageJ filters &amp; macro functions. Supports Windows, Linux and Mac.</Description>
<Version>4.1.1</Version>
<Version>4.2.0</Version>
<Platforms>AnyCPU</Platforms>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
<PackageReleaseNotes>Better Mask support for SAM.</PackageReleaseNotes>
<PackageReleaseNotes>Added AutoSAM automatic segmentation.</PackageReleaseNotes>
<Authors>Erik Repo</Authors>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion SAM/SAMTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void ClearButton_ButtonPressEvent(object o, ButtonPressEventArgs args)
List<ROI> masks = new List<ROI>();
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)
Expand Down

0 comments on commit 8b6477e

Please sign in to comment.