July 23rd, 2008

Created with Emmanuele Mazza
An example of how to create movement along bezier curves. Ii includes algorithms for finding a point along a bezier curve with varying numbers of control points.The simulation creates a curve is 3 dimensions and uses a time blend to animate the circle along the curve.
Version: of_preRelease_v0.05
src.zip
project (code::blocks - linux)
Posted in Code, OpenFrameworks | No Comments »
July 23rd, 2008

A simple class for recording and visualizing a running stream of some float value.
Version: of_preRelease_v0.05
src.zip
project (code::blocks, linux)
Posted in Code, OpenFrameworks | No Comments »
July 23rd, 2008

Updated examples with an easy draggable interface to warp an image.
Version: of_preRelease_v0.05
Addons: ofxXmlSettings
src folder
project ( code::blocks - linux)
Posted in Code, OpenFrameworks | No Comments »
November 21st, 2007
This is a very simple addition to the openFrameworks example, but quite useful. Recently, a colleague needed to play a large movie that spanned two screens, but we could not get any players to run it (at least on that computer), so I wrote a quick player to do it.
fullScreenMoviePlayer
Posted in Code, OpenFrameworks | No Comments »
July 30th, 2007
I had some errors in the previous code (namely the getPixel and draw)
Here is an updated version:
floatImage
You can now set an ofCVGrayscaleImage from the float Image:
myFloatImage.setGrayscaleImage(myGrayImage);
Posted in Code, OpenFrameworks | No Comments »
July 13th, 2007

This is basically how I faked a multi-touch screen using just my video camera. It is not the most efficient or robust way to make a multi-touch interface, but it made sense for the installation. The code can be used for other purposes as well. In particular, converting from a contour or polygon vertices into an image has come in handy quite a few times.
Download OpenFrameworks project: dev c++ | codeWarrior
Download OpenFrameworks source: src.rar
View Source Directory
View Screen Shot
Read the rest of this entry »
Posted in Code, OpenFrameworks | No Comments »
July 5th, 2007

Built with openFrameworks.
A simple app that demonstrates how to use a float image to slowly blend two images together. This can be a useful way to learn a background when performing computer vision.
The original background capture very slowly adds in the current frame so
objects that are introduced into the scene will be integrated into the
background model over time.
View ScreenShot
Note: the application uses some additions to the openFrameworks computer vision add-on.
OpenFrameworks Project: codeWarrior | codeWarrior (app + libs )
OpenFrameworks Source: src.rar | computerVision
testApp.h
testApp.cpp
main.cpp
ofCvFloatImage.h
ofCvFloatImage.cpp
ofCvGrayscaleImage.h
ofCvGrayscaleImage.cpp
ofCvMain.h
Posted in Code, OpenFrameworks | No Comments »
July 2nd, 2007

A simple application that demonstrates how to warp an image. This can be quite useful when colocating a video and projection.
Application files: dev c++ | codeWarrior
Source: src.rar
boxAlign.h
boxAlign.cpp
testApp.h
testApp.cpp
main.cpp
Posted in Code, OpenFrameworks | No Comments »