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

Public Member Functions

 RoiDecoder (string path)
 
 RoiDecoder (byte[] bytes, string name)
 
ROI getRoi (double physX, double physY, double volX, double volY)
 

Static Public Member Functions

static ROI open (string path, double physX, double physY, double volX, double volY)
 
static ROI openFromByteArray (byte[] bytes, double physX, double physY, double volX, double volY)
 

Static Public Attributes

static int VERSION_OFFSET = 4
 
static int TYPE = 6
 
static int TOP = 8
 
static int LEFT = 10
 
static int BOTTOM = 12
 
static int RIGHT = 14
 
static int N_COORDINATES = 16
 
static int X1 = 18
 
static int Y1 = 22
 
static int X2 = 26
 
static int Y2 = 30
 
static int XD = 18
 
static int YD = 22
 
static int WIDTHD = 26
 
static int HEIGHTD = 30
 
static int SIZE = 18
 
static int STROKE_WIDTH = 34
 
static int SHAPE_ROI_SIZE = 36
 
static int STROKE_COLOR = 40
 
static int FILL_COLOR = 44
 
static int SUBTYPE = 48
 
static int OPTIONS = 50
 
static int ARROW_STYLE = 52
 
static int FLOAT_PARAM = 52
 
static int POINT_TYPE = 52
 
static int ARROW_HEAD_SIZE = 53
 
static int ROUNDED_RECT_ARC_SIZE = 54
 
static int POSITION = 56
 
static int HEADER2_OFFSET = 60
 
static int COORDINATES = 64
 
static int C_POSITION = 4
 
static int Z_POSITION = 8
 
static int T_POSITION = 12
 
static int NAME_OFFSET = 16
 
static int NAME_LENGTH = 20
 
static int OVERLAY_LABEL_COLOR = 24
 
static int OVERLAY_FONT_SIZE = 28
 
static int GROUP = 30
 
static int IMAGE_OPACITY = 31
 
static int IMAGE_SIZE = 32
 
static int FLOAT_STROKE_WIDTH = 36
 
static int ROI_PROPS_OFFSET = 40
 
static int ROI_PROPS_LENGTH = 44
 
static int COUNTERS_OFFSET = 48
 
static int TEXT = 1
 
static int ARROW = 2
 
static int ELLIPSE = 3
 
static int IMAGE = 4
 
static int ROTATED_RECT = 5
 
static int SPLINE_FIT = 1
 
static int DOUBLE_HEADED = 2
 
static int OUTLINE = 4
 
static int OVERLAY_LABELS = 8
 
static int OVERLAY_NAMES = 16
 
static int OVERLAY_BACKGROUNDS = 32
 
static int OVERLAY_BOLD = 64
 
static int SUB_PIXEL_RESOLUTION = 128
 
static int DRAW_OFFSET = 256
 
static int ZERO_TRANSPARENT = 512
 
static int SHOW_LABELS = 1024
 
static int SCALE_LABELS = 2048
 
static int PROMPT_BEFORE_DELETING = 4096
 
static int SCALE_STROKE_WIDTH = 8192
 

Detailed Description

Definition at line 668 of file Fiji.cs.

Constructor & Destructor Documentation

◆ RoiDecoder() [1/2]

BioLib.Fiji.RoiDecoder.RoiDecoder ( string path)

Constructs an RoiDecoder using a file path.

Definition at line 753 of file Fiji.cs.

754 {
755 this.path = path;
756 }

◆ RoiDecoder() [2/2]

BioLib.Fiji.RoiDecoder.RoiDecoder ( byte[] bytes,
string name )

Constructs an RoiDecoder using a byte array.

Definition at line 759 of file Fiji.cs.

760 {
761 ins = new MemoryStream(bytes);
762 this.name = name;
763 this.size = bytes.Length;
764 }

Member Function Documentation

◆ getRoi()

ROI BioLib.Fiji.RoiDecoder.getRoi ( double physX,
double physY,
double volX,
double volY )

Returns the ROI.

Definition at line 776 of file Fiji.cs.

