BioGTK
5.1.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images.
|
Public Types | |
enum | ViewMode { Raw , Filtered , RGBImage , Emission } |
Public Member Functions | |
void | SetCoordinate (int z, int c, int t) |
ZCT | GetCoordinate () |
void | AddImage (BioImage im) |
SKImage | BitmapToSKImage (Bitmap bitmap) |
void | UpdateImages () |
It updates the images. | |
void | UpdateImage () |
It updates the image. | |
void | UpdateGUI () |
It updates the GUI to reflect the current state of the image. | |
void | CopySelection () |
It takes the selected ROIs and copies them to the clipboard. | |
void | PasteSelection () |
int | LevelFromResolution (double Resolution) |
void | UpdateStatus () |
It updates the status of the user. | |
void | UpdateView () |
It updates the view. | |
double | GetScale () |
List< ROI > | GetSelectedROIs () |
PointD | ImageToViewSpace (double x, double y) |
RectangleD | ToViewSpace (RectangleD p) |
PointF | ToViewSpace (Point p) |
PointF | ToViewSpace (PointF p) |
PointD | ToViewSpace (PointD p) |
PointD | ToViewSpace (double x, double y) |
RectangleD | ToViewSpace (double x, double y, double w, double h) |
double | ToViewSizeH (double d) |
double | ToViewW (double d) |
double | ToViewH (double d) |
PointD | ToScreenSpace (double x, double y) |
PointD | ToScreenSpace (PointD p) |
PointF | ToScreenSpace (PointF p) |
PointF[] | ToScreenSpace (PointF[] p) |
PointF | ToScreenSpace (Point3D p) |
double | ToScreenScaleW (double x) |
double | ToScreenScaleH (double y) |
PointF | ToScreenScale (PointD p) |
RectangleD | ToScreenRectF (double x, double y, double w, double h) |
SKRect | ToScreenSpaceSK (double x, double y, double w, double h) |
RectangleD | ToScreenSpace (RectangleD p) |
RectangleD[] | ToScreenSpace (RectangleD[] p) |
PointF[] | ToScreenSpace (PointD[] p) |
void | GoToImage () |
This function is used to go to the image at the specified index. | |
void | GoToImage (int i) |
Static Public Member Functions | |
static ImageView | Create (BioImage bm) |
static Cairo.Color | FromColor (Color color) |
Public Attributes | |
List< BioImage > | Images = new List<BioImage>() |
List< Bitmap > | Bitmaps = new List<Bitmap>() |
List< SKImage > | SkImages = new List<SKImage>() |
Gtk.Box | mainBox |
Menu | contextMenu |
bool | showRROIs = true |
bool | showGROIs = true |
bool | showBROIs = true |
Static Public Attributes | |
static List< ROI > | selectedAnnotations = new List<ROI>() |
static int | waitz = 1000 |
static int | waitc = 1000 |
static int | waitt = 1000 |
static int | startz = 0 |
static int | startc = 0 |
static int | startt = 0 |
static int | endz = 0 |
static int | endc = 0 |
static int | endt = 0 |
static Gdk.Key | keyDown = Gdk.Key.Key_3270_Test |
static bool | x1State |
static bool | x2State |
static bool | mouseLeftState |
static ModifierType | Modifiers |
static PointD | mouseDown |
static PointD | mouseUp |
Protected Member Functions | |
ImageView (Builder builder, IntPtr handle, BioImage im) | |
void | SetupHandlers () |
Sets up the handlers. | |
Properties | |
double | PxWmicron [get, set] |
double | PxHmicron [get, set] |
bool | AllowNavigation [get, set] |
static AForge.Bitmap | SelectedBuffer [get] |
int | SelectedIndex [get, set] |
bool | ShowOverview [get, set] |
int? | MacroResolution [get] |
int? | LabelResolution [get] |
bool | OpenSlide [get, set] |
static BioImage | SelectedImage [get, set] |
ViewMode | Mode [get, set] |
Channel | RChannel [get] |
Channel | GChannel [get] |
Channel | BChannel [get] |
PointD | Origin [get, set] |
PointD | TopRightOrigin [get] |
PointD | PyramidalOriginTransformed [get, set] |
PointD | PyramidalOrigin [get, set] |
double | Resolution [get, set] |
int | Level [get] |
SizeF | Scale [get, set] |
PointD | MouseDownInt [get, set] |
PointD | MouseMoveInt [get, set] |
PointD | MouseDown [get, set] |
PointD | MouseMove [get, set] |
|
inlineprotected |
|
inline |
It adds an image to the list of images, and then updates the GUI and the images
BioImage | a class that contains the image data and metadata |
|
inline |
|
inline |
It takes the selected ROIs and copies them to the clipboard.
The function creates an ImageView object using a BioImage object and returns it.
BioImage | The BioImage parameter is an object that represents an image in a biological context. It likely contains information about the image file, such as the filename, and possibly additional metadata related to the image. |
|
inlinestatic |
It takes a System.Drawing.Color and returns a Cairo.Color
Color | The color to convert |
|
inline |
It returns the coordinate of the selected image
|
inline |
|
inline |
|
inline |
This function is used to go to the image at the specified index.
|
inline |
It takes an image index and sets the origin and physical size of the image to the values of the image at that index
i | the index of the image in the list |
|
inline |
It takes a point in the image space and returns the point in the view space
x | the x coordinate of the point in the image |
y | the y coordinate of the point in the image |
|
inline |
|
inline |
The function takes the text from the clipboard and splits it into lines. Each line is then converted into an ROI object and added to the list of annotations
|
inline |
|
inlineprotected |
Sets up the handlers.
|
inline |
The function converts a set of coordinates and dimensions from a mathematical coordinate system to a screen coordinate system and returns a rectangle with the converted values.
x | The x-coordinate of the rectangle's top-left corner in world space. |
y | The parameter "y" represents the y-coordinate of the top-left corner of the rectangle in the coordinate system of the screen. |
w | The width of the rectangle in world space. |
h | The parameter "h" represents the height of the rectangle. |
|
inline |
The function takes a PointD object and returns a PointF object with the coordinates scaled to the screen.
PointD | PointD is a custom data type that represents a point in a two-dimensional space. It consists of two double values, X and Y, which represent the coordinates of the point. |
|
inline |
The function converts a given value to screen scale height based on the selected image's properties.
y | The parameter "y" represents the vertical coordinate value that needs to be converted to screen scale. |
|
inline |
The function converts a given value to screen scale width based on the selected image's properties.
x | The parameter "x" represents a value that needs to be converted to screen scale width. |
|
inline |
The function converts coordinates from a Cartesian plane to screen space.
x | The x-coordinate of the point in the coordinate system. |
y | The parameter "y" represents the y-coordinate of a point in a coordinate system. |
|
inline |
The function converts a 3D point to screen space and returns it as a PointF object.
Point3D | The Point3D parameter represents a point in a three-dimensional space. It typically consists of three coordinates: X, Y, and Z. |
|
inline |
The function converts a point from a coordinate system to screen space.
PointD | The PointD class represents a point in a two-dimensional space. It typically has two properties, X and Y, which represent the coordinates of the point. |
|
inline |
The function takes an array of PointD objects and converts them to an array of PointF objects in screen space.
p | An array of PointD objects representing points in some coordinate system. |
The function converts a PointF object from world space to screen space.
PointF | PointF is a structure in C# that represents a point in a two-dimensional space. It consists of two float values, X and Y, which represent the coordinates of the point. |
The function takes an array of PointF objects and converts them to screen space coordinates.
p | An array of PointF objects representing points in some coordinate system. |
|
inline |
The function converts a RectangleD object to screen space.
RectangleD | The RectangleD is a custom data type that represents a rectangle in 2D space. It typically has four properties: X (the x-coordinate of the top-left corner), Y (the y-coordinate of the top-left corner), W (the width of the rectangle), and H (the height of |
|
inline |
The function takes an array of RectangleD objects and converts them to screen space.
p | An array of RectangleD objects representing rectangles in some coordinate space. |
|
inline |
The function converts a set of coordinates and dimensions from a mathematical coordinate system to a screen coordinate system and returns a rectangle with the converted values.
x | The x-coordinate of the rectangle's top-left corner in world space. |
y | The parameter "y" represents the y-coordinate of the top-left corner of the rectangle in the coordinate system of the screen. |
w | The width of the rectangle in world space. |
h | The parameter "h" represents the height of the rectangle. |
|
inline |
The function converts a given value from a specific unit to a view height value.
d | The parameter "d" represents a value that needs to be converted to a different unit of measurement. |
|
inline |
The function converts a given value to a view size in the horizontal direction.
d | The parameter "d" represents a value that needs to be converted to a view size. |
|
inline |
The function converts coordinates from a given space to view space.
x | The x-coordinate in the original coordinate system. |
y | The parameter "y" represents the y-coordinate in the original coordinate system. |
|
inline |
The function converts coordinates and sizes from a given space to a view space.
x | The x-coordinate of the rectangle's top-left corner in world space. |
y | The parameter "y" represents the y-coordinate of the rectangle in the original coordinate space. |
w | The width of the rectangle in world space. |
h | The parameter "h" represents the height of the rectangle in the original coordinate space. |
The function converts a Point object to PointF object in view space.
Point | The Point class represents an ordered pair of integer x and y coordinates that define a point in a two-dimensional plane. |
|
inline |
The function converts a point from a coordinate system to view space.
PointD | The PointD class represents a point in a two-dimensional space. It typically has two properties: X and Y, which represent the coordinates of the point. |
The function converts a PointF object from world space to view space.
PointF | PointF is a structure in C# that represents a point in a two-dimensional space. It consists of two float values, X and Y, which represent the coordinates of the point. |
|
inline |
The function converts a rectangle from world space to view space.
RectangleD | The RectangleD is a custom data type that represents a rectangle in 2D space. It has four properties: X (the x-coordinate of the top-left corner), Y (the y-coordinate of the top-left corner), W (the width of the rectangle), and H (the height of the |
|
inline |
The function converts a given value from microns to view width units, taking into account the scale and whether the image is pyramidal.
d | The parameter "d" represents a value that needs to be converted to a view width. |
|
inline |
It updates the GUI to reflect the current state of the image.
|
inline |
It updates the image.
|
inline |
It updates the images.
|
inline |
It updates the status of the user.
|
inline |
It updates the view.
Menu BioGTK.ImageView.contextMenu |
|
static |
|
static |
|
static |
|
static |
Gtk.Box BioGTK.ImageView.mainBox |
|
static |
|
static |
|
static |
|
static |
bool BioGTK.ImageView.showBROIs = true |
bool BioGTK.ImageView.showGROIs = true |
bool BioGTK.ImageView.showRROIs = true |
List<SKImage> BioGTK.ImageView.SkImages = new List<SKImage>() |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
staticget |
|
staticgetset |
|
getset |
|
getset |
|
get |