Re: [PD] stereo vision
Luke Iannini wrote: On Wed, Jan 28, 2009 at 5:57 PM, Luke Iannini wrote: On Wed, Aug 27, 2008 at 5:07 PM, wrote: Quoting Simon Kilshaw : Hey, I got myself a pair of anaglyph glasses (like you get at the cinema)- and managed to play around quite successfully with the stereo patch in gem examples (pd extended- Have to be green and red glasses (not the blue and red i think). i think olson wants to do the opposite: take a stereo-image of the real-world (with two cameras) and try to somehow get a "model" of this real-world into softworld; rather than synthesizing a pseudo-3d visual of a virtual world. simon: you are right, color-separated anaglyph images are currently done in red/green, and if you want to change that you would have to recompile Gem. Hi IOhannes, any tips on where to change this? I can only find red/blue glasses here in town (maybe I could add a 4th mode for red/blue rather than red/green rather than replacing it so everyone can be happy?) O, just saw the "stereoSep" etc. messages, probably better to do it that way, like stereoColor 0/1 for redgreen/redblue or something even cooler would be a way to specify the colormask via messages, so people can use any other combination they come across. anyhow, the relevant code is in Base/GemMan.cpp:714-715 where you can shose which colormask to apply for the 2 views (0=red, 1=green, 2=blue). however, on the (not so) long run this should be moved to abstractions fgmadsr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] stereo vision
On Wed, Jan 28, 2009 at 5:57 PM, Luke Iannini wrote: > On Wed, Aug 27, 2008 at 5:07 PM, wrote: >> Quoting Simon Kilshaw : >> >>> >>> Hey, >>> I got myself a pair of anaglyph glasses (like you get at the >>> cinema)- and managed to play around quite successfully with the >>> stereo patch in gem examples (pd extended- Have to be green and red >>> glasses (not the blue and red i think). >> >> i think olson wants to do the opposite: take a stereo-image of the >> real-world (with two cameras) and try to somehow get a "model" of this >> real-world into softworld; rather than synthesizing a pseudo-3d visual >> of a virtual world. >> >> simon: you are right, color-separated anaglyph images are currently >> done in red/green, and if you want to change that you would have to >> recompile Gem. > Hi IOhannes, any tips on where to change this? I can only find > red/blue glasses here in town (maybe I could add a 4th mode for > red/blue rather than red/green rather than replacing it so everyone > can be happy?) O, just saw the "stereoSep" etc. messages, probably better to do it that way, like stereoColor 0/1 for redgreen/redblue or something > Best > Luke > >> i think this is an issue that should be solved; but then, i also think >> that rather few people really use this feature, and if they do so they >> are probably up to do the compilation stuff; at least nobody has yet >> complained are filed a feature-request. >> >> olaf: seems like there are no computer-vision experts around here; at >> least i am not one of them; this might explain the lack of answers to >> your original mail (which at least i received) >> >> fgmadr >> IOhannes >> >> >> This message was sent using IMP, the Internet Messaging Program. >> >> >> >> ___ >> Pd-list@iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] stereo vision
On Wed, Aug 27, 2008 at 5:07 PM, wrote: > Quoting Simon Kilshaw : > >> >> Hey, >> I got myself a pair of anaglyph glasses (like you get at the >> cinema)- and managed to play around quite successfully with the >> stereo patch in gem examples (pd extended- Have to be green and red >> glasses (not the blue and red i think). > > i think olson wants to do the opposite: take a stereo-image of the > real-world (with two cameras) and try to somehow get a "model" of this > real-world into softworld; rather than synthesizing a pseudo-3d visual > of a virtual world. > > simon: you are right, color-separated anaglyph images are currently > done in red/green, and if you want to change that you would have to > recompile Gem. Hi IOhannes, any tips on where to change this? I can only find red/blue glasses here in town (maybe I could add a 4th mode for red/blue rather than red/green rather than replacing it so everyone can be happy?) Best Luke > i think this is an issue that should be solved; but then, i also think > that rather few people really use this feature, and if they do so they > are probably up to do the compilation stuff; at least nobody has yet > complained are filed a feature-request. > > olaf: seems like there are no computer-vision experts around here; at > least i am not one of them; this might explain the lack of answers to > your original mail (which at least i received) > > fgmadr > IOhannes > > > This message was sent using IMP, the Internet Messaging Program. > > > > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] stereo vision
Quoting Simon Kilshaw <[EMAIL PROTECTED]>: > > Hey, > I got myself a pair of anaglyph glasses (like you get at the > cinema)- and managed to play around quite successfully with the > stereo patch in gem examples (pd extended- Have to be green and red > glasses (not the blue and red i think). i think olson wants to do the opposite: take a stereo-image of the real-world (with two cameras) and try to somehow get a "model" of this real-world into softworld; rather than synthesizing a pseudo-3d visual of a virtual world. simon: you are right, color-separated anaglyph images are currently done in red/green, and if you want to change that you would have to recompile Gem. i think this is an issue that should be solved; but then, i also think that rather few people really use this feature, and if they do so they are probably up to do the compilation stuff; at least nobody has yet complained are filed a feature-request. olaf: seems like there are no computer-vision experts around here; at least i am not one of them; this might explain the lack of answers to your original mail (which at least i received) fgmadr IOhannes This message was sent using IMP, the Internet Messaging Program. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] stereo vision
;d like to try to make a stereo version of moogladder~ and also try tanh optimizations to reduce the cpu load. /Anton -- Message: 4 Date: Wed, 27 Aug 2008 09:18:38 +0200 From: " Anton H?rnquist " <[EMAIL PROTECTED]> Subject: [PD] Csound opcode Moogladder to Pd To: pd-list@iem.at Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 > I now made a version where cutoff and resonance are signals. This > version is a bit more CPU intensive now, as some computations had to > move into the DSP loop to react to the changes in center frequency. Awesome! To my ears it sounds great - very close to the Csound-version. > I played a bit with a rational tanh approximation from the music-dsp > list but it didn't sound good anymore. If someone wants to play with > other approximations e.g. table lookup: Just change the function > "mytanh". Some optimizations are needed for reducing cpu load, true, I'll look into it. > The filter response gets nasty and loud if the center frequency is near > or above the sampling rate. Maybe it should be restricted as well. But > then, resonance at 1 will make everyone jump, too... Yeah I noticed that aswell. I think the Csound-version has cutoff restricted to 0...1, which is 0...11050 in hertz. Thanks again. /Anton -- Message: 5 Date: Wed, 27 Aug 2008 10:08:13 +0200 From: Frank Barknecht <[EMAIL PROTECTED]> Subject: Re: [PD] Csound opcode Moogladder to Pd To: pd-list@iem.at Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Hallo, Anton H?rnquist hat gesagt: // Anton H?rnquist wrote: > > The filter response gets nasty and loud if the center frequency is near > > or above the sampling rate. Maybe it should be restricted as well. But > > then, resonance at 1 will make everyone jump, too... > > Yeah I noticed that aswell. I think the Csound-version has cutoff > restricted to 0...1, which is 0...11050 in hertz. Only resonance is restricted to 0 and 1. It is in the pd version as well. I made some tests now and it seems it's not the cutoff frequency alone that makes the filter run wild. With resonance set to 0 a cutoff of 96kHz when running at SR = 48kHz doesn't go wild. But set resonance to 0.1 and it runs away. So in the end I'd say, just be careful and if in doubt [clip~] your input values. Another issue may be denormalization, so some PD_BIG_OR_SMALL checks could be useful. Ciao -- Frank Barknecht -- Message: 6 Date: Wed, 27 Aug 2008 10:10:38 +0200 From: Frank Barknecht <[EMAIL PROTECTED]> Subject: Re: [PD] Csound opcode Moogladder to Pd? To: pd-list@iem.at Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Hallo, Martin Peach hat gesagt: // Martin Peach wrote: > Here is a dll of Frank's moogladder~ v.02 compiled against pd 0.40_2 > The code should go in svn somewhere. > ( I replaced 2*M_PI in the code with TWO_PI to avoid a multiply > (compiler optimisation maybe does that already)). Did you define that yourself? My math.h doesn't have TWO_PI ... Ciao -- Frank -- Message: 7 Date: Wed, 27 Aug 2008 10:29:51 +0200 From: "olsen wolf" <[EMAIL PROTECTED]> Subject: [PD] stereo vision To: pd-list Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 i posted this a few days ago i guess it didn't came through... > hi > i just got 2 logitech webcams at once running & started playing around with > them. my curiosity is orbiting around computer stereo vision & construction > of depth. is anyone > experienced with things like binocular disparity algorythm for stereo vision > & might have some recommendations? as far as my nose dipped into research > there's nothing within pds extensions?! > thanks for hints & salutis > olsen -- Planet Pluto bleibt! -- Message: 8 Date: Wed, 27 Aug 2008 10:48:56 +0100 From: Claude Heiland-Allen <[EMAIL PROTECTED]> Subject: Re: [PD] Csound opcode Moogladder to Pd? To: PD-List Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Frank Barknecht wrote: >> ( I replaced 2*M_PI in the code with TWO_PI to avoid a multiply >> (compiler optimisation maybe does that already)). > > Did you define that yourself? My math.h doesn't have TWO_PI ... depending on compiler options, my math.h doesn't have M_PI ... http://c-faq.com/fp/mpi.html Claude -- ___ Pd-list mailing list Pd-list@iem.at to manage your subscription (including un-subscription) see http://lists.puredata.info/listinfo/pd-list End of Pd-lis
[PD] stereo vision
i posted this a few days ago i guess it didn't came through... > hi > i just got 2 logitech webcams at once running & started playing around with > them. my curiosity is orbiting around computer stereo vision & construction > of depth. is anyone > experienced with things like binocular disparity algorythm for stereo vision > & might have some recommendations? as far as my nose dipped into research > there's nothing within pds extensions?! > thanks for hints & salutis > olsen -- Planet Pluto bleibt! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] stereo vision - disparity
hi i just got 2 logitech webcams at once running & started playing around with them. my curiosity is orbiting around computer stereo vision experiencing gravity by it's construction of depth. is anyone experienced with things like binocular disparity algorythm for stereo vision & might have some recommendations? as far as my nose dipped into research there's nothing within pds extensions?! thanks for hints & salutis olsen -- Planet Pluto bleibt! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list