二值化质量差的图像

时间:2014-01-28 22:42:44

标签: c# image emgucv threshold adaptive-threshold

更新的问题:

是否可以对此图像进行二值化?我有一个图像列表,与此图片完全相同。

我希望图片只有黑白值。

更新

我试图将二值化并从我的图像中删除噪音,但这就是我得到的。 enter image description here

for (int x = 0; x < ExtractedBoxes.Count(); x++)
{
    FiltersSequence seq = new FiltersSequence();
    seq.Add(new Grayscale(0.2125, 0.7154, 0.0721));  //First add  GrayScaling filter
    seq.Add(new SISThreshold()); //Then add binarization(thresholding) filter
    ExtractedBoxes[x] = seq.Apply(ExtractedBoxes[x]); // Apply filters on source image
}

我尝试使用它,因为这是我找到的最简单的方法,但我认为效率不够。它来自Aforge.net库。我使用SISThreshold,因为我不能让otsu阈值工作,而Otsu是我最熟悉的。

希望你能给我更好的方法或其他方法来清理它们。谢谢!

0 个答案:

没有答案