BioGTK 3.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BioGTK --version 3.4.0                
NuGet\Install-Package BioGTK -Version 3.4.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BioGTK" Version="3.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BioGTK --version 3.4.0                
#r "nuget: BioGTK, 3.4.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BioGTK as a Cake Addin
#addin nuget:?package=BioGTK&version=3.4.0

// Install BioGTK as a Cake Tool
#tool nuget:?package=BioGTK&version=3.4.0                

BioGTK

alt text

A .NET application & library for editing & annotating various microscopy image formats. Supports all bioformats supported images. Integrates with ImageJ, running ImageJ filters & macro functions. Check out the new wiki for library usage. or check out the documentation. Supports Windows, Linux and Mac. For Windows & Mac see installation instructions. For Discussion check out the new Discord Server. https://discord.gg/tdeyc6fgpv

NuGet version (BioGTK) NuGet version (BioGTK) DOI

Features

  • C# scripting with sample tool-script and other sample scripts in "/Scripts/" folder. See samples

  • Supports running ImageJ macro commands on images open in Bio. Console to run ImageJ macro commands and Bio C# scripts.

  • Supports Pyramidal images with multiple resolutions. Like whole slide images.

  • Multiple view modes like Emission, and Filtered. ROI's shown for each channel can be configured in ROI Manager.

  • Supports drawing shapes & colors onto 16 bit & 48 bit images, unlike System.Drawing.Graphics.

  • Convenient viewing of image stacks with scroll wheel moving Z-plane and mouse side buttons scrolling C-planes.

  • Editing & saving ROI's in images to OME format image stacks.

  • Copy & Paste to quickly annotate images and name them easily by right click.

  • Select multiple points by holding down control key, and move them by holding down control key.

  • Exporting ROI's from each OME image in a folder of images to CSV.

  • Easy freeform annotation with magic select tool which selects based on blob detection.

Dependencies

Licenses

Scripting

  • Save scripts into "StartupPath/Scripts" with ".cs" ending.
  • Open script editor and recorder from menu.
  • Scripts saved in Scripts folder will be loaded into script runner.
  • Use Script recorder to record program function calls and script runner to turn recorder text into working scripts. (See sample scripts

Mac Installation

  • Install Mac package manager homebrew.
  • From brew install GTK3.
  • Download the BioGTK application for either OSX-x64 or OSX-Arm from releases.
  • Make the file executable by opening terminal in the extracted folder and running "chmod 755 BioGTKApp"
  • Optionally install LibVips package for whole-slide support with homebrew.

Windows Installation

  • Install package manager MSYS2. to install package GTK3. (Required for GTK Apps.)
  • Download the BioGTK Windows installer from releases.
  • Optionally install LibVips for increased performance when opening pyramidal images. Make sure to define environmental variable $VIPS_HOME as instructed here.

Linux Installation

  • Just download the latest tarball(tar.gz) from Releases as linux already includes GTK3 package.
  • Optionally install LibVips for increased performance when opening pyramidal images.

Sample Tool Script

//css_reference BioGTK.dll; 
using System; 
using BioGTK;
using System.Threading;
using AForge;
public class Loader {

//Point ROI Tool Example
public string Load()
{
	int ind = 1;
	do
	{
		BioGTK.Scripting.State s = BioGTK.Scripting.GetState();
		if (s != null)
		{
			if (!s.processed)
			{
				if (s.type == BioGTK.Scripting.Event.Down && s.buts == 1)
				{
					ZCT cord = BioGTK.App.viewer.GetCoordinate();
					BioGTK.Scripting.LogLine(cord.ToString() + " Coordinate");
					BioGTK.ROI an = BioGTK.ROI.CreatePoint(cord, s.p.X, s.p.Y);
					BioGTK.ImageView.SelectedImage.Annotations.Add(an);
					BioGTK.Scripting.LogLine(cord.ToString() + " Coordinate");
					an.Text = "Point" + ind;
					ind++;
					BioGTK.Scripting.LogLine(s.ToString() + " Point");
					//ImageView.viewer.UpdateOverlay();
				}
				else
				if (s.type == BioGTK.Scripting.Event.Up)
				{
					BioGTK.Scripting.LogLine(s.ToString());
				}
				else
				if (s.type == BioGTK.Scripting.Event.Move)
				{
					BioGTK.Scripting.LogLine(s.ToString());
				}
				s.processed = true;
			}
		}
		if(BioGTK.Scripting.Exit("points.cs"))
		{	
			return "OK";
		}
	} while (true);
	return "OK";
}
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.6.0 46 10/29/2024
5.5.0 74 10/19/2024
5.4.2 47 10/10/2024
5.4.1 55 10/1/2024
5.4.0 51 9/29/2024
5.3.0 78 8/21/2024
5.2.0 61 7/26/2024
5.1.1 68 5/7/2024
5.1.0 59 4/29/2024
5.0.1 70 4/21/2024
5.0.0 60 4/17/2024
4.9.0 81 3/8/2024
4.8.1 67 3/6/2024
4.8.0 129 3/6/2024
4.7.1 125 2/27/2024
4.7.0 106 2/25/2024
4.6.0 130 2/19/2024
4.5.2 130 2/17/2024
4.5.1 112 2/15/2024
4.5.0 127 2/13/2024
4.4.0 123 2/10/2024
4.3.0 129 2/2/2024
4.2.0 174 1/14/2024
4.1.0 206 1/4/2024
4.0.0 151 12/26/2023
3.9.1 157 12/2/2023
3.9.0 126 12/1/2023
3.8.1 163 11/8/2023
3.8.0 123 11/2/2023
3.7.1 309 10/26/2023
3.7.0 310 10/22/2023
3.6.2 350 8/30/2023
3.6.1 315 8/22/2023
3.6.0 388 8/19/2023
3.5.3 321 8/17/2023
3.5.1 352 8/12/2023
3.5.0 475 8/10/2023
3.4.0 369 8/6/2023
3.3.3 435 8/4/2023
3.3.2 389 8/1/2023
3.3.1 415 7/6/2023
3.3.0 361 7/4/2023
3.2.0 398 6/29/2023
3.1.1 338 6/28/2023
3.0.0 308 6/20/2023
2.9.0 338 6/13/2023
2.8.0 302 5/15/2023
2.7.2 334 5/5/2023
2.7.1 363 4/29/2023
2.7.0 349 4/29/2023
2.6.2 511 4/3/2023
2.6.1 460 4/1/2023
2.6.0 465 3/12/2023
2.5.0 479 3/7/2023
2.4.1 451 3/4/2023
2.4.0 530 2/28/2023
2.3.0 496 2/27/2023
2.2.0 259 2/23/2023
2.1.1 266 2/17/2023
2.1.0 253 2/15/2023
1.2.0 300 1/31/2023
1.1.0 275 1/29/2023
1.0.0 285 1/29/2023

Bioformats support on Mac x64. As well as better Arm64 support.