BioGTK  5.7.0
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
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]
 

Detailed Description

Definition at line 48 of file QuPath.cs.

Member Function Documentation

◆ FromROI()

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

Definition at line 59 of file QuPath.cs.

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

Definition at line 57 of file QuPath.cs.

57{ get; set; }

◆ plane

GeoJsonPlane BioGTK.QuPath.GeoJsonPoint.plane
getset

Definition at line 58 of file QuPath.cs.

58{ get; set; }

◆ type

string BioGTK.QuPath.GeoJsonPoint.type
getset

Definition at line 56 of file QuPath.cs.

56{ get; set; }

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