BioLib  3.6.2
A GUI-less version of Bio .NET library for editing & annotating various microscopy image formats.
Loading...
Searching...
No Matches
BioLib.SliceInfo Class Reference

Slice info. More...

Public Member Functions

 SliceInfo (double xPixel, double yPixel, double widthPixel, double heightPixel, double unitsPerPixel, ZCT coord)
 Create a world extent by pixel and resolution.
 

Properties

double Resolution = 1 [get, set]
 um/pixel
 
ZCT Coordinate [get, set]
 ZCT Coordinate.
 
Extent Extent [get, set]
 World extent.
 
SliceParame Parame = new SliceParame() [get, set]
 

Detailed Description

Slice info.

Definition at line 451 of file ISlideSource.cs.

Constructor & Destructor Documentation

◆ SliceInfo() [1/2]

BioLib.SliceInfo.SliceInfo ( )

Definition at line 453 of file ISlideSource.cs.

453{ }

◆ SliceInfo() [2/2]

BioLib.SliceInfo.SliceInfo ( double xPixel,
double yPixel,
double widthPixel,
double heightPixel,
double unitsPerPixel,
ZCT coord )

Create a world extent by pixel and resolution.

Parameters
xPixelpixel x
yPixelpixel y
widthPixelpixel width
heightPixelpixel height
unitsPerPixelum/pixel

Definition at line 463 of file ISlideSource.cs.

464 {
465 Extent = new Extent(xPixel, yPixel, xPixel + widthPixel,yPixel + heightPixel).PixelToWorldInvertedY(unitsPerPixel);
466 Resolution = unitsPerPixel;
467 Coordinate = coord;
468 }
Extent Extent
World extent.
ZCT Coordinate
ZCT Coordinate.
double Resolution
um/pixel

Property Documentation

◆ Coordinate

ZCT BioLib.SliceInfo.Coordinate
getset

ZCT Coordinate.

Definition at line 481 of file ISlideSource.cs.

481{ get; set; }

◆ Extent

Extent BioLib.SliceInfo.Extent
getset

World extent.

Definition at line 486 of file ISlideSource.cs.

487 {
488 get;
489 set;
490 }

◆ Parame

SliceParame BioLib.SliceInfo.Parame = new SliceParame()
getset

Definition at line 491 of file ISlideSource.cs.

492 {
493 get;
494 set;
495 } = new SliceParame();

◆ Resolution

double BioLib.SliceInfo.Resolution = 1
getset

um/pixel

Definition at line 473 of file ISlideSource.cs.

474 {
475 get;
476 set;
477 } = 1;

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