BioCore 4.2.0

dotnet add package BioCore --version 4.2.0                
NuGet\Install-Package BioCore -Version 4.2.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="BioCore" Version="4.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BioCore --version 4.2.0                
#r "nuget: BioCore, 4.2.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 BioCore as a Cake Addin
#addin nuget:?package=BioCore&version=4.2.0

// Install BioCore as a Cake Tool
#tool nuget:?package=BioCore&version=4.2.0                

BioCore Banner

BioCore

A .NET8 version of Bio library. Bio is an 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 wiki for library usage. or check out the documentation.

NuGet version (BioCore) NuGet version (BioCore) 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. New Console to run ImageJ macro commands and Bio C# functions.

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

  • Stitch images at varying resolutions into single pyramidal image with multiple resolutions.

  • 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, for delete & move tools.

  • 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.

  • 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

Installation

  • Optionally install OpenSlide for increased performance.

Scripting

  • Save scripts into "StartupPath/Scripts" with ".cs" ending.
  • Open script editor and recorder from menu.
  • Double click on script name in Script runner to run script.
  • Scripts saved in Scripts folder will be loaded into script runner.
  • Program installer include sample filter & tool script.
  • Use Script recorder to record program function calls and script runner to turn recorder text into working scripts. (See sample scripts

Plugins

  • Save plugin DLL's into "StartupPath/Plugins"
  • See example plugin to create your own plugins.

Sample Tool Script

//css_reference BioCore.dll;
using System;
using System.Windows.Forms;
using System.Drawing;
using Bio;
using System.Threading;

public class Loader
{

	//Point ROI Tool Example
	public string Load()
	{
		int ind = 1;
		do
		{
			Bio.Scripting.State s = Bio.Scripting.GetState();
			if (s != null)
			{
				if (!s.processed)
				{
					if (s.type == Bio.Scripting.Event.Down && s.buts == MouseButtons.Left)
					{
						ZCT cord = Bio.App.viewer.GetCoordinate();
						Bio.Scripting.LogLine(cord.ToString() + " Coordinate");
						Bio.ROI an = Bio.ROI.CreatePoint(cord, s.p.X, s.p.Y);
						Bio.ImageView.SelectedImage.Annotations.Add(an);
						Bio.Scripting.LogLine(cord.ToString() + " Coordinate");
						an.Text = "Point" + ind;
						ind++;
						Bio.Scripting.LogLine(s.ToString() + " Point");
						//ImageView.viewer.UpdateOverlay();
					}
					else
					if (s.type == Bio.Scripting.Event.Up)
					{
						Bio.Scripting.LogLine(s.ToString());
					}
					else
					if (s.type == Bio.Scripting.Event.Move)
					{
						Bio.Scripting.LogLine(s.ToString());
					}
					s.processed = true;
				}
			}
		} while (true);
		return "OK";
	}
}
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible. 
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
4.2.0 116 8/1/2024
4.1.0 135 4/29/2024
4.0.1 129 4/21/2024
4.0.0 123 4/17/2024
3.9.1 198 3/6/2024
3.9.0 210 2/28/2024
3.8.0 240 2/20/2024
3.7.0 292 2/9/2024
3.6.0 645 1/5/2024
3.5.0.1 384 12/24/2023
3.5.0 403 12/23/2023 3.5.0 is deprecated because it has critical bugs.
3.4.0 492 11/2/2023
3.3.0 910 10/26/2023
3.2.4 1,345 8/22/2023
3.2.3 1,532 8/2/2023
3.2.2 1,519 7/8/2023
3.2.0 1,557 6/29/2023
3.1.0 1,629 5/15/2023
3.0.2 1,474 4/3/2023
3.0.1 1,548 4/1/2023
3.0.0 1,568 3/17/2023
2.9.1 707 3/7/2023
2.9.0 729 2/15/2023
2.7.8 784 12/12/2022
2.7.7.2 761 12/8/2022
2.7.7.1 759 12/8/2022
2.7.7 808 12/6/2022
2.7.6 767 12/5/2022
2.7.5 831 12/4/2022

New ImageJ.NET (ij154) integration, support for more pixel formats, and improved script recording.