Closed kylemcdonald closed 12 years ago
How is that cleaner? ... then people have to download 2 addons if they want to do basic stuff. It isn't possible to just be able to disable any of the built in depth processing? Or better yet, have something like an ofxKinectDepthProcessor class that you load into ofxKinect which provides a way to swap out a default processor with an OpenNI or custom processor, etc ...
It makes more sense to me to keep it together unless you plan to make it truly "generic", but I can't think of any other system so far that would use it besides your dual RGB camera setup.
"unless you plan to make it truly 'generic'" yeah, this is exactly, what i had in mind :) i'd like to encourage people to try different acquisition systems rather than limiting them to the kinect. especially because i have work from ofxStructuredLight that intersects with ofxKinect and belongs in an intermediate space.
downloading multiple addons can be avoided by simply posting a single zip with both included.
If that's your plan, the I'd suggest that each depth addon takes an ofxDepthProcessor object which can be derived for different processes. This way it's easy for others to add new ones ... and ofxKinect can come with a variant by default so basic users have a working system out of the box.
It's a very good idea, in my opinion, since the release of ofxKinect and ofxOpenNI, I have been using both and had to adapt basic depth processing algorithm for both output. Would be a lot easier to have one class wich take depth map independently of the hardware... then it could be adapted to other time of flight camera, to stereo system, structured light or even more complicated multi-camera setup!
Kyle, this is done now right? Can we close this issue?
no, this hasn't even been started yet afaik.
Oh right, I was thinking just the folder restructuring .. dohh.
OK, this seems to be a moot point now that we are moving to the updated freenect that has onboard depth processing.
i'm planning on moving the depth processing, registration, manipulation stuff into a separate addon called ofxDepthUtils, and making ofxKinect the absolute minimal code required to get the kinect talking to OF. this way people can swap out ofxOpenNI for ofxKinect and still have all the useful tools for manipulating and rendering stuff. it should clean up of ofxKinect a bunch, too.
i think it's mostly been arturo and i developing this, and he's on board -- but i'd love to hear if anyone else has any ideas.