777 {
778 ROI roi = new ROI();
779 data = File.ReadAllBytes(path);
780 size = data.Length;
781 if (getByte(0) != 73 || getByte(1) != 111) //"Iout"
782 throw new IOException("This is not an ImageJ ROI");
783 int version = getShort(VERSION_OFFSET);
784 int type = getByte(TYPE);
785 int subtype = getShort(SUBTYPE);
786 int top = getShort(TOP);
787 int left = getShort(LEFT);
788 int bottom = getShort(BOTTOM);
789 int right = getShort(RIGHT);
790 int width = right - left;
791 int height = bottom - top;
792 int n = getUnsignedShort(N_COORDINATES);
793 if (n == 0)
794 n = getInt(SIZE);
795 int options = getShort(OPTIONS);
796 int position = getInt(POSITION);
797 int hdr2Offset = getInt(HEADER2_OFFSET);
798 int channel = 0, slice = 0, frame = 0;
799 int overlayLabelColor = 0;
800 int overlayFontSize = 0;
801 int group = 0;
802 int imageOpacity = 0;
803 int imageSize = 0;
804 bool subPixelResolution = (options & SUB_PIXEL_RESOLUTION) != 0 && version >= 222;
805 bool drawOffset = subPixelResolution && (options & DRAW_OFFSET) != 0;
806 bool scaleStrokeWidth = true;
807 if (version >= 228)
808 scaleStrokeWidth = (options & SCALE_STROKE_WIDTH) != 0;
809
810 bool subPixelRect = version >= 223 && subPixelResolution && (type == rect || type == oval);
811 double xd = 0.0, yd = 0.0, widthd = 0.0, heightd = 0.0;
812 if (subPixelRect)
813 {
814 xd = getFloat(XD);
815 yd = getFloat(YD);
816 widthd = getFloat(WIDTHD);
817 heightd = getFloat(HEIGHTD);
818 roi.subPixel = true;
819 }
820
821 if (hdr2Offset > 0 && hdr2Offset + IMAGE_SIZE + 4 <= size)
822 {
823 channel = getInt(hdr2Offset + C_POSITION);
824 slice = getInt(hdr2Offset + Z_POSITION);
825 frame = getInt(hdr2Offset + T_POSITION);
826 overlayLabelColor = getInt(hdr2Offset + OVERLAY_LABEL_COLOR);
827 overlayFontSize = getShort(hdr2Offset + OVERLAY_FONT_SIZE);
828 imageOpacity = getByte(hdr2Offset + IMAGE_OPACITY);
829 imageSize = getInt(hdr2Offset + IMAGE_SIZE);
830 group = getByte(hdr2Offset + GROUP);
831 }
832
833 if (name != null && name.EndsWith(".roi"))
834 name = name.Substring(0, name.Length - 4);
835 bool isComposite = getInt(SHAPE_ROI_SIZE) > 0;
836
837
838 /*
839 if (isComposite)
840 {
841 roi = getShapeRoi();
842 if (version >= 218)
843 getStrokeWidthAndColor(roi, hdr2Offset, scaleStrokeWidth);
844 roi.coord.Z = position;
845 if (channel > 0 || slice > 0 || frame > 0)
846 {
847 roi.coord.C = channel; roi.coord.Z = slice; roi.coord.T = frame;
848 }
849 decodeOverlayOptions(roi, version, options, overlayLabelColor, overlayFontSize);
850 if (version >= 224)
851 {
852 string props = getRoiProps();
853 if (props != null)
854 roi.properties = props;
855 }
856 if (version >= 228 && group > 0)
857 roi.serie = group;
858 return roi;
859 }
860 */
861 switch (type)
862 {
863 case 1: //Rect
864 if (subPixelRect)
865 roi = ROI.CreateRectangle(new AForge.ZCT(slice - 1, channel - 1, frame - 1), xd, yd, widthd, heightd);
866 else
867 roi = ROI.CreateRectangle(new AForge.ZCT(slice - 1, channel - 1, frame - 1), left, top, width, height);
868 int arcSize = getShort(ROUNDED_RECT_ARC_SIZE);
869 if (arcSize > 0)
870 throw new NotSupportedException("Type rounded rectangle not supported.");
871 break;
872 case 2: //Ellipse
873 if (subPixelRect)
874 roi = ROI.CreateEllipse(new AForge.ZCT(slice - 1, channel - 1, frame - 1), xd, yd, widthd, heightd);
875 else
876 roi = ROI.CreateEllipse(new AForge.ZCT(slice - 1, channel - 1, frame - 1), left, top, width, height);
877 break;
878 case 3: //Line
879 float x1 = getFloat(X1);
880 float y1 = getFloat(Y1);
881 float x2 = getFloat(X2);
882 float y2 = getFloat(Y2);
883
884 if (subtype == ARROW)
885 {
886 throw new NotSupportedException("Type arrow not supported.");
887 /*
888 roi = new Arrow(x1, y1, x2, y2);
889 ((Arrow)roi).setDoubleHeaded((options & DOUBLE_HEADED) != 0);
890 ((Arrow)roi).setOutline((options & OUTLINE) != 0);
891 int style = getByte(ARROW_STYLE);
892 if (style >= Arrow.FILLED && style <= Arrow.BAR)
893 ((Arrow)roi).setStyle(style);
894 int headSize = getByte(ARROW_HEAD_SIZE);
895 if (headSize >= 0 && style <= 30)
896 ((Arrow)roi).setHeadSize(headSize);
897 */
898 }
899 else
900 {
901 roi = ROI.CreateLine(new AForge.ZCT(slice, channel, frame), new AForge.PointD(x1, y1), new AForge.PointD(x2, y2));
902 //roi.setDrawOffset(drawOffset);
903 }
904
905 break;
906 case 0:
907 case 5:
908 case 6:
909 case 7:
910 case 8:
911 case 9:
912 case 10:
913 //IJ.log("type: "+type);
914 //IJ.log("n: "+n);
915 //ij.IJ.log("rect: "+left+","+top+" "+width+" "+height);
916 if (n == 0 || n < 0) break;
917 int[] x = new int[n];
918 int[] y = new int[n];
919 float[] xf = null;
920 float[] yf = null;
921 int base1 = COORDINATES;
922 int base2 = base1 + 2 * n;
923 int xtmp, ytmp;
924 for (int i = 0; i < n; i++)
925 {
926 xtmp = getShort(base1 + i * 2);
927 if (xtmp < 0) xtmp = 0;
928 ytmp = getShort(base2 + i * 2);
929 if (ytmp < 0) ytmp = 0;
930 x[i] = left + xtmp;
931 y[i] = top + ytmp;
932 }
933 if (subPixelResolution)
934 {
935 xf = new float[n];
936 yf = new float[n];
937 base1 = COORDINATES + 4 * n;
938 base2 = base1 + 4 * n;
939 for (int i = 0; i < n; i++)
940 {
941 xf[i] = getFloat(base1 + i * 4);
942 yf[i] = getFloat(base2 + i * 4);
943 }
944 }
945 if (type == point)
946 {
947 //TODO implement non subpizel ROI
948 if (subPixelResolution)
949 {
950 roi.AddPoints(xf, yf);
951 }
952 else
953 roi.AddPoints(x, y);
954 if (version >= 226)
955 {
956 //((PointRoi)roi).setPointType(getByte(POINT_TYPE));
957 roi.strokeWidth = getShort(STROKE_WIDTH);
958 }
959 //if ((options & SHOW_LABELS) != 0 && !ij.Prefs.noPointLabels)
960 // ((PointRoi)roi).setShowLabels(true);
961 //if ((options & PROMPT_BEFORE_DELETING) != 0)
962 // ((PointRoi)roi).promptBeforeDeleting(true);
963 roi.type = ROI.Type.Point;
964 break;
965 }
966 if (type == polygon)
967 roi.type = ROI.Type.Polygon;
968 else if (type == freehand)
969 {
970 roi.type = ROI.Type.Freeform;
971 if (subtype == ELLIPSE || subtype == ROTATED_RECT)
972 {
973 throw new NotSupportedException("ROI type not supported.");
974 /*
975 double ex1 = getFloat(X1);
976 double ey1 = getFloat(Y1);
977 double ex2 = getFloat(X2);
978 double ey2 = getFloat(Y2);
979 double param = getFloat(FLOAT_PARAM);
980 if (subtype == ROTATED_RECT)
981 roi = new RotatedRectRoi(ex1, ey1, ex2, ey2, param);
982 else
983 roi = new EllipseRoi(ex1, ey1, ex2, ey2, param);
984 break;
985 */
986 }
987 }
988 else if (type == traced)
989 roi.type = ROI.Type.Polyline;
990 else if (type == polyline)
991 roi.type = ROI.Type.Polyline;
992 else if (type == freeline)
993 roi.type = ROI.Type.Polyline;
994 else if (type == angle)
995 roi.type = ROI.Type.Point;
996 else
997 roi.type = ROI.Type.Freeform;
998 if (subPixelResolution)
999 {
1000 roi.AddPoints(xf, yf);
1001 //roi = new PolygonRoi(xf, yf, n, roiType);
1002 //roi.setDrawOffset(drawOffset);
1003 }
1004 else
1005 roi.AddPoints(x, y);
1006 break;
1007 default:
1008 throw new IOException("Unrecognized ROI type: " + type);
1009 }
1010 if (roi == null)
1011 return null;
1012 roi.roiName = getRoiName();
1013
1014 // read stroke width, stroke color and fill color (1.43i or later)
1015 if (version >= 218)
1016 {
1017 getStrokeWidthAndColor(roi, hdr2Offset, scaleStrokeWidth);
1018 /*
1019 if (type == point)
1020 roi.setStrokeWidth(0);
1021 bool splineFit = (options & SPLINE_FIT) != 0;
1022 if (splineFit && roi instanceof PolygonRoi)
1023 ((PolygonRoi)roi).fitSpline();
1024 */
1025 }
1026
1027 if (version >= 218 && subtype == TEXT)
1028 {
1029 getTextRoi(roi, version);
1030 roi.type = ROI.Type.Label;
1031 }
1032 /*
1033 if (version >= 221 && subtype == IMAGE)
1034 roi = getImageRoi(roi, imageOpacity, imageSize, options);
1035
1036 if (version >= 224)
1037 {
1038 string props = getRoiProps();
1039 if (props != null)
1040 roi.setProperties(props);
1041 }
1042
1043 if (version >= 227)
1044 {
1045 int[] counters = getPointCounters(n);
1046 if (counters != null && (roi instanceof PointRoi))
1047 ((PointRoi)roi).setCounters(counters);
1048 }
1049 */
1050 // set group (1.52t or later)
1051 if (version >= 228 && group > 0)
1052 roi.serie = group;
1053
1054 roi.coord.Z = position;
1055 if (channel > 0 || slice > 0 || frame > 0)
1056 roi.coord = new AForge.ZCT(slice - 1, channel - 1, frame - 1); //-1 because our ROI coordinates are 0 based
1057 //decodeOverlayOptions(roi, version, options, overlayLabelColor, overlayFontSize);
1058
1059 //We convert pixel to subpixel
1060 if (!roi.subPixel)
1061 {
1062 for (int i = 0; i < roi.PointsD.Count; i++)
1063 {
1064 AForge.PointD pd = BioImage.ToStageSpace(roi.PointsD[i], physX,physY,volX,volY);
1065 roi.PointsD[i] = pd;
1066 roi.UpdateBoundingBox();
1067 }
1068 }
1069 if (roi.type == ROI.Type.Polygon || roi.type == ROI.Type.Freeform)
1070 roi.closed = true;
1071 return roi;
1072 }
PointD ToStageSpace(PointD p)
Definition Bio.cs:4474
static ROI CreateRectangle(ZCT coord, double x, double y, double w, double h)
Definition Bio.cs:1064
void UpdateBoundingBox()
Definition Bio.cs:1305
static ROI CreateEllipse(ZCT coord, double x, double y, double w, double h)
Definition Bio.cs:1081
void AddPoints(PointD[] p)
Definition Bio.cs:1205
static ROI CreateLine(ZCT coord, PointD x1, PointD x2)
Definition Bio.cs:1046

◆ open()

static ROI BioLib.Fiji.RoiDecoder.open ( string path,
double physX,
double physY,
double volX,
double volY )
static

Opens the ROI at the specified path. Returns null if there is an error.

Definition at line 767 of file Fiji.cs.

768 {
769 ROI roi = null;
770 RoiDecoder rd = new RoiDecoder(path);
771 roi = rd.getRoi(physX,physY,volX,volY);
772 return roi;
773 }
RoiDecoder(string path)
Definition Fiji.cs:753

◆ openFromByteArray()

static ROI BioLib.Fiji.RoiDecoder.openFromByteArray ( byte[] bytes,
double physX,
double physY,
double volX,
double volY )
static

Opens an ROI from a byte array.

Definition at line 1280 of file Fiji.cs.

1281 {
1282 ROI roi = null;
1283 if (bytes == null || bytes.Length == 0)
1284 return roi;
1285 try
1286 {
1287 RoiDecoder decoder = new RoiDecoder(bytes, null);
1288 roi = decoder.getRoi(physX,physY,volX,volY);
1289 }
1290 catch (IOException e)
1291 {
1292 return null;
1293 }
1294 return roi;
1295 }

Member Data Documentation

◆ ARROW

int BioLib.Fiji.RoiDecoder.ARROW = 2
static

Definition at line 720 of file Fiji.cs.

◆ ARROW_HEAD_SIZE

int BioLib.Fiji.RoiDecoder.ARROW_HEAD_SIZE = 53
static

Definition at line 697 of file Fiji.cs.

◆ ARROW_STYLE

int BioLib.Fiji.RoiDecoder.ARROW_STYLE = 52
static

Definition at line 694 of file Fiji.cs.

◆ BOTTOM

int BioLib.Fiji.RoiDecoder.BOTTOM = 12
static

Definition at line 676 of file Fiji.cs.

◆ C_POSITION

int BioLib.Fiji.RoiDecoder.C_POSITION = 4
static

Definition at line 703 of file Fiji.cs.

◆ COORDINATES

int BioLib.Fiji.RoiDecoder.COORDINATES = 64
static

Definition at line 701 of file Fiji.cs.

◆ COUNTERS_OFFSET

int BioLib.Fiji.RoiDecoder.COUNTERS_OFFSET = 48
static

Definition at line 716 of file Fiji.cs.

◆ DOUBLE_HEADED

int BioLib.Fiji.RoiDecoder.DOUBLE_HEADED = 2
static

Definition at line 727 of file Fiji.cs.

◆ DRAW_OFFSET

int BioLib.Fiji.RoiDecoder.DRAW_OFFSET = 256
static

Definition at line 734 of file Fiji.cs.

◆ ELLIPSE

int BioLib.Fiji.RoiDecoder.ELLIPSE = 3
static

Definition at line 721 of file Fiji.cs.

◆ FILL_COLOR

int BioLib.Fiji.RoiDecoder.FILL_COLOR = 44
static

Definition at line 691 of file Fiji.cs.

◆ FLOAT_PARAM

int BioLib.Fiji.RoiDecoder.FLOAT_PARAM = 52
static

Definition at line 695 of file Fiji.cs.

◆ FLOAT_STROKE_WIDTH

int BioLib.Fiji.RoiDecoder.FLOAT_STROKE_WIDTH = 36
static

Definition at line 713 of file Fiji.cs.

◆ GROUP

int BioLib.Fiji.RoiDecoder.GROUP = 30
static

Definition at line 710 of file Fiji.cs.

◆ HEADER2_OFFSET

int BioLib.Fiji.RoiDecoder.HEADER2_OFFSET = 60
static

Definition at line 700 of file Fiji.cs.

◆ HEIGHTD

int BioLib.Fiji.RoiDecoder.HEIGHTD = 30
static

Definition at line 686 of file Fiji.cs.

◆ IMAGE

int BioLib.Fiji.RoiDecoder.IMAGE = 4
static

Definition at line 722 of file Fiji.cs.

◆ IMAGE_OPACITY

int BioLib.Fiji.RoiDecoder.IMAGE_OPACITY = 31
static

Definition at line 711 of file Fiji.cs.

◆ IMAGE_SIZE

int BioLib.Fiji.RoiDecoder.IMAGE_SIZE = 32
static

Definition at line 712 of file Fiji.cs.

◆ LEFT

int BioLib.Fiji.RoiDecoder.LEFT = 10
static

Definition at line 675 of file Fiji.cs.

◆ N_COORDINATES

int BioLib.Fiji.RoiDecoder.N_COORDINATES = 16
static

Definition at line 678 of file Fiji.cs.

◆ NAME_LENGTH

int BioLib.Fiji.RoiDecoder.NAME_LENGTH = 20
static

Definition at line 707 of file Fiji.cs.

◆ NAME_OFFSET

int BioLib.Fiji.RoiDecoder.NAME_OFFSET = 16
static

Definition at line 706 of file Fiji.cs.

◆ OPTIONS

int BioLib.Fiji.RoiDecoder.OPTIONS = 50
static

Definition at line 693 of file Fiji.cs.

◆ OUTLINE

int BioLib.Fiji.RoiDecoder.OUTLINE = 4
static

Definition at line 728 of file Fiji.cs.

◆ OVERLAY_BACKGROUNDS

int BioLib.Fiji.RoiDecoder.OVERLAY_BACKGROUNDS = 32
static

Definition at line 731 of file Fiji.cs.

◆ OVERLAY_BOLD

int BioLib.Fiji.RoiDecoder.OVERLAY_BOLD = 64
static

Definition at line 732 of file Fiji.cs.

◆ OVERLAY_FONT_SIZE

int BioLib.Fiji.RoiDecoder.OVERLAY_FONT_SIZE = 28
static

Definition at line 709 of file Fiji.cs.

◆ OVERLAY_LABEL_COLOR

int BioLib.Fiji.RoiDecoder.OVERLAY_LABEL_COLOR = 24
static

Definition at line 708 of file Fiji.cs.

◆ OVERLAY_LABELS

int BioLib.Fiji.RoiDecoder.OVERLAY_LABELS = 8
static

Definition at line 729 of file Fiji.cs.

◆ OVERLAY_NAMES

int BioLib.Fiji.RoiDecoder.OVERLAY_NAMES = 16
static

Definition at line 730 of file Fiji.cs.

◆ POINT_TYPE

int BioLib.Fiji.RoiDecoder.POINT_TYPE = 52
static

Definition at line 696 of file Fiji.cs.

◆ POSITION

int BioLib.Fiji.RoiDecoder.POSITION = 56
static

Definition at line 699 of file Fiji.cs.

◆ PROMPT_BEFORE_DELETING

int BioLib.Fiji.RoiDecoder.PROMPT_BEFORE_DELETING = 4096
static

Definition at line 738 of file Fiji.cs.

◆ RIGHT

int BioLib.Fiji.RoiDecoder.RIGHT = 14
static

Definition at line 677 of file Fiji.cs.

◆ ROI_PROPS_LENGTH

int BioLib.Fiji.RoiDecoder.ROI_PROPS_LENGTH = 44
static

Definition at line 715 of file Fiji.cs.

◆ ROI_PROPS_OFFSET

int BioLib.Fiji.RoiDecoder.ROI_PROPS_OFFSET = 40
static

Definition at line 714 of file Fiji.cs.

◆ ROTATED_RECT

int BioLib.Fiji.RoiDecoder.ROTATED_RECT = 5
static

Definition at line 723 of file Fiji.cs.

