Re: [PD] GEM - camera lens correction or camera calibration

2013-01-11 Thread Dario Pedrioli
hi all

I had problems with pix_opencv compilation (mainly due to openCV 2.4
installed instead of the packaged version 2.3).
I've solved so I want to share my experience.

My configuration is ubuntu 12.04 64bit, pd-extended 0.43.1_20120421
installed, openCV 2.4

Below the problems with the solutions:

error 1: /usr/include/Gem/Gem/glew.h: 1149:20: fatal error: GL/glu.h: No
such file or directory
solved installing libglu1-mesa-dev

error 2: /usr/include/Gem/Gem/RTE.h:22:18: fatal error: m_pd.h: No such
file or directory
solved changing line 61 of Makefile file with this line (pointing to
pdextended include instead of pd): PD_INCLUDE =
$(PD_PATH)/include/pdextended instead of PD_INCLUDE = $(PD_PATH)/include/pd

error 3: pix_opencv_lk.cc:902:59: error: ‘cvSubdiv2DEdgeOrg’ was not
declared in this scope
solved with installation of legacy opencv: sudo apt-get install libcv-dev
libcvaux-dev

error 4: blobtrack.h:20:82: error: ‘CV_BG_MODEL_MOG’ was not declared in
this scope
solved: uninstalled opencv 2.4.1 and now everything compile fine with
opencv 2.3 (installed through apt-get install libopencv-dev libcv-dev
libhighgui-dev)!

so the main problem is that pix_opencv is conflicting with opencv 2.4
in the README.TXT is correctly specified that version of opencv is 2.3 but
I (failing) thought that it can be compatible.

thanks a lot for the great job!
ciao


2013/1/8 Antoine Villeret antoine.ville...@gmail.com

 hi,

 don't hesitate to ask here if you need help to use pix_opencv_calibration
 i don't know anybody using it except cyille and me and perhaps the help
 file is not clear enought
 it would be a good test :-)

 cheers

 a

 PS : don't forget to check the other new cool features of pix_opencv ;-)

 --
 do it yourself
 http://antoine.villeret.free.fr


 2013/1/8 Dario Pedrioli dariopedri...@gmail.com

 Thanks a lot.

 ciao
 dario


 2013/1/8 Cyrille Henry c...@chnry.net

 hello,

 up to date sources are on pd externals svn, on sourceforge.
 http://pure-data.svn.**sourceforge.net/viewvc/pure-**
 data/trunk/externals/http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/

 cheers
 c

 Le 08/01/2013 15:46, Dario Pedrioli a écrit :

 Thanks a lot Jack and Cyrille

 Wow! I didn't know of the existence of pix_opencv_calibration! I will
 have a try as soon as possible!
 so http://www.hangar.org/wikis/**lab/doku.php?id=start:**
 puredata_opencvhttp://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencvis
  not the main and updated page for pix_opencv stuff?
 what's the main repository?

 ciao
 dario


 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list



 ___
 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] GEM - camera lens correction or camera calibration

2013-01-08 Thread Jack
Le 08/01/2013 12:50, Dario Pedrioli a écrit :
 Hi all,

 I'm trying to do a simple planar stereo vision installation (two
 camera that see a plane from a side) trying to reconstruct object
 position on the plane.

 I need to undistort my camera input (wide angle lens) for later blob
 detection.

 Has someone worked on undistort camera input or better on camera
 calibration in GEM?

 ciao
 Dario


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

Hello,

I think you could find something interesting in the Gem examples :
GLSL/13.panoramique.pd
This patch use GLSL shaders to revise the distorsion on several pictures.
Hoping it helps.
++

Jack


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM - camera lens correction or camera calibration

2013-01-08 Thread Cyrille Henry

for better lens calibration, see pix_opencv object (pix_opencv_calibration).
cheers
c

Le 08/01/2013 13:31, Jack a écrit :

Le 08/01/2013 12:50, Dario Pedrioli a écrit :

Hi all,

I'm trying to do a simple planar stereo vision installation (two camera that 
see a plane from a side) trying to reconstruct object position on the plane.

I need to undistort my camera input (wide angle lens) for later blob detection.

Has someone worked on undistort camera input or better on camera calibration in 
GEM?

ciao
Dario


___
Pd-list@iem.at  mailing list
UNSUBSCRIBE and account-management -http://lists.puredata.info/listinfo/pd-list


Hello,

I think you could find something interesting in the Gem examples : 
GLSL/13.panoramique.pd
This patch use GLSL shaders to revise the distorsion on several pictures.
Hoping it helps.
++

Jack




___
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] GEM - camera lens correction or camera calibration

2013-01-08 Thread Dario Pedrioli
Thanks a lot Jack and Cyrille

Wow! I didn't know of the existence of pix_opencv_calibration! I will have
a try as soon as possible!
so http://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencv is not
the main and updated page for pix_opencv stuff?
what's the main repository?

ciao
dario
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM - camera lens correction or camera calibration

2013-01-08 Thread Cyrille Henry

hello,

up to date sources are on pd externals svn, on sourceforge.
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/

cheers
c

Le 08/01/2013 15:46, Dario Pedrioli a écrit :

Thanks a lot Jack and Cyrille

Wow! I didn't know of the existence of pix_opencv_calibration! I will have a 
try as soon as possible!
so http://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencv is not the 
main and updated page for pix_opencv stuff?
what's the main repository?

ciao
dario


___
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] GEM - camera lens correction or camera calibration

2013-01-08 Thread Dario Pedrioli
Thanks a lot.

ciao
dario


2013/1/8 Cyrille Henry c...@chnry.net

 hello,

 up to date sources are on pd externals svn, on sourceforge.
 http://pure-data.svn.**sourceforge.net/viewvc/pure-**data/trunk/externals/http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/

 cheers
 c

 Le 08/01/2013 15:46, Dario Pedrioli a écrit :

 Thanks a lot Jack and Cyrille

 Wow! I didn't know of the existence of pix_opencv_calibration! I will
 have a try as soon as possible!
 so 
 http://www.hangar.org/wikis/**lab/doku.php?id=start:**puredata_opencvhttp://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencvis
  not the main and updated page for pix_opencv stuff?
 what's the main repository?

 ciao
 dario


 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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] GEM - camera lens correction or camera calibration

2013-01-08 Thread Antoine Villeret
hi,

don't hesitate to ask here if you need help to use pix_opencv_calibration i
don't know anybody using it except cyille and me and perhaps the help file
is not clear enought
it would be a good test :-)

cheers

a

PS : don't forget to check the other new cool features of pix_opencv ;-)

--
do it yourself
http://antoine.villeret.free.fr


2013/1/8 Dario Pedrioli dariopedri...@gmail.com

 Thanks a lot.

 ciao
 dario


 2013/1/8 Cyrille Henry c...@chnry.net

 hello,

 up to date sources are on pd externals svn, on sourceforge.
 http://pure-data.svn.**sourceforge.net/viewvc/pure-**
 data/trunk/externals/http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/

 cheers
 c

 Le 08/01/2013 15:46, Dario Pedrioli a écrit :

 Thanks a lot Jack and Cyrille

 Wow! I didn't know of the existence of pix_opencv_calibration! I will
 have a try as soon as possible!
 so 
 http://www.hangar.org/wikis/**lab/doku.php?id=start:**puredata_opencvhttp://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencvis
  not the main and updated page for pix_opencv stuff?
 what's the main repository?

 ciao
 dario


 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list



 ___
 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