摘要: /**** method to remove noise from the corrupted image by gaussian filter value* @param corrupted input grayscale binary array with corrupted info ---y...阅读全文
摘要: //pYUV为422,yuv为420/*ok!* brief:pyuv is yuv422sp srcIn, and yuv is yuv420p desOut*/intYUV422To420(unsignedchar*pYUV,unsignedchar*yuv,intlWidth,intlHeig...阅读全文
摘要: YUV与YCbCr的区别YUV色彩模型来源于RGB模型,该模型的特点是将亮度和色度分离开,从而适合于图像处理领域。应用:basic color model used in analogue color TV broadcasting。YCbCr模型来源于YUV模型。YCbCr is a scaled...阅读全文
摘要: int lineByte=(bmpWidth*biBitCount/8+3)/4*4这个公式怎么理解如下:这是计算位图每行占多少个字节;灰度图像(biBitCount=8)彩色图像(biBitCount=24)bmpWidth是位图的宽度,也就是每行有多少个像素块在计算机中如果你是整形 (n)除以(...阅读全文
摘要: Probability Theory概率论Trial试验intersection交union并frequency频率difference差additivity可加性complementation对立contain包含equivalent等价mean均值convolution[,k?nv?‘lu:??...阅读全文
摘要: Inmathematics, amomentis, loosely speaking, a quantitative measure of the shape of a set of points. The "second moment", for example, is widely used a...阅读全文
摘要: 头文件:/* * Copyright (c) 2008-2011 Zhang Ming (M. Zhang), zmjerry@163.com * * This program is free software; you can redistribute it and/or modify it * ...阅读全文
摘要: 参考文档:Adaptive Thresholding for the DigitalDesk.pdf Adaptive Thresholding Using the Integral Image.pdf一、问题的由来 一个现实: 当用照像机拍摄一副黑纸白字的纸张时,照相机获得的图像并不是真正的黑白图像。不管从什么角度拍摄,这幅图像实际上是灰度或者彩色的。除非仔细的设置灯光,否则照相机所拍摄的放在桌子上的纸张图像并不能代表原始效果。不像在扫描仪或打印机内部,想控制好桌子表面的光源是非常困难的。这个开放的空间可能会受到台灯、吊灯、窗户、移动的影子等影响。人类的视觉系统能自动补偿这些,...阅读全文