Skip to content

Image Processing With OpenCV

July 29, 2014

Recently found some of my old code on OpenCV that I studied few years back.

Using OpenCV framework, I managed to implement some image filters(instead of using OpenCV libraries) on image processing.

Below are the edge detection implement using Sobel filter. Image shown original vs result.

Edge detection using sobel filter

Edge detection using sobel filter

While below is the greyscale of above image, and more filter apply after Sobel filter for enhancement. And finally the image is pass through a threshold to produce binary image.

Greyscale_Threshold

To see the code running in life action:

The source code to capture above video can be downloaded from here. However, do take note this code is not optimize and will consume large processing power, and also suffer from memory leaks problem.

Advertisements

From → Playground

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: