BioGTK 2.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BioGTK --version 2.3.0                
NuGet\Install-Package BioGTK -Version 2.3.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="2.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BioGTK --version 2.3.0                
#r "nuget: BioGTK, 2.3.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=2.3.0

// Install BioGTK as a Cake Tool
#tool nuget:?package=BioGTK&version=2.3.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 Mac see installation instructions. For Discussion check out the new Discord Server. https://discord.gg/NpREVubS

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# functions.

  • Supports drawing shapes & colors onto 16 bit & 48 bit images, unlike System.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.

  • Use AForge filters by opening filters tool window and right click to apply. Currently supports only some AForge filters as many of them do not support 16bit and 48bit images. Convert to 8bit image to make use of more filters. Applyed filters can be easily recorded and used in scripts. Bio impliments some filters like crop for 16 & 48 bit images.

  • Star this project on Github to help spread the word about Bio!

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.
  • If you experience a crash when opening a new TabsView the fix is runnning the application via terminal, by opening the package contents by right click and then double clicking BioGTKApp. This will open the application via terminal and show any warnings or errors.

Sample Tool Script

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.8.0 34 11/26/2024
5.7.1 46 11/18/2024
5.7.0 37 11/17/2024
5.6.0 52 10/29/2024
5.5.0 81 10/19/2024
5.4.2 53 10/10/2024
5.4.1 61 10/1/2024
5.4.0 55 9/29/2024
5.3.0 82 8/21/2024
5.2.0 65 7/26/2024
5.1.1 71 5/7/2024
5.1.0 63 4/29/2024
5.0.1 78 4/21/2024
5.0.0 64 4/17/2024
4.9.0 85 3/8/2024
4.8.1 71 3/6/2024
4.8.0 143 3/6/2024
4.7.1 129 2/27/2024
4.7.0 110 2/25/2024
4.6.0 134 2/19/2024
4.5.2 134 2/17/2024
4.5.1 116 2/15/2024
4.5.0 131 2/13/2024
4.4.0 127 2/10/2024
4.3.0 132 2/2/2024
4.2.0 183 1/14/2024
4.1.0 220 1/4/2024
4.0.0 155 12/26/2023
3.9.1 162 12/2/2023
3.9.0 130 12/1/2023
3.8.1 167 11/8/2023
3.8.0 127 11/2/2023
3.7.1 313 10/26/2023
3.7.0 322 10/22/2023
3.6.2 353 8/30/2023
3.6.1 319 8/22/2023
3.6.0 392 8/19/2023
3.5.3 325 8/17/2023
3.5.1 356 8/12/2023
3.5.0 487 8/10/2023
3.4.0 372 8/6/2023
3.3.3 439 8/4/2023
3.3.2 401 8/1/2023
3.3.1 419 7/6/2023
3.3.0 364 7/4/2023
3.2.0 402 6/29/2023
3.1.1 342 6/28/2023
3.0.0 312 6/20/2023
2.9.0 343 6/13/2023
2.8.0 306 5/15/2023
2.7.2 338 5/5/2023
2.7.1 367 4/29/2023
2.7.0 353 4/29/2023
2.6.2 515 4/3/2023
2.6.1 464 4/1/2023
2.6.0 468 3/12/2023
2.5.0 483 3/7/2023
2.4.1 455 3/4/2023
2.4.0 534 2/28/2023
2.3.0 500 2/27/2023
2.2.0 263 2/23/2023
2.1.1 270 2/17/2023
2.1.0 257 2/15/2023
1.2.0 304 1/31/2023
1.1.0 281 1/29/2023
1.0.0 289 1/29/2023