133 {
136 foreach (Blob blob in blobs)
137 {
138 if (blob.Rectangle.Width < minWidthBar.Value || blob.Rectangle.Height < minHeightBar.Value || blob.Rectangle.Width > maxWidthBar.Value || blob.Rectangle.Height > maxHeightBar.Value)
139 continue;
140 PointD loc =
new PointD(b.StageSizeX + (blob.Rectangle.X * b.PhysicalSizeX), b.StageSizeY + (blob.Rectangle.Y * b.PhysicalSizeY));
143 if (tileBox.Checked)
144 {
145 for (int y = 0; y < tileYBox.Value; y++)
146 {
147 for (int x = 0; x < tileXBox.Value; x++)
148 {
149 if (comboBox.SelectedIndex != -1)
151 else
153 }
154 }
155 }
156 else
157 {
158 if (comboBox.SelectedIndex != -1)
160 else
162 }
163 }
167 viewer.
Images.AddRange(images);
169 }
void UpdateView(bool refreshImages=true)
static BioImage[] TakeTiles(int width, int height, bool save=true, bool addToImages=true, bool newTab=false)
static void SetPosition(Point3D p)
static Point3D GetPosition()
static BioImage TakeImage()
void SetPosition(int index)