![]() |
BioGTK
5.1.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images.
|
Classes | |
| class | Mask |
| Represents a Mask layer. More... | |
Public Types | |
| enum | Type { Rectangle , Point , Line , Polygon , Polyline , Freeform , Ellipse , Label , Mask } |
| enum | CoordinateSystem { pixel , micron } |
Public Member Functions | |
| ROI | Copy () |
| ROI | Copy (ZCT cord) |
| RectangleD | GetSelectBound (double scaleX, double scaleY) |
| ROI () | |
| RectangleD[] | GetSelectBoxes (double s) |
| void | UpdatePoint (PointD p, int i) |
| PointD | GetPoint (int i) |
| PointD[] | GetPoints () |
| PointF[] | GetPointsF () |
| void | AddPoint (PointD p) |
| void | AddPoints (PointD[] p) |
| void | AddPoints (int[] xp, int[] yp) |
| void | AddPoints (float[] xp, float[] yp) |
| void | RemovePoints (int[] indexs) |
| void | ClearPoints () |
| int | GetPointCount () |
| PointD[] | stringToPoints (string s) |
| string | PointsToString (BioImage b) |
| void | UpdateBoundingBox () |
| void | Dispose () |
| override string | ToString () |
Static Public Member Functions | |
| static ROI | CreatePoint (ZCT coord, double x, double y) |
| static ROI | CreateLine (ZCT coord, PointD x1, PointD x2) |
| static ROI | CreateRectangle (ZCT coord, double x, double y, double w, double h) |
| static ROI | CreateEllipse (ZCT coord, double x, double y, double w, double h) |
| static ROI | CreatePolygon (ZCT coord, PointD[] pts) |
| static ROI | CreateFreeform (ZCT coord, PointD[] pts) |
| static ROI | CreateMask (ZCT coord, float[] mask, int width, int height, PointD loc, double physicalX, double physicalY) |
| static ROI | CreateMask (ZCT coord, byte[] mask, int width, int height, PointD loc, double physicalX, double physicalY) |
Public Attributes | |
| Type | type |
| List< int > | selectedPoints = new List<int>() |
| RectangleD | BoundingBox |
| float | fontSize = 12 |
| Cairo.FontSlant | slant |
| Cairo.FontWeight | weight |
| string | family = "Times New Roman" |
| ZCT | coord |
| Color | strokeColor |
| Color | fillColor |
| bool | isFilled = false |
| string | id = "" |
| string | roiID = "" |
| string | roiName = "" |
| string | properties = "" |
| int | serie = 0 |
| double | strokeWidth = 1 |
| int | shapeIndex = 0 |
| bool | closed = false |
| bool | subPixel = false |
Static Public Attributes | |
| static float | selectBoxSize = 8f |
Properties | |
| PointD | Point [get, set] |
| RectangleD | Rect [get, set] |
| double | X [get, set] |
| double | Y [get, set] |
| double | W [get, set] |
| double | H [get, set] |
| int | Resolution [get, set] |
| List< PointD > | PointsD [get] |
| PointD[] | PointsImage [get] |
| bool | Selected [get, set] |
| Mask | roiMask [get, set] |
| string | Text [get, set] |
| enum BioGTK.ROI.Type |
|
inline |
|
inline |
Adds a point to the list of points and updates the bounding box
| PointD |
|
inline |
Adds a range of float points to the Points collection and updates the bounding box
| p | The points to add to the polygon |
|
inline |
Adds a range of integer points to the Points collection and updates the bounding box
| p | The points to add to the polygon |
|
inline |
Adds a range of points to the Points collection and updates the bounding box
| p | The points to add to the polygon |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Create an ellipse ROI at the specified ZCT coordinate with the specified width and height
| ZCT | The ZCT coordinates of the image you want to create the ROI on. |
| x | x-coordinate of the top-left corner of the rectangle |
| y | The y-coordinate of the upper-left corner of the rectangle to create. |
| w | width |
| h | height |
|
inlinestatic |
Create a new ROI object of type Freeform, with the specified ZCT coordinate and points
| ZCT | A class that contains the Z, C, and T coordinates of the ROI. |
| pts | an array of PointD objects, which are just a pair of doubles (x,y) |
|
inlinestatic |
Create a new ROI object, set its type to Line, add two points to it, and return it
| ZCT | Z is the Z-axis, C is the color channel, and T is the time frame. |
| PointD | X,Y |
| PointD | X,Y |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Create a new ROI object, add a point to it, and return it
| ZCT | a class that contains the Z, C, and T coordinates of the image. |
| x | x coordinate of the point |
| y | The y coordinate of the point |
|
inlinestatic |
Create a new ROI object of type Polygon, with the given coordinate system and points
| ZCT | The ZCT coordinate of the ROI. |
| pts | an array of PointD objects, which are just a pair of doubles (x,y) |
|
inlinestatic |
Create a new ROI object with a rectangle shape, and add a line to the recorder
| ZCT | The ZCT coordinates of the image you want to create the ROI on. |
| x | x coordinate of the top left corner of the rectangle |
| y | y-coordinate of the top-left corner of the rectangle |
| w | width |
| h | height |
|
inline |
|
inline |
This function returns the point at the specified index
| i | The index of the point to get. |
|
inline |
This function returns the number of points in the polygon
|
inline |
It returns an array of PointD objects
|
inline |
|
inline |
This function returns a rectangle that is the bounding box of the object, but with a
border of half the scale
| scale | the scale of the image |
|
inline |
It returns an array of RectangleF objects that are used to draw the selection boxes around the points of the polygon
| s | the size of the select box |
|
inline |
This function takes a BioImage object and returns a string of the points in the image space
| BioImage | The image that the ROI is on |
|
inline |
It removes points from a list of points based on an array of indexes
| indexs | an array of integers that represent the indexes of the points to be removed |
|
inline |
It takes a string of points and returns an array of points
| s | The string to convert to points. |
|
inline |
|
inline |
It takes a list of points and returns a rectangle that contains all of the points
|
inline |
This function updates the point at the specified index
| PointD | A class that contains an X and Y coordinate. |
| i | The index of the point to update |
| RectangleD BioGTK.ROI.BoundingBox |
| bool BioGTK.ROI.closed = false |
| ZCT BioGTK.ROI.coord |
| string BioGTK.ROI.family = "Times New Roman" |
| Color BioGTK.ROI.fillColor |
| float BioGTK.ROI.fontSize = 12 |
| string BioGTK.ROI.id = "" |
| bool BioGTK.ROI.isFilled = false |
| string BioGTK.ROI.properties = "" |
| string BioGTK.ROI.roiID = "" |
| string BioGTK.ROI.roiName = "" |
|
static |
| List<int> BioGTK.ROI.selectedPoints = new List<int>() |
| int BioGTK.ROI.serie = 0 |
| int BioGTK.ROI.shapeIndex = 0 |
| Cairo.FontSlant BioGTK.ROI.slant |
| Color BioGTK.ROI.strokeColor |
| double BioGTK.ROI.strokeWidth = 1 |
| bool BioGTK.ROI.subPixel = false |
| Type BioGTK.ROI.type |
| Cairo.FontWeight BioGTK.ROI.weight |
|
getset |
|
getset |
|
get |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |