← Back

ofxKu

github.com/kuflex/ofxKu · @kuflex
OF 0.10 Utilities

Kuflex extension for openFrameworks

9 2 Last commit 7y ago Created 10y ago

Forks

Forks pushed to more recently than kuflex/ofxKu itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

perevalovds/ofxKu by @perevalovds · ★ 6 · pushed 2y ago

README

ofxKu

Kuflex extension for openFrameworks.

It contains classes and functions for rendering, image analysis and working with files, which we are using in Kuflex projects. Modules are relatively independent. Module ofxKuRasterOpenCV requires ofxOpenCv addon to work - if you don't need it, kust not include in your project. ofxKuFileTime::isNewerThan function implementation doesn't works in oF >= 0.9.0, te simplest workaround is change it to return always 'true'.

Drawing

ofxKuRectRender class for fast rendering rectangles ofxKuLineRender class for fast rendering lines ofxKuVertexRender class for fast rendering points ofxKuDrawTextureFit(ofTexture &tex, float x, float y, float w, float h) function in ofxKuDrawUtils for fitting texture in rectangle ofxKuDrawRaster draws raster array

Image processing

ofxKuRaster.h - include it for accessing all image processing functions ofxKuRasterArithmetics - add, subtract, multiply, divide, threshold, find mask for range values, count number of pixels in range, project on axes, histogram for raster arrays ofxKuRasterBlur_int, ofxKuRasterBlur_float - box blur for raster arrays ofxKuRasterInterpolate - interpolation of raster arrays, including ofPoint rasters ofxKuRasterMorphology - dilatation and erosion, contour detection ofxKuRasterResize_nearest - resize raster arrays ofxKuFloodFill function which do flood fill in array, removing small blobs ofxKuRasterOpenCV - gaussian smoothing, convex hull, implemented with OpenCV. Requires ofxOpenCv addon.

Statistics

ofxKuMathStat - compute median value of the vector

Values

ofxKuValueCheckChange - checks if value was changed ofxKuSlowBit - bit, controllable changing it state

Presets

ofxKuPreset - presets maintaining system

Utilities for files

ofxKuBufferRecorder class for recording/replaying data buffers, such as kinect data ofxKuFile - write and read text files as vector of strings

Get this addon

HTTPS
SSH