-
Notifications
You must be signed in to change notification settings - Fork 0
Library Usage
Microscopy edited this page Oct 27, 2022
·
11 revisions
`BioImage b = BioImage.OpenFile("file");
ImageView v = new ImageView(b);
ZCT cord = v.GetCoordinate();
ROI r = ROI.CreatePoint(cord, 0, 0);
//Usage of Graphics class for 16 & 48 bit images.
Graphics g = Graphics.FromImage(b.Buffers[0]);
g.pen = new Pen(new ColorS(ushort.MaxValue, ushort.MaxValue, ushort.MaxValue),10,b.bitsPerPixel);
g.DrawLine(0,0,100,100);
g.Dispose();
v.UpdateImage();
v.UpdateView(); `