BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
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. More...
 

Detailed Description

Definition at line 19 of file SlideImager.cs.

Constructor & Destructor Documentation

◆ SlideImager()

BioImager.SlideImager.SlideImager ( )

Definition at line 256 of file SlideImager.cs.

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

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 27 of file SlideImager.cs.

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

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