1
我想学习Aforge.net。我写o代码,它工作正常,但我想检测我的形象只是紫色,但我无法找到它是如何。所以任何人都可以帮助我呢? 这里是我的代码C#aforge颜色检测
Bitmap resim = new Bitmap(pictureBox1.Image);
EuclideanColorFiltering filter = new EuclideanColorFiltering();
// set center color and radius
filter.CenterColor = new RGB(80,90,120);
filter.Radius = 40;
// apply the filter
filter.ApplyInPlace(resim);
pictureBox1.Image = resim;
,并有我的源图像
我的过滤器后,它是这个
所以我能做些什么来随便挑紫色的数字没有其他的东西或只是紫色的东西在这张照片?