Getting Necessary Tools

Hi all,

Welcome back. To learn something completely, we have to implement what we learn. So in this blog entry I’m sharing what tool I’m going to start with. There are lot of tools available for image processing, out of which I chose OpenCV. It is an open source library consisting of many Image Processing Algorithms functions.

I’m using OpenCV with Visual Studio in C++. If you are a python programmer or Java Programmer, OpenCV is available in those languages as well.

You can get OpenCV from the following link: OpenCV – Download

You can get Visual studio from this link: Visual Studio 2015

I’m using OpenCV 3.0.0 with Visual Studio 2012, since my PC had it installed long ago and I did not want to waste my Data 😉 as I’m on a data plan.

Setting up OpenCV with Visual Studio (w/o C-make):

  1. Once you finish your download, extract the OpenCV library to an easily accessible place.

OpenCV-location

2. Install Visual Studio

3. Open Visual Studio and go to File -> New -> Project

NewProject Page

4. Under Visual C++ choose Win 32 Console Application

Win32 Console Application

press OK. Then press Next, and select Empty project

Application Wizard

Empty Project

5. Right click on Source Files and choose New -> Add Item

NewSource

new source

click on Add.

6. Right click on the project under solution explorer and select propertiesVC++ directories

7. Then under Include directories, include the following location
OpenCV Install Directory\build\include

IncludeDir

8. under Library Directories, include the following location
OpenCV Install Location\build\Process Architecture(x86 or x64)\Visual Studio version\lib

LibDir

9. Click on C/C++ and under Additional Include Directories include the following location
     OpenCV Install Directory\build\includeC_Cpp

10. Click on Linker -> Input -> Additional Dependencies. Include the following
opencv_ts300.lib
opencv_ts300d.lib
opencv_world300.lib
opencv_world300d.lib
these file names depend on the version of OpenCV you’ve installed, since I’m using 3.0.0, these are the files I’ve included.

additional dependencies

Press OK. 

Now you are set up and you can start with your programming. If you are in office or college and you have pretty much everything blocked in your system, this method will be helpful (from own experience). By this method, you don’t need to use C-make. But the downside is you have to do this for all the projects you do.

Happy Learning.. see you in the next post

 

Starting with Image Processing

Hi friends,

I’m going to start learn Image Processing. I graduated last year in Electronics and Communication Engineering. I thought if we are doing something why not make it useful for all?, keeping that in mind, I have planned to post the concepts I learn here, hoping that it is useful for someone

Thank you and stay tuned for more 🙂

“Start by doing what’s necessary; then do what’s possible; and suddenly you are doing the impossible.”
Francis of Assisi

Hi Guys,

This is my first blog. I dont have a goal on what all I’m gonna post here. I’m going to post what all things I feel interesting 🙂 Stay Tuned and Enjoy 🙂