Skip to content

tyhenry/opencv-oF-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV oF Experiments

Code experiments related to computer vision & cinema posts on my blog at tylerhenry.com.
Mostly using OpenCV and openFrameworks.


griddedHistogram

Contains Histogrid class: uses OpenCV calcHist to generate histograms for subsections of an ofImage. Written in openFrameworks v.9.0 / XCode 7

uses addons: ofxCv and ofxOpenCv

Hisogrid sample output

SIFT_filterMatches_homography

Updated, more complete SIFT implementation than SIFTtest (see below).
Written in openFrameworks v.9.0 / XCode 7

uses addons: ofxCv and ofxOpenCv

Related tutorial

SIFT Implementation in OpenFrameworks, Part 3

Updates over SIFTtest:

  • SIFT implementation placed inside SIFTMatcher class
  • added keypoint filter to sort out good keypoint matches
  • added homography transformation to
    calculate 3D warp of query image to train img

SIFT_filterMatches_homography sample output


SIFTtest

First test of SIFT algorithm to match features between two images.
Written in openFrameworks v.9.0 / XCode 7

uses addons: ofxCv and ofxOpenCv

Related tutorial

SIFT Implementation in OpenFrameworks, Part 2

Intro tutorials

  1. Getting Started
  2. Finding Features
  3. SIFT Implementation in OpenFrameworks, Part 1

SIFTtest sample output


optFlowTest

Test of optical flow analysis using Farneback algorithm from OpenCV (through ofxCv) Written in openFrameworks v.9.0 / XCode 7

uses addons: ofxCv, ofxOpenCv and ofxGui

Display local motion in video as a flow field, and also:

  • average motion per frame (red line in video center)
  • average motion per clip (red line on left)
  • track of average motion per clip (blue dot and path)

** Related tutorial**

Optical Flow, Part 1

optFlowtest sample output
YouTube sample

About

Experiments in applying OpenCV to cinema through openFrameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published