![]() |
BioImager
5.0.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
|
Public Types | |
| enum | Actions { StageUp , StageRight , StageDown , StageLeft , StageFieldUp , StageFieldRight , StageFieldDown , StageFieldLeft , FocusUp , FocusDown , TL , RL , TakeImage , TakeImageStack , Acquisition , Locate } |
Static Public Member Functions | |
| static void | Initialize () |
| static void | CalibrateXYZ (int calibMode) |
| static Point3D | GetPosition () |
| static void | SetPosition (Point3D p) |
| static void | SetPosition (PointD p) |
| static void | OpenRL () |
| If the shutter is closed, open it. | |
| static void | OpenTL () |
| If the shutter is closed, open it. | |
| static void | CloseRL () |
| If the shutter is open, then close it. | |
| static void | CloseTL () |
| If the shutter is open, then we close it. | |
| static void | SetTL (uint tl) |
| static void | SetRL (uint tr) |
| static int | GetTL () |
| static int | GetRL () |
| static int | GetShutterPosition (string shutter) |
| Gets the current position of a named shutter. | |
| static void | SetShutterPosition (string shutter, int state) |
| Sets the current position of a named shutter. | |
| static void | MoveUp (double d) |
| static void | MoveRight (double d) |
| static void | MoveDown (double d) |
| static void | MoveLeft (double d) |
| static void | MoveFieldUp () |
| Move the field up by the height of the view. | |
| static void | MoveFieldRight () |
| Move the field right by the width of the view. | |
| static void | MoveFieldDown () |
| Move the field down by one unit. | |
| static void | MoveFieldLeft () |
| Move the field left by the width of the viewport. | |
| static void | SetFocus (double d) |
| static double | GetFocus () |
| static string | GetFolder () |
| static void | SetFolder (string fol) |
| static BioImage | TakeImage () |
| static BioImage | TakeImage (bool save, bool addToImages, bool newTab) |
| static BioImage | TakeImageStack () |
| static void | Watcher () |
| the textbox, sets the watcher's path to that folder, and enables the watcher. | |
| static BioImage | TakeImageStack (double UpperLimit, double LowerLimit, double interval) |
| static BioImage[] | TakeTiles (int width, int height, bool save=true, bool addToImages=true, bool newTab=false) |
| static RectangleD | GetObjectiveViewRectangle () |
| static RectangleD | GetViewRectangle (bool update) |
| static void | Close () |
Static Public Attributes | |
| static bool | redraw = false |
| static Focus | Focus = null |
| static Stage | Stage = null |
| static Objectives | Objectives = null |
| static TLShutter | TLShutter = null |
| static RLShutter | RLShutter = null |
| static HXPShutter | HXPShutter = null |
| static LightSource | TLHalogen = null |
| static LightSource | RLHalogen = null |
| static LightSource | HXP = null |
| static FilterWheel | TLFilterWheel = null |
| static FilterWheel | RLFilterWheel = null |
| static FilterWheel | FilterWheel = new FilterWheel() |
| static double | UpperLimit |
| static double | LowerLimit |
| static double | fInterVal |
| static object | CmdSetMode = null |
| static bool | initialized = false |
| static bool | ArrowKeysEnabled = true |
| static Point3D | defaultPos = new Point3D(30000, 30000, 23900) |
| static object | root = null |
| static StringBuilder | dllVersion = new StringBuilder() |
| static SDK | sdk |
| static int | sessionID = -1 |
| static string | userRx = "" |
| static PointD | viewSize |
| static PMicroscope | pMicroscope = null |
| static int | ImageCount = 0 |
Properties | |
| static Objectives.Objective | Objective [get] |
Definition at line 786 of file Microscope.cs.
| Enumerator | |
|---|---|
| StageUp | |
| StageRight | |
| StageDown | |
| StageLeft | |
| StageFieldUp | |
| StageFieldRight | |
| StageFieldDown | |
| StageFieldLeft | |
| FocusUp | |
| FocusDown | |
| TL | |
| RL | |
| TakeImage | |
| TakeImageStack | |
| Acquisition | |
| Locate | |
Definition at line 789 of file Microscope.cs.
|
static |
It checks to see if the stage and focus are calibrated on the lower limit and if not, it calibrates them
| calibMode | "OnLowerLimit" |
Definition at line 994 of file Microscope.cs.
|
static |
Definition at line 1596 of file Microscope.cs.
|
static |
If the shutter is open, then close it.
Definition at line 1058 of file Microscope.cs.
|
static |
If the shutter is open, then we close it.
Definition at line 1066 of file Microscope.cs.
|
static |
It returns the current focus of the z-axis.
Definition at line 1184 of file Microscope.cs.
|
static |
If the folder is not set, prompt the user to select a folder. If the user selects a folder, set the folder to the selected folder. If the user does not select a folder, return null. If the folder is set, return the folder.
Definition at line 1195 of file Microscope.cs.
|
static |
It returns a rectangle that represents the viewable area of the current objective
Definition at line 1563 of file Microscope.cs.
|
static |
Get the current stage position and focus position, and return a Point3D object containing the stage position and focus position
Definition at line 1014 of file Microscope.cs.
|
static |
GetRL() returns the position of the RLShutter object.
Definition at line 1100 of file Microscope.cs.
|
static |
Gets the current position of a named shutter.
| shutter | Name of the shutter. |
Definition at line 1109 of file Microscope.cs.
|
static |
It returns the position of the TLShutter object
Definition at line 1092 of file Microscope.cs.
|
static |
If the microscope is in PMicroscope mode, return the PMicroscope rectangle, otherwise return the stage rectangle
| update | Boolean value that determines whether the view rectangle should be updated or not. |
Definition at line 1576 of file Microscope.cs.
|
static |
The function initializes the microscope and the imaging library
Definition at line 847 of file Microscope.cs.
|
static |
Move the stage down by the specified amount
| d | The distance to move the stage down. |
Definition at line 1141 of file Microscope.cs.
|
static |
Move the field down by one unit.
Definition at line 1164 of file Microscope.cs.
|
static |
Move the field left by the width of the viewport.
Definition at line 1169 of file Microscope.cs.
|
static |
Move the field right by the width of the view.
Definition at line 1159 of file Microscope.cs.
|
static |
Move the field up by the height of the view.
Definition at line 1154 of file Microscope.cs.
|
static |
Move the stage left by the specified distance
| d | The distance to move the stage in mm. |
Definition at line 1149 of file Microscope.cs.
|
static |
MoveRight(double d) moves the stage right by d
| d | The distance to move the stage in millimeters. |
Definition at line 1133 of file Microscope.cs.
|
static |
Move the stage up by a distance of d
| d | The distance to move the stage up. |
Definition at line 1125 of file Microscope.cs.
|
static |
If the shutter is closed, open it.
Definition at line 1041 of file Microscope.cs.
|
static |
If the shutter is closed, open it.
Definition at line 1050 of file Microscope.cs.
|
static |
The function
SetFocusis a static function that takes a double as a parameter and calls the static functionSetFocuson the classFocuswith the parameterd
| d | The double value to set the focus to. |
Definition at line 1177 of file Microscope.cs.
|
static |
If the folder doesn't exist, create it. If the property exists, set it. Set the folder variable to the folder. Set the ImagingPath property to the folder. Save the settings
| fol | the folder to save the images to |
Definition at line 1227 of file Microscope.cs.
|
static |
It sets the position of the stage and focus to the values in the Point3D object
| Point3D | a class that contains 3 doubles, X, Y, and Z. |
Definition at line 1025 of file Microscope.cs.
|
static |
SetPosition(PointD p) sets the position of the stage to the PointD p
| PointD | a class that contains an X and Y coordinate |
Definition at line 1035 of file Microscope.cs.
|
static |
Set the position of the RLShutter to the value of tr
| tr | The position of the shutter. |
Definition at line 1084 of file Microscope.cs.
|
static |
Sets the current position of a named shutter.
| shutter | Name of the shutter. |
Definition at line 1118 of file Microscope.cs.
|
static |
This function sets the position of the TL shutter to the value of the variable tl
| tl | the position of the shutter |
Definition at line 1076 of file Microscope.cs.
|
static |
It takes an image from the camera and saves it to a file
Definition at line 1241 of file Microscope.cs.
|
static |
Definition at line 1246 of file Microscope.cs.
|
static |
This function takes a stack of images from the camera and returns a BioImage object
Definition at line 1375 of file Microscope.cs.
|
static |
It takes an image stack from the microscope and adds it to the viewer.
The function is called from the main thread and it's purpose is to take an image stack from the microscope and add it to the viewer.
| UpperLimit | The upper limit of the stack |
| LowerLimit | The lowest focus position |
| interval | The interval between each image. |
Definition at line 1447 of file Microscope.cs.
|
static |
It takes a number of images in a grid pattern
| width | The number of tiles in the x direction |
| height | The number of fields to take in the y direction |
Definition at line 1510 of file Microscope.cs.
|
static |
the textbox, sets the watcher's path to that folder, and enables the watcher.
This function is called when the user clicks the "Start" button. It gets the folder path from
Definition at line 1382 of file Microscope.cs.
|
static |
Definition at line 824 of file Microscope.cs.
|
static |
Definition at line 822 of file Microscope.cs.
|
static |
Definition at line 825 of file Microscope.cs.
|
static |
Definition at line 827 of file Microscope.cs.
|
static |
Definition at line 820 of file Microscope.cs.
|
static |
Definition at line 821 of file Microscope.cs.
|
static |
Definition at line 809 of file Microscope.cs.
|
static |
Definition at line 817 of file Microscope.cs.
|
static |
Definition at line 814 of file Microscope.cs.
|
static |
Definition at line 834 of file Microscope.cs.
|
static |
Definition at line 823 of file Microscope.cs.
|
static |
Definition at line 821 of file Microscope.cs.
|
static |
Definition at line 811 of file Microscope.cs.
|
static |
Definition at line 832 of file Microscope.cs.
|
static |
Definition at line 808 of file Microscope.cs.
|
static |
Definition at line 819 of file Microscope.cs.
|
static |
Definition at line 816 of file Microscope.cs.
|
static |
Definition at line 813 of file Microscope.cs.
|
static |
Definition at line 826 of file Microscope.cs.
|
static |
Definition at line 828 of file Microscope.cs.
|
static |
Definition at line 829 of file Microscope.cs.
|
static |
Definition at line 810 of file Microscope.cs.
|
static |
Definition at line 818 of file Microscope.cs.
|
static |
Definition at line 815 of file Microscope.cs.
|
static |
Definition at line 812 of file Microscope.cs.
|
static |
Definition at line 821 of file Microscope.cs.
|
static |
Definition at line 830 of file Microscope.cs.
|
static |
Definition at line 831 of file Microscope.cs.
|
staticget |
Definition at line 836 of file Microscope.cs.