BioGTK  5.1.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images.
Loading...
Searching...
No Matches
Bio.SliceInfo Class Reference

Slice info. More...

Public Member Functions

 SliceInfo ()
 
 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]

Bio.SliceInfo.SliceInfo ( )
inline
426{ }

◆ SliceInfo() [2/2]

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

Create a world extent by pixel and resolution.

Parameters
xPixelpixel x
yPixelpixel y
widthPixelpixel width
heightPixelpixel height
unitsPerPixelum/pixel
437 {
438 Extent = new Extent(xPixel, yPixel, xPixel + widthPixel,yPixel + heightPixel).PixelToWorldInvertedY(unitsPerPixel);
439 Resolution = unitsPerPixel;
440 }
Extent Extent
World extent.
Definition ISlideSource.cs:459
Definition Bio.cs:181

Property Documentation

◆ Coordinate

ZCT Bio.SliceInfo.Coordinate
getset

ZCT Coordinate.

453{ get; set; }

◆ Extent

Extent Bio.SliceInfo.Extent
getset

World extent.

459 {
460 get;
461 set;
462 }

◆ Parame

SliceParame Bio.SliceInfo.Parame = new SliceParame()
getset
464 {
465 get;
466 set;
467 } = new SliceParame();

◆ Resolution

double Bio.SliceInfo.Resolution = 1
getset

um/pixel

446 {
447 get;
448 set;
449 } = 1;

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