◆ ROUNDED_RECT_ARC_SIZE

int BioLib.Fiji.RoiDecoder.ROUNDED_RECT_ARC_SIZE = 54
static

Definition at line 698 of file Fiji.cs.

◆ SCALE_LABELS

int BioLib.Fiji.RoiDecoder.SCALE_LABELS = 2048
static

Definition at line 737 of file Fiji.cs.

◆ SCALE_STROKE_WIDTH

int BioLib.Fiji.RoiDecoder.SCALE_STROKE_WIDTH = 8192
static

Definition at line 739 of file Fiji.cs.

◆ SHAPE_ROI_SIZE

int BioLib.Fiji.RoiDecoder.SHAPE_ROI_SIZE = 36
static

Definition at line 689 of file Fiji.cs.

◆ SHOW_LABELS

int BioLib.Fiji.RoiDecoder.SHOW_LABELS = 1024
static

Definition at line 736 of file Fiji.cs.

◆ SIZE

int BioLib.Fiji.RoiDecoder.SIZE = 18
static

Definition at line 687 of file Fiji.cs.

◆ SPLINE_FIT

int BioLib.Fiji.RoiDecoder.SPLINE_FIT = 1
static

Definition at line 726 of file Fiji.cs.

◆ STROKE_COLOR

int BioLib.Fiji.RoiDecoder.STROKE_COLOR = 40
static

Definition at line 690 of file Fiji.cs.

◆ STROKE_WIDTH

int BioLib.Fiji.RoiDecoder.STROKE_WIDTH = 34
static

Definition at line 688 of file Fiji.cs.

◆ SUB_PIXEL_RESOLUTION

int BioLib.Fiji.RoiDecoder.SUB_PIXEL_RESOLUTION = 128
static

Definition at line 733 of file Fiji.cs.

◆ SUBTYPE

int BioLib.Fiji.RoiDecoder.SUBTYPE = 48
static

Definition at line 692 of file Fiji.cs.

◆ T_POSITION

int BioLib.Fiji.RoiDecoder.T_POSITION = 12
static

Definition at line 705 of file Fiji.cs.

◆ TEXT

int BioLib.Fiji.RoiDecoder.TEXT = 1
static

Definition at line 719 of file Fiji.cs.

◆ TOP

int BioLib.Fiji.RoiDecoder.TOP = 8
static

Definition at line 674 of file Fiji.cs.

◆ TYPE

int BioLib.Fiji.RoiDecoder.TYPE = 6
static

Definition at line 673 of file Fiji.cs.

◆ VERSION_OFFSET

int BioLib.Fiji.RoiDecoder.VERSION_OFFSET = 4
static

Definition at line 672 of file Fiji.cs.

◆ WIDTHD

int BioLib.Fiji.RoiDecoder.WIDTHD = 26
static

Definition at line 685 of file Fiji.cs.

◆ X1

int BioLib.Fiji.RoiDecoder.X1 = 18
static

Definition at line 679 of file Fiji.cs.

◆ X2

int BioLib.Fiji.RoiDecoder.X2 = 26
static

Definition at line 681 of file Fiji.cs.

◆ XD

int BioLib.Fiji.RoiDecoder.XD = 18
static

Definition at line 683 of file Fiji.cs.

◆ Y1

int BioLib.Fiji.RoiDecoder.Y1 = 22
static

Definition at line 680 of file Fiji.cs.

◆ Y2

int BioLib.Fiji.RoiDecoder.Y2 = 30
static

Definition at line 682 of file Fiji.cs.

◆ YD

int BioLib.Fiji.RoiDecoder.YD = 22
static

Definition at line 684 of file Fiji.cs.

◆ Z_POSITION

int BioLib.Fiji.RoiDecoder.Z_POSITION = 8
static

Definition at line 704 of file Fiji.cs.

◆ ZERO_TRANSPARENT

int BioLib.Fiji.RoiDecoder.ZERO_TRANSPARENT = 512
static

Definition at line 735 of file Fiji.cs.


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