我有一个血液图像,我在上面应用了分水岭..它的工作原理并确定了细胞,但我不知道如何将每个细胞放在单独的图像中..我正在使用 emgu.cv 我可以得到一些帮助
在这里,我使用分水岭方法分割图片,然后将标记放在原始图像上
Image<Gray, Int32> boundaryImage = watershedSegmenter.Process(image);
Image<Gray, Byte> test = watershedSegmenter.GetWatersheds(); Image<Bgr, byte>dest=new Image<Bgr, byte>(image.Width, image.Height);
dest = image.And(image, test);
pictureBox1.Width = boundaryImage.ToBitmap().Width;
pictureBox1.Height = boundaryImage.ToBitmap().Height;
pictureBox1.BackgroundImage = boundaryImage.ToBitmap();