![]() |
BioLib
4.3.0
A GUI-less version of Bio .NET library for editing & annotating various microscopy image formats.
|
Static Public Member Functions | |
| static void | RunMacro (string file, string param) |
| The function "RunMacro" runs a macro file with specified parameters using the ImageJ software. | |
| static async void | RunString (BioImage b, string con, string param, bool headless) |
The function RunString executes an ImageJ macro script with the given parameters, either in headless mode or with a graphical interface. | |
| static void | RunOnImage (BioImage bi, string con, int index, bool headless, bool onTab, bool bioformats, bool resultInNewTab, string outputStem=null) |
| The function "RunOnImage" takes a BioImage object, a string of commands, an index, and several boolean parameters, and performs various operations on the image. | |
| static async Task< BioImage > | RunOnPyramidalImage (BioImage b, string con, int level, bool headless, bool onTab, bool bioformats, bool resultInNewTab, bool currentViewOnly=false) |
| Runs an ImageJ command on a pyramidal BioImage by processing the requested level as a single-resolution image for Fiji. | |
| static async Task< BioImage > | RunOnAllPyramidLevels (BioImage b, string con, bool headless, bool onTab, bool bioformats, bool resultInNewTab) |
| Runs an ImageJ command on every pyramid level and returns a single pyramidal BioImage assembled from the processed resolution levels. | |
| static void | RunOnImage (BioImage b, string con, bool headless, bool onTab, bool bioformats, bool resultInNewTab) |
| The function "RunOnImage" takes in a BioImage object, a string, and several boolean values as parameters and executes a specific action based on those parameters. | |
| static void | Initialize (string path) |
| The Initialize function sets the ImageJPath variable to the specified path. | |
| static bool | SetImageJPath (string? path) |
Static Public Attributes | |
| static List< Process > | processes = new List<Process>() |
Properties | |
| static string | ImageJPath [get, set] |
|
static |
The Initialize function sets the ImageJPath variable to the specified path.
| path | The path parameter is a string that represents the file path where the ImageJ software is located. |
|
static |
The function "RunMacro" runs a macro file with specified parameters using the ImageJ software.
| file | The "file" parameter is a string that represents the path to the macro file that you want to run. It should include the file extension (e.g., ".ijm" for ImageJ macro files). |
| param | The "param" parameter is a string that represents the additional parameters or arguments that you want to pass to the macro file specified by the "file" parameter. These parameters can be used by the macro file to modify its behavior or perform specific actions. |
|
static |
Runs an ImageJ command on every pyramid level and returns a single pyramidal BioImage assembled from the processed resolution levels.
|
static |
The function "RunOnImage" takes in a BioImage object, a string, and several boolean values as parameters and executes a specific action based on those parameters.
| BioImage | The BioImage parameter is an object that represents an image in a bioinformatics context. It likely contains information about the image, such as its dimensions, pixel values, and metadata. |
| con | The "con" parameter is a string that represents the command to be executed on the image. It could be any valid ImageJ command or macro. |
| headless | The "headless" parameter is a boolean value that determines whether the image processing operation should be performed in headless mode. Headless mode means that the operation will be performed without any graphical user interface (GUI) being displayed. |
| onTab | The "onTab" parameter determines whether the image processing should be performed on the current active tab or on a new tab. If "onTab" is set to true, the processing will be performed on the current active tab. If "onTab" is set to false, a new tab will |
| bioformats | The "bioformats" parameter is a boolean value that determines whether to use the Bio-Formats plugin for opening the image. If set to true, the Bio-Formats plugin will be used to open the image, allowing for support of various file formats. If set to false, the default image opening |
| resultInNewTab | A boolean value indicating whether the result should be displayed in a new tab or not. |
|
static |
The function "RunOnImage" takes a BioImage object, a string of commands, an index, and several boolean parameters, and performs various operations on the image.
| BioImage | The BioImage object represents an image file. It contains information about the image file such as the file path, filename, and ID. |
| con | The "con" parameter is a string that represents the ImageJ macro code that you want to run on the image. It is passed as an argument to the "run" function in the ImageJ macro language. |
| index | The index parameter is used to specify the index of the image series to be processed. It is used when opening multi-series images, such as multi-channel or time-lapse images, where each series represents a different set of images. By specifying the index, you can select a specific series to be processed |
| headless | The "headless" parameter is a boolean value that determines whether the image processing should be performed in headless mode. Headless mode means that the processing is done without any user interface or graphical display. |
| onTab | The "onTab" parameter determines whether the image processing should be performed on the current tab or on a new tab. If it is set to true, the processing will be done on the current tab. If it is set to false, a new tab will be created for the processed image. |
| bioformats | A boolean flag indicating whether to use Bio-Formats for importing and exporting the image. If set to true, Bio-Formats will be used. If set to false, the image will be opened and saved using the default ImageJ functions. |
| resultInNewTab | A boolean value indicating whether the result should be displayed in a new tab or not. |
|
static |
The function RunString executes an ImageJ macro script with the given parameters, either in headless mode or with a graphical interface.
| con | The "con" parameter is a string that represents the content of a file. It will be written to a temporary file and used as input for the ImageJ macro. |
| param | The "param" parameter is a string that represents the additional arguments or parameters that you want to pass to the ImageJ application when running the macro. These arguments can be used to customize the behavior of the macro or provide input data to it. |
| headless | The "headless" parameter is a boolean value that determines whether the ImageJ process should run in headless mode or not. Headless mode means that the ImageJ interface will not be displayed, and the process will run in the background without any user interaction. If the "headless" parameter |
|
static |
This function creates a file chooser dialog that allows the user to select the location of the ImageJ executable
|
static |
|
staticgetset |