BioImager  4.9.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.
Loading...
Searching...
No Matches
BioImager.SlideImager Class Reference
Inheritance diagram for BioImager.SlideImager:

Classes

class  BaseLevel
 
class  Level
 

Static Public Member Functions

static PointD ToImageSpace (PointD p, PointD stage, double physX, double physY)
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.
 

Detailed Description

Definition at line 3 of file SlideImager.Designer.cs.

Constructor & Destructor Documentation

◆ SlideImager()

BioImager.SlideImager.SlideImager ( )

Definition at line 254 of file SlideImager.cs.

255 {
256 InitializeComponent();
257 foreach (Objectives.Objective o in Microscope.Objectives.List)
258 {
259 objBox.Items.Add(o);
260 }
261 foreach (Enums.ForeignTiffCompression o in (Enums.ForeignTiffCompression[])Enum.GetValues(typeof(Enums.ForeignTiffCompression)))
262 {
263 compBox.Items.Add(o);
264 }
265 }

Member Function Documentation

◆ Dispose()

override void BioImager.SlideImager.Dispose ( bool disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 14 of file SlideImager.Designer.cs.

15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }

◆ ToImageSpace()

static PointD BioImager.SlideImager.ToImageSpace ( PointD p,
PointD stage,
double physX,
double physY )
static

Convert a point in the stage coordinate system to a point in the image coordinate system

Parameters
PointD
Returns
A PointF object.

Definition at line 25 of file SlideImager.cs.

26 {
27 PointD pp = new PointD();
28 pp.X = (float)((p.X - stage.X) / physX);
29 pp.Y = (float)((p.Y - stage.Y) / physY);
30 return pp;
31 }

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