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

Classes

class  GeoJsonPlane
 

Static Public Member Functions

static GeoJsonPoint FromROI (ROI roi, BioImage b)
 

Properties

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

Member Function Documentation

◆ FromROI()

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

Property Documentation

◆ coordinates

double [] BioGTK.QuPath.GeoJsonPoint.coordinates
getset
57{ get; set; }

◆ plane

GeoJsonPlane BioGTK.QuPath.GeoJsonPoint.plane
getset
58{ get; set; }

◆ type

string BioGTK.QuPath.GeoJsonPoint.type
getset
56{ get; set; }

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