Code Monkey home page Code Monkey logo

c-examples-ipcv's Introduction

C Image Processing and Computer Vision OpenCV Teaching Examples

OpenCV C Interface Image Processing and Computer Vision legacy examples used for teaching, instruction and reference over the years (2006-2010).

Uses C interface to OpenCV, with additional C++ code - as these examples pre-date the C++ OpenCV interface - available post OpenCV 2.x

All tested with OpenCV 2.x and GCC (Linux) and known to work with MS Visual Studio 200x on Win32 / Win64. N.B. due to changes in the OpenCV API some of these do not generically work with OpenCV > 2.x by default. Cmake by default now only builds those that work eith OpenCV 2.x and 3.x.

(see https://github.com/tobybreckon/cpp-examples-ipcv for OpenCV 3.x C++ examples).


Background:

If I taught you between 2006 and 2010+ at Cranfield University or ESTIA - these are the examples from class.

Additionally used to generate the video examples within the ebook version of:

Dictionary of Computer Vision and Image Processing (R.B. Fisher, T.P. Breckon, K. Dawson-Howe, A. Fitzgibbon, C. Robertson, E. Trucco, C.K.I. Williams), Wiley, 2014. [Google Books] [doi]


How to Build and run:

git clone https://github.com/tobybreckon/c-examples-ipcv.git
cd c-examples-ipcv
cmake .
make
./<insert executable name of one of the examples>

Demo source code is provided "as is" to aid your learning and understanding -- see my textbook http://www.fundipbook.com for the theory (and matlab code also).

Most run with a webcam connected or from a command line supplied video file of a format OpenCV supports on your system (otherwise edit the script to provide your own image source).

N.B. you may need to change the line near the top that specifies the camera device to use on some examples below - change "0" if you have one webcam, I have it set to "1" to skip my built-in laptop webcam and use the connected USB camera.


Reference:

All techniques are fully explained in corresponding section of:

Fundamentals of Digital Image Processing: A Practical Approach with Examples in Matlab, Chris J. Solomon and Toby P. Breckon, Wiley-Blackwell, 2010 ISBN: 0470844736, DOI:10.1002/9780470689776, http://www.fundipbook.com

bibtex:
@Book{solomonbreckon10fundamentals,
  author 	= 	 {Solomon, C.J. and Breckon, T.P.},
  title 	= 	 {Fundamentals of Digital Image Processing:
                                A Practical Approach with Examples in Matlab},
  publisher 	= 	 {Wiley-Blackwell},
  year 		= 	 {2010},
  isbn 		= {0470844736},
  doi 		= {10.1002/9780470689776},
  url 		= {http://www.fundipbook.com}
}

If you find any bugs report them to me (or better still submit a pull request, please) - [email protected]

"may the source be with you" - anon.

c-examples-ipcv's People

Contributors

tobybreckon avatar

Stargazers

Shashank Shekhar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.