Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

perform N dimensional polynomial fits in openFrameworks

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 libs
Octocat-spinner-32 ofxPolyFit_LargeAllocation
Octocat-spinner-32 ofxPolyFit_SimpleExample
Octocat-spinner-32 ofxPolyFit_VideoExample
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 readme.md
readme.md

Introduction

Fit data between any 2 datasets of arbitrary dimensionality

Just a quick note to introduce ofxPolyfit. It’s an openFrameworks extension which allows you to correlate between any 2 numerical datasets of the same or different dimensionality. e.g. a stereo cam is 2x2D, and you want to get 3D, so you could use ofxPolyfit to create your 4D->3D correlation.

Features

  • MD input, ND output
  • templated (choose double or float depending on accuracy / speed requirementes)
  • Object oriented datasets (see pfitDataSet and pfitDataPoint)
  • Simple ransac implementation (use ::RANSAC(..) instead of ::correlate(..) ) - may come in and out of usage

TODO

  • convert bases to be more flexible / OO / communicable
  • create coeffs class that can save / load, associates with bases
Something went wrong with that request. Please try again.