Tag Archives: OpenCV

RANSAC

I’m working on a project which is something like Bundler with my team, our aim is using different images of an object (we only have images, and know nothing about the positions these images took or parameters of cameras), to re-construct the 3-D module of the object. In this project, I used RANSAC on calculating homographies […]

Posted in Algorithm, OpenCV | Also tagged , , | 4 Responses

Poisson Blending

Poisson blending is one of the topics that spent me days trying to understand recently (not fully understand yet), it is a wonderful method, and using wonderful maths, as well. Now I’ll try to explain this method, with as less Math formulae as I can.

Posted in Algorithm, OpenCV | Also tagged , , | 17 Responses

SIFT

SIFT (Scale-invariant feature transform) is one of popular feature matching algorithms, it is good because of its several attributes. There are kinds of primitive ways to do image matching, for some images, even compare the gray scale value pixel by pixel works well. However, what if features in images are in different scales? What if features are […]

Posted in Algorithm, OpenCV | Also tagged , , | 2 Responses

Bilateral Filtering

Popular Filters When smoothing or blurring images (the most popular goal of smoothing is to reduce noise), we can use diverse linear filters, because linear filters are easy to achieve, and are kind of fast, the most used ones are Homogeneous filter, Gaussian filter, Median filter, et al.

Posted in Algorithm, OpenCV | Also tagged , , | 1 Response

Image Pyramids

There are a lot of advantages of using image pyramids in digital image processing, and this article is about image pyramids. WHY PYRAMIDS? We all know about the two popular kinds of domain: Spatial Domain and Frequency Domain.      

Posted in Algorithm, OpenCV | Also tagged , | 10 Responses

Seam Carving

In last week Computational Photography class, Rob showed us a video about seam carving, which is really awesome, like magic. During my last bachelor year, I published a paper with my group named “Semantic aware sport image resizing jointly using seam carving and warping”, I worked for the sport image field detection part. So when […]

Posted in Algorithm, Dynamic Programming, OpenCV | Also tagged | 4 Responses

Continuously Adaptive Mean SHIFT

In the Motion Capture course lecture this week, teachers talked about camShift algorithm, I heard about this algorithm since about three or four years before, but I never tried it, and during that class I thought I must do it this time. CamShift is a tracking algorithm, which is based on MeanShift algorithm, what camShift […]

Posted in Algorithm, OpenCV | Also tagged , | 18 Responses

Active Contour (Snakes)

I watched part of a course video of “Introduction to Image Segmentation” by Yuri Boykov (University of Western Ontario) this afternoon, and at the beginning of this course, he mentioned an algorithm about active contour, which also called snakes, is a framework for delineating an object outline from a possibly noisy 2D image. By searching […]

Posted in Algorithm, OpenCV | Also tagged , | 10 Responses

A simple court field detector using OpenCV

During my bachelor studies, I made a simple court field detector( only works on sample images which the colors inside and outside the field are different). Now I’m learning some new image segmentation skills, and the detector might works better with these more advanced algorithms, so let me first talk about what I did before, […]

Posted in OpenCV | Tagged | Leave a comment

Transform among data types in OpenCV

cv::Mat to IplImage: IplImage pImg= IplImage(imgMat); cv::Mat to CvMat: CvMat cvMat = imgMat;  CvMat to IplImage:

Posted in OpenCV | Tagged | Leave a comment