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

Classes

class  GeoJsonPlane
 

Static Public Member Functions

static GeoJsonPoint FromROI (BioLib.ROI roi, BioImage b)
 

Properties

string type [get, set]
 
double[] coordinates [get, set]
 
GeoJsonPlane plane [get, set]
 

Detailed Description

Definition at line 50 of file QuPath.cs.

Member Function Documentation

◆ FromROI()

static GeoJsonPoint BioLib.QuPath.GeoJsonPoint.FromROI ( BioLib.ROI roi,
BioImage b )
static

Definition at line 61 of file QuPath.cs.

62 {
63 GeoJsonPoint g = new GeoJsonPoint();
64 PointD p = b.ToImageSpace(roi.PointsD[0]);
65 g.coordinates = new double[2] { p.X, p.Y };
66 g.type = "Point";
67 g.plane = new GeoJsonPlane();
68 g.plane.z = roi.coord.Z;
69 g.plane.c = roi.coord.C;
70 g.plane.t = roi.coord.T;
71 return g;
72 }

Property Documentation

◆ coordinates

double [] BioLib.QuPath.GeoJsonPoint.coordinates
getset

Definition at line 59 of file QuPath.cs.

59{ get; set; }

◆ plane

GeoJsonPlane BioLib.QuPath.GeoJsonPoint.plane
getset

Definition at line 60 of file QuPath.cs.

60{ get; set; }

◆ type

string BioLib.QuPath.GeoJsonPoint.type
getset

Definition at line 58 of file QuPath.cs.

58{ get; set; }

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