BioLib  3.7.0
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.

Constructor & Destructor Documentation

◆ SliceInfo() [1/2]

BioLib.SliceInfo.SliceInfo ( )
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
464 {
465 Extent = new Extent(xPixel, yPixel, xPixel + widthPixel,yPixel + heightPixel).PixelToWorldInvertedY(unitsPerPixel);
466 Resolution = unitsPerPixel;
467 Coordinate = coord;
468 }
Extent Extent
World extent.
Definition ISlideSource.cs:487
ZCT Coordinate
ZCT Coordinate.
Definition ISlideSource.cs:481
double Resolution
um/pixel
Definition ISlideSource.cs:474

Property Documentation

◆ Coordinate

ZCT BioLib.SliceInfo.Coordinate
getset

ZCT Coordinate.

481{ get; set; }

◆ Extent

Extent BioLib.SliceInfo.Extent
getset

World extent.

487 {
488 get;
489 set;
490 }

◆ Parame

SliceParame BioLib.SliceInfo.Parame = new SliceParame()
getset
492 {
493 get;
494 set;
495 } = new SliceParame();

◆ Resolution

double BioLib.SliceInfo.Resolution = 1
getset

um/pixel

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

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