BioCore  4.0.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
All Classes Namespaces Functions Enumerations Properties
BioCore.ImageJ Class Reference

Classes

class  Macro
 
class  RoiDecoder
 
class  RoiEncoder
 

Static Public Member Functions

static void RunMacro (string file, string param)
 
static void RunString (string con, string param, bool headless)
 
static void RunOnImage (string con, bool headless, bool onTab, bool bioformats, bool newTab)
 
static bool Initialize (bool imagej)
 
static bool SetImageJPath ()
 

Static Public Attributes

static List< Macro.CommandMacros = new List<Macro.Command>()
 
static string ImageJPath
 
static List< Process > processes = new List<Process>()
 

Properties

static bool Initialized [get]
 

Detailed Description

Definition at line 13 of file ImageJ.cs.

Member Function Documentation

◆ Initialize()

static bool BioCore.ImageJ.Initialize ( bool  imagej)
static

This function is used to initialize the path of the ImageJ.exe file

Parameters
pathThe path to the ImageJ executable.

Definition at line 243 of file ImageJ.cs.

◆ RunMacro()

static void BioCore.ImageJ.RunMacro ( string  file,
string  param 
)
static

It runs a macro in ImageJ

Parameters
filethe path to the macro file
param
Returns
The macro is being returned.

Definition at line 111 of file ImageJ.cs.

◆ RunOnImage()

static void BioCore.ImageJ.RunOnImage ( string  con,
bool  headless,
bool  onTab,
bool  bioformats,
bool  newTab 
)
static

It runs a macro on the selected image, saves the result as a new image, and then opens the new image in a new tab

Parameters
conThe ImageJ macro to run.
headlessWhether to run ImageJ in headless mode.
onTabIf true, the image will be opened in a new tab. If false, the image will be opened in the current tab.
bioformatsIf the image is a bioformats image, it will use the bioformats importer to open the image.
Returns
The return value is the result of the last statement in the script.

Definition at line 185 of file ImageJ.cs.

◆ RunString()

static void BioCore.ImageJ.RunString ( string  con,
string  param,
bool  headless 
)
static

It runs a macro in ImageJ

Parameters
conThe macro code
paramThe parameters to pass to the macro.
headlesswhether or not to run ImageJ in headless mode
Returns
The macro is returning a string.

Definition at line 133 of file ImageJ.cs.

◆ SetImageJPath()

static bool BioCore.ImageJ.SetImageJPath ( )
static

If the ImageJ path is not set, prompt the user to set it

Returns
The return value is a boolean.

Definition at line 261 of file ImageJ.cs.

Member Data Documentation

◆ ImageJPath

string BioCore.ImageJ.ImageJPath
static

Definition at line 100 of file ImageJ.cs.

◆ Macros

List<Macro.Command> BioCore.ImageJ.Macros = new List<Macro.Command>()
static

Definition at line 99 of file ImageJ.cs.

◆ processes

List<Process> BioCore.ImageJ.processes = new List<Process>()
static

Definition at line 101 of file ImageJ.cs.

Property Documentation

◆ Initialized

bool BioCore.ImageJ.Initialized
staticget

Definition at line 104 of file ImageJ.cs.


The documentation for this class was generated from the following file: