摘要:
最近项目遇到一个问题,需要对扫描出来的图片进行去除黑边。百度下没有找到处理黑边的源码,无奈自己尝试写了这个方法。 1 /// <summary> 2 /// 自动去除图像扫描黑边 3 /// </summary> 4 /// <param name="fileName"></param> 5 pub 阅读全文
posted @ 2014-03-14 14:27
fireshadow23
阅读(3564)
评论(3)
推荐(1)
摘要:
最近找到一个不错的文档图片自动纠偏跟大家分享一下。纠偏算法: 1 public class Deskew 2 { 3 // Representation of a line in the image. 4 private class HougLine 5 { 6 // Count of points in the line. 7 public int Count; 8 // Index in Matrix. 9 publi... 阅读全文
posted @ 2014-03-14 14:11
fireshadow23
阅读(2286)
评论(0)
推荐(1)

浙公网安备 33010602011771号