摘要:
A palindrome is a nonempty string over some alphabet that reads the same forwardand backward. Examples of palindromes are all strings of length 1, civ 阅读全文
摘要:
Recently i was doing some study on algorithms. A classic problem is to find the K largest(smallest) numbers from an array. I mainly studyed two method 阅读全文
摘要:
Background. AOI software needs to use the OCR feature to recognize the texts on the chips. Because our vision software is based on OpenCV, so the firs 阅读全文
摘要:
Matrix QR decomposition is very useful in least square fitting model. But there is no function available to do it in OpenCV directly. So i write a fun 阅读全文
摘要:
In OpenCv, it only provide the function fitEllipse to fit Ellipse, but doesn't provide function to fit circle, so i read some paper, and write a funct 阅读全文
摘要:
OpenCV has function matchTemplate to easily do the template matching. But its accuracy can only reach pixel level, to achieve subpixel accuracy, need 阅读全文
摘要:
Here is an example code to generate transparent shape on image. Need to pay attention can not use cv::Mat mask(mat) to create the mask image, because 阅读全文
摘要:
The interpolate function is used to get intensity of a point which is not on exactly a pixel. The code is written in C++. Because it is template funct 阅读全文