<div><div dir="auto">Thanks for the ideas.</div></div><div dir="auto">Luckily I will snap the pix just once a second or two. Hope the processor can handle it.</div><div dir="auto">Which correction is easier, curve3d or the shader?</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 17 Jul 2019 at 21:04, Jack <<a href="mailto:jack@rybn.org">jack@rybn.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sure, use a framebuffer with [gemframebuffer] to capture offscreen your<br>
scene.<br>
The problem is to send back your texture produce by [gemframebuffer] in<br>
pix_ domain to use [pix_movement] and [pix_multiblob], fortunately there<br>
is [pix_snap] for this (this process is quite slow, it depends on your<br>
hardware).<br>
Look at :<br>
Help => Gem => examples => 04.pix/ => 26.framebuffer_readback.pd<br>
to see how to use it.<br>
<br>
A note, instead off [curve3d] it is also possible to use shaders (on<br>
fragment) to do the correction of the lens distorsion.<br>
++<br>
<br>
Jack<br>
<br>
<br>
<br>
Le 17/07/2019 à 20:36, Csaba Láng a écrit :<br>
> Looks good, but now a bigger problem came up.<br>
> <br>
> My aim is to correct the fish eye distortion for pix_movement and<br>
> pix_multiblob analyses.<br>
> Which means first I have to make the curve3d correction and then use<br>
> those pixels in pix_multiblob.<br>
> Is it possible?<br>
> <br>
> On Wed, Jul 17, 2019 at 8:16 PM Johnny Mauser<br>
> <<a href="mailto:joson.android@googlemail.com" target="_blank">joson.android@googlemail.com</a> <mailto:<a href="mailto:joson.android@googlemail.com" target="_blank">joson.android@googlemail.com</a>>> wrote:<br>
> <br>
>     Maybe gems [curve3d]? <br>
> <br>
>     Csaba Láng <<a href="mailto:langcsaba@gmail.com" target="_blank">langcsaba@gmail.com</a> <mailto:<a href="mailto:langcsaba@gmail.com" target="_blank">langcsaba@gmail.com</a>>><br>
>     schrieb am Mi., 17. Juli 2019, 20:10:<br>
> <br>
>         Hi list,<br>
>         is there an easy way to correct fish eye camera image distortion?<br>
>         I think if a vortex kind of tool.<br>
>         Best,<br>
>         Popesz<br>
>         _______________________________________________<br>
>         <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> <mailto:<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a>> mailing list<br>
>         UNSUBSCRIBE and account-management -><br>
>         <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
> <br>
> <br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
> <br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div></div>