OpenCV, MATLAB or AForge ??

OpenCV MATLAB AForge Logo
Image processing is the process of manipulating image data in order to make it suitable for computer vision applications or to make it suitable to present it to humans. For example, changing brightness or contrast  is a image processing task which make the image visually pleasing for humans or suitable for further processing for a certain computer vision application.

Computer vision which go beyond image processing, helps to obtain relevant information from images and make decisions based on that information. In other words, computer vision is making the computer see as humans do. Basic steps for a typical computer vision application as follows.
  1. Image acquisition
  2. Image manipulation
  3. Obtaining relevant information
  4. Decision making
If you are new to computer vision, you may be wondering where to start. First you have to understand the basic principles of image processing and computer vision. Then you have to choose a suitable language to develop your computer vision application. Some of the most popular methods are using OpenCV with C/C++, MATLAB and AForge. If you don't really know why you would choose one over the other, here is my explanation.

MATLAB is the most easiest and the inefficient way to process images and OpenCV is the most efficient and hardest way to process images. AForge has qualities in between OpenCV and MATLAB.

OpenCV has become hardest only because there is no proper documentation and error handling codes.  But OpenCV has lots of basic inbuilt image processing functions so that those who want to learn computer vision can develop their applications through proper understanding about what they do. 

So, I think that it is worthy to learn computer vision with OpenCV. Therefore in this blog, it is presented basic image processing functions and computer vision applications with line by line explanations.

Here is the entire list of OpenCV lessons





