私は血液の画像を持っていて、それに流域を適用しました..それは機能し、細胞を決定しますが、各細胞を別々の画像に入れる方法がわかりません..私は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();