151 comments:

  1. This is relay valuable...!!!
    Thank you!!!

    ReplyDelete
    Replies
    1. I have read your blog its very attractive and impressive. I like it your blog.

      Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

      Java Online Training Java Online Training Core Java 8 Training in Chennai java 8 online training JavaEE Training in Chennai Java EE Training in Chennai

      Delete
  2. Thank you, this is the best tutorial which i've seen
    What a shame, that here is only a few lections :(((

    ReplyDelete
  3. Nice tutorial.

    I would like to ask you a question. Why did you use cv::Mat structure in the begining and than switched to cv::IplImage structure.

    That boggled my mind.

    ReplyDelete
    Replies
    1. cv::Mat belongs to C++ whereas IplImage belongs to C. I have updated lessons at the beginning to C++. But last few lessons are still written in C. They will be also converted to C++ soon.

      Delete
  4. do u know how to create c# wrapper for using opencv function?

    ReplyDelete
    Replies
    1. ImguCV is the C# version of OpenCV.

      You can find more infomation about how to install and configure ImguCV on http://www.emgu.com/wiki/index.php/Download_And_Installation

      Delete
  5. hi fernando
    I installed Opencv247 in windows 7 and i worked with above lessons, it seems to be very good to me and one thing i want to ask to you. how to uninstall opencv247 in windows7

    ReplyDelete
    Replies
    1. To uninstall Opencv, remove environment variable which points to the dll files of OpenCV. And delete all the source files, header files and lib files of OpenCV

      Delete
  6. how to get black and white video???

    ReplyDelete
    Replies
    1. VideoCapture cap("Video file name");

      Mat frame;

      while (true)
      {
      cap.read(frame);
      cvtColor(frame, frame, CV_BGR2GRAY);
      imshow("MyVideo", frame);
      }

      Delete
  7. can u help me for converting an image into a .dat file format in opencv?

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Thank you for this best tutorial,
    i am beginner in opencv, and this tutorial is very helpful,
    but i want to stitch two video files together using opencv , can you help me ???

    ReplyDelete
  10. Can anyone please guide how can I find vertices values of rectangle?

    ReplyDelete
  11. Great tutorials. I have one question, will you make tutorial about face recognition?

    ReplyDelete
  12. In SAT planning has basic role for test preparation it is the serious problem of different parents for their children. Intelligent students who have good math concepts can clear it with proper guidance. How we can prepare test in short time

    ReplyDelete
  13. Thanks for your ideas. You can also find the details on Affity Solutions, at the C Developers. The main object of the Affity Solutions is to provide quality web services and is among the few software development company in Nagpur.

    ReplyDelete
  14. Thanks for your ideas. You can also find the details on Affity Solutions, at the C Developers. The main object of the Affity Solutions is to provide quality web services and is among the few software development company in Nagpur.

    ReplyDelete
  15. Verry naisu ^_^ (y) please visit my blog to http://lokerilmu-it.blogspot.com ,, learn about internet , computer and easy hacking hehe

    ReplyDelete
  16. Thanks ...gr8 tutorial for beginners

    ReplyDelete
  17. Nice information and thanks for posting this here! Please keep sharing more information like this further in future. You can find more information on C++ Tutorials in the following link.

    CPP Tutorials

    ReplyDelete
  18. how to create a GUI for above lessons like buttons,listbox etc.

    i dont want to use opencv highgui.... How can i use visual studio GUI for above lessons ?

    ReplyDelete
  19. This is great revealing content. Thank you I really appreciate the unique articles you write. sdrc provide this
    Data recovery Singapore

    ReplyDelete
  20. Your tips like to Improve the quality of content of the website. Attracting highly paid ads to website.....

    ReplyDelete
  21. Can you please tell how to create a GUI for opencv in c++ for example if i want to create a menu with buttons etc. for event handling?

    ReplyDelete
  22. Great and Helpful post about C++. can help me how to convert a image into dat file
    Thanks..

    ReplyDelete
  23. Hi : Thank you for your post, I try is work fine :)

    ReplyDelete
  24. I am a newbie in C++ programming language. Thank you so much for sharing this post.
    C++ tutorial in urdu

    ReplyDelete
  25. Muy buena.
    Pagina de códigos basicos: http://tupagina.comuf.com/

    ReplyDelete
  26. the link of "smooth / Blur Images" takes to "OpenCV, Matlab or Aforge"

    but the link on the side menu is correct

    ReplyDelete
  27. Total Video Converter for Mac-Total Video Converter for Mac is your best video converter for Mac to convert all videos to iPad, iPhone... Best all-in-one Video Converter for Mac.

    ReplyDelete
  28. Blackout Blinds-Blackout roller blinds made to measure are perfect for bedrooms or areas of house of office you need full privacy. Blackout roller blinds are available in a huge ..

    ReplyDelete
  29. C and C++ classes in Delhi NCR- RKM IT Institute provides high quality C and C++ classes in Delhi, C and C++ training in Delhi NCR, C and C++ live project training in Delhi NCR at affordable price. To get details information about free and timing visit our website Edutech.rkmsolution.com.

    ReplyDelete
  30. Found your post to be very useful and informative. Appreciate the great work.
    HTML5 Training Institutes in Chennai | HTML5 Training Institutes in Chennai

    ReplyDelete
  31. Excellent, what a website it is! this webpage provides valuable to us, keep it up.
    my site:-
    Bikini Image | Actress Bikimi Images

    ReplyDelete

  32. <a href="http://www.openaccess.co.zw>Web Services in Zimbabwe</a>-We at Open Access offer internet service, broadband service & web services in Zimbabwe. Register your Domain with our domain services. Visit us for Fibre in Zimbabwe.

    ReplyDelete
  33. Awesome article...thanks for sharing the useful and helpful information...I have a added my best blog list because this information useful for us...Web Design Company Bangalore | Web Development Company Bangalore

    ReplyDelete
  34. Broadband Services in Zimbabwe-Open Access is popular hotspot, internet and broadband service provider in Zimbabwe. That is not matter that where you are in Zimbabwe. Visit us for current list of Open Access Hotspots.

    ReplyDelete
  35. Great information about C++..
    I would like to share some useful links. You can get most useful C++ Tutorials and C++ Interview Questions and Answers here.

    ReplyDelete
  36. This is awesome information for a programmer Thanks Madhyam Technologies

    ReplyDelete
  37. farmhouses in TuscanyTuscany farmhouses; Selection of the best accommodations in Tuscany such as farmhouses (farm holidays), holiday apartments, villas, hotels and bed and breakfasts in Tuscany area.

    ReplyDelete
  38. Nice For U, Dont Forget Me.. And Yu See My Web - Regards :
    obat kuat viagra
    obat viagra
    viagra asli
    beli viagra
    http://viagra-id.com/obat-kuat/distributor-harga-obat-kuat-viagra/

    ReplyDelete
  39. To know the programming technique: "Make Your Program Trial Version in C" visit:
    udebayan.blogspot.com

    ReplyDelete
  40. gps tracking-GPS Tracking Solutions to suit any budget. Based in Sydney Australia. GPS Trackers for all applications from vehicle tracking to personal tracking

    ReplyDelete
  41. Kepran infosoft offers professional ecommerce development services. Maximize your online potential with a specialist Ecommerce Website Development Company in India
    Ecommerce Development Services

    ReplyDelete
  42. Kepran infosoft offers professional ecommerce development services. Maximize your online potential with a specialist Ecommerce Website Development Company in India
    Ecommerce Development Services

    ReplyDelete
  43. I'am planning to join C++ course. I want some expert advice whether i should go for it or not.
    C training in chennai|C++ training in chennai|c language training|FITA Chennai complaints

    ReplyDelete
  44. Refer:
    http://opencv-hub.blogspot.in/

    ReplyDelete
  45. C language is a computer programming language.Very easy to learn and a strutured language. C language is a object oriented programming.
    C++ training in chennai | Unix training in Chennai | FITA Velachery Reviews

    ReplyDelete
  46. I am proud of your site, & interested.Among all overseas companies Clipping Path United service
    that offers photo editing service, why choose us to outsource the services for you. Thanks
    Image Processing Services

    ReplyDelete
  47. it's really great job. thanks a lot

    ReplyDelete
  48. The main thing which i like about web designing is that it needs creativity and we need to work differently acccording to our clients need this needs a creativity and innovation.
    web designing course in chennai|web designing training in chennai|web designing courses in chennai

    ReplyDelete
  49. This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

    Love from

    ReplyDelete
  50. Very informative blog. I was searching for something like this. your blog helped me a lot. Thank you so much for sharing. Web Design Miami

    ReplyDelete
  51. Helpful article for learning programming language, Thanks for sharing

    ReplyDelete
  52. Thank you for sharing very informatics and useful post about very useful info.... Turbo-IVP (Invoice Validation Portal) and Turbo eSigner

    ReplyDelete
  53. The blog was absolutely fantastic! Lot of great information which can be helpful in some or the other way. Keep updating the blog, looking forward for more contents...Great job, keep it up..
    Bangalore Web Design Company | Web Designing Company Bangalore

    ReplyDelete
  54. This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

    Love from

    ReplyDelete
  55. I really enjoy your article. It was great post on this object oriented language (C++).
    Web Design Company Bangalore | Web Development Company Bangalore

    ReplyDelete
  56. Thanks to sharing article and nice services in your website.......

    ReplyDelete
  57. Programming is combination of intelligent and creative work. Programmers can do anything with code. The entire Programming tutorials that you mention here on this blog are awesome. Beginners Heap also provides latest tutorials of Programming from beginning to advance level. Be with us to learn programming in new and creative way.

    ReplyDelete
  58. Thanks for sharing about the entire list of OpenCV. I will be waiting for your next level post. Keep sharing. Very nice keep it up!
    With Regards,
    Website Development Company in Bangalore
    Ecommerce Website Development

    ReplyDelete
  59. Programming is combination of intelligent and creative work. Programmers can do anything with code. The entire Programming tutorials that you mention here on this blog are awesome. Beginners Heap also provides latest tutorials of Programming from beginning to advance level.
    Be with us to learn programming in new and creative way.

    ReplyDelete
  60. Pretty section of content. I just stumbled upon your website and in accession capital to
    assert that I acquire actually enjoyed account your blog posts.
    Visit our php tutorial

    ReplyDelete
  61. Such a great information on C Tutorial. Also helpful to search and full details on Java Tutorial. Thanks for it...

    ReplyDelete
  62. Your post is just outstanding! thanx for such a post,its really going great and great work.You have provided great knowledge about the Website Designing services in Bangalore | Brochure Designing in Bangalore.

    ReplyDelete
  63. Tree House Resort, Jaipur is the main common tree house resort around the local area loaning a serene and near nature experience to its visitors. This acclaimed resort is situated in the midst of slopes, woods and streams. It gives a perfect setting to a one of a kind ordeal.
    Visit: http://resortsnearjaipur.com/

    ReplyDelete
  64. Tree House Resort, Jaipur is the main common tree house resort around the local area loaning a serene and near nature experience to its visitors. This acclaimed resort is situated in the midst of slopes, woods and streams. It gives a perfect setting to a one of a kind ordeal.
    Visit: http://resortsnearjaipur.com/

    ReplyDelete
  65. Tree House Resort, Jaipur is the main common tree house resort around the local area loaning a serene and near nature experience to its visitors. This acclaimed resort is situated in the midst of slopes, woods and streams. It gives a perfect setting to a one of a kind ordeal.
    Visit: http://resortsnearjaipur.com/

    ReplyDelete
  66. Tree House Resort, Jaipur is the main common tree house resort around the local area loaning a serene and near nature experience to its visitors. This acclaimed resort is situated in the midst of slopes, woods and streams. It gives a perfect setting to a one of a kind ordeal.
    Visit: http://resortsnearjaipur.com/

    ReplyDelete


  67. Delhi is a center of delights for fun lovers and for those who want to enjoy each and every moment of life. If are you planning for a holiday celebration around Delhi then you have reached the very right place. ResortsNearDelhi.co.in, a Division of ‘COMFORT YOUR JOURNEY PVT LTD’ avails you the options for Weekend Getaways Near Delhi.
    visit: http://www.bestholidaystrip.com/

    ReplyDelete


  68. Delhi is a center of delights for fun lovers and for those who want to enjoy each and every moment of life. If are you planning for a holiday celebration around Delhi then you have reached the very right place. ResortsNearDelhi.co.in, a Division of ‘COMFORT YOUR JOURNEY PVT LTD’ avails you the options for Weekend Getaways Near Delhi.
    visit: http://www.bestholidaystrip.com/

    ReplyDelete


  69. Delhi is a center of delights for fun lovers and for those who want to enjoy each and every moment of life. If are you planning for a holiday celebration around Delhi then you have reached the very right place. ResortsNearDelhi.co.in, a Division of ‘COMFORT YOUR JOURNEY PVT LTD’ avails you the options for Weekend Getaways Near Delhi.
    visit: http://www.bestholidaystrip.com/

    ReplyDelete
  70. Thank you, this is the best tutorial which i've seen
    What a shame, that here is only a few lections .
    the best android training institute

    ReplyDelete

  71. Delhi is a center of delights for fun lovers and for those who want to enjoy each and every moment of life. If are you planning for a holiday celebration around Delhi then you have reached the very right place. ResortsNearDelhi.co.in, a Division of ‘COMFORT YOUR JOURNEY PVT LTD’ avails you the options for Weekend Getaways Near Delhi.
    visit: http://www.bestholidaystrip.com/

    ReplyDelete

  72. Delhi is a center of delights for fun lovers and for those who want to enjoy each and every moment of life. If are you planning for a holiday celebration around Delhi then you have reached the very right place. ResortsNearDelhi.co.in, a Division of ‘COMFORT YOUR JOURNEY PVT LTD’ avails you the options for Weekend Getaways Near Delhi.
    visit: http://www.bestholidaystrip.com/

    ReplyDelete

  73. Delhi is a center of delights for fun lovers and for those who want to enjoy each and every moment of life. If are you planning for a holiday celebration around Delhi then you have reached the very right place. ResortsNearDelhi.co.in, a Division of ‘COMFORT YOUR JOURNEY PVT LTD’ avails you the options for Weekend Getaways Near Delhi.
    visit: http://www.bestholidaystrip.com/

    ReplyDelete
  74. New Year 2017 is an event of pleasures. So we should praise it together with charming and a brilliant flavoring of move gathering, boundless beverages, mixed drink, barkeeps, bucketful of snacks, commencement to be the most energizing one and exquisite scrumptious food stuff with New Year bundles close Delhi.
    visit: http://newyearpackagesneardelhi.com/

    ReplyDelete
  75. New Year 2017 is an event of pleasures. So we should praise it together with charming and a brilliant flavoring of move gathering, boundless beverages, mixed drink, barkeeps, bucketful of snacks, commencement to be the most energizing one and exquisite scrumptious food stuff with New Year bundles close Delhi.
    visit: http://newyearpackagesneardelhi.com/

    ReplyDelete
  76. New Year 2017 is an event of pleasures. So we should praise it together with charming and a brilliant flavoring of move gathering, boundless beverages, mixed drink, barkeeps, bucketful of snacks, commencement to be the most energizing one and exquisite scrumptious food stuff with New Year bundles close Delhi.
    visit: http://newyearpackagesneardelhi.com/

    ReplyDelete
  77. Magicjack Support 1-800-653-4096,
    Customer Support For Magicjack
    https://completepcsolution.net/magicjack-support.html
    COMPLETEPCSOLUTION is one of the best way to resolve
    all problems like magicjack technical support,
    magicjack customer suppport and installation,
    magicjack contact number.

    ReplyDelete
  78. Observe New Year's Eve in style by heading out to experience it in one of the world's most
    energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. visit: New Year Packages 2017

    ReplyDelete
  79. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. Visit: New Year Packages near Delhi

    ReplyDelete
  80. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. visit: New Year Packages Near Delhi

    ReplyDelete
  81. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. visit: New year Packages 2017

    ReplyDelete
  82. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. Visit: New Year Packages Near Delhi

    ReplyDelete
  83. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. visit: New Year Packages 2017

    ReplyDelete
  84. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. Visit: New year Packages Near delhi

    ReplyDelete
  85. for preparing bank exam and group exam , we are providing an online test model questions papers

    Group Exam Questions and Answers
    Bank Exam Questions and Answers

    ReplyDelete

  86. Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Mark the commencement to 2017 with a New Year's Eve break to one of the numerous urban areas we travel to overall, for example, Edinburgh, New York, Rio or Sydney, and wake up to a radical new view on New Year's Day. visit: New Year packages Near Delhi

    ReplyDelete
  87. The Terraces, a boutique spa resort that is a valuable gem in the crown of Uttarakhand gives you a striking, charming and propping occasion encounter. Set in the midst of grand woodlands of pine, the immaculate hotel, travel, Wellness, experience, gathering, feasting, and amusement offices at The Terraces mix delightfully with nature's abundance.
    Visit: http://www.kanatalresorts.in/the-terraces-resort-kanatal.html

    ReplyDelete
  88. RareTag is the only institute who provide theory plus practical classes for the C and the other programming language. its the best training institute.
    C and C++ Programming Language Institute

    ReplyDelete
  89. New Year Packages Near Delhi Book Now:-
    Observe New Year's Eve in style by heading out to experience it in one of the world's most energizing goals with British Airways. Visit: http://newyearpackage.co.in/

    ReplyDelete
  90. New Year 2017 is an event of pleasures. So we should praise it together with charming and a brilliant flavoring of move gathering, boundless beverages, mixed drink, barkeeps, bucketful of snacks, commencement to be the most energizing one and exquisite scrumptious food stuff with New Year bundles close Delhi.
    Visit: http://newyearpackage.co.in

    ReplyDelete
  91. Weddings are extraordinary so why get hitched in a normal place. It is not obligatory to have a goal wedding. There are a lot of stunning wedding settings in and around Delhi you ought to look at on the off chance that you are making arrangements for a wedding at any point in the near future. Visit: http://resorts.neardelhi.in/wedding-venues-delhi.html

    ReplyDelete

  92. New Year Packages Near Delhi....Book now...
    visit: New Year Packages

    ReplyDelete
  93. Everybody have particular arrangements for a getaway or a New Year party Near Delhi as it is the a standout amongst the most event places in the nation.Visit: New Year Packages Near Delhi

    ReplyDelete
  94. New Year 2017 is an event of pleasures. So we should praise it together with charming and a brilliant flavoring of move gathering, boundless beverages, mixed drink, barkeeps, bucketful of snacks, commencement to be the most energizing one and exquisite scrumptious food stuff with New Year bundles close Delhi.
    Visit: New Year Packages 2017

    ReplyDelete
  95. http://smtechportal.net/483/asus-zenpad-s-8-0-z580ca-full-tab.html

    ReplyDelete
  96. very useful information
    Thanks for sharing this information .I appreciate this blog.
    job circular

    ReplyDelete
  97. Everybody have particular arrangements for a getaway or a New Year party Near Delhi as it is the a standout amongst the most event places in the nation.So on the off chance that you are hoping to do a festival close Delhi then the accompanying data may offer assistance.Visit: New Year Packages Near delhi

    ReplyDelete
  98. Everybody have particular arrangements for a getaway or a New Year party Near Delhi as it is the a standout amongst the most event places in the nation.So on the off chance that you are hoping to do a festival close Delhi then the accompanying data may offer assistance.Visit: New Year Packages 2017

    ReplyDelete

  99. New Year 2017 is an event of pleasures. So we should praise it together with charming and a brilliant flavoring of move gathering, boundless beverages, mixed drink, barkeeps, bucketful of snacks, commencement to be the most energizing one and exquisite scrumptious food stuff with New Year bundles close Delhi.
    visit: New Year Packages 2017

    ReplyDelete