| ARToolKit | Mailing List Archive |
|
| From: | Alexandre Gillet <gillet@s ..........> | Received: | Feb 25, 2003 |
| To | artoolkit <artoolkit@h ..................> | ||
| Subject: | image size and problem with mirror image. | ||
Hi, A few week a go, someone wrote about modify the video image size at the initialisation step. I lost the email about it.Can someone send it back to me? I am running artoolkit 2.52, with DirectX on windows using a Fire-i camera. I want to be able to run 640*480. What is the best way to do it? do I have to recompile the code? I have also a problem, the simple example code give a mirror image of what I am suppose to get. if an object is on the right of the camera, the image display the object on the left. the answer might already been address, sorry if I ask again but I don't have an archive of it. Thanks Alex -- o Alexandre Gillet email: gillet@s .......... / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860 |
|||
| From: | Alexandre Gillet <gillet@s ..........> | Received: | Feb 25, 2003 |
| To | artoolkit <artoolkit@h ..................> | ||
| Subject: | image size and problem with mirror image. | ||
Hi, A few week a go, someone wrote about modify the video image size at the initialisation step. I lost the email about it.Can someone send it back to me? I am running artoolkit 2.52, with DirectX on windows using a Fire-i camera. I want to be able to run 640*480. What is the best way to do it? do I have to recompile the code? I have also a problem, the simple example code give a mirror image of what I am suppose to get. if an object is on the right of the camera, the image display the object on the left. the answer might already been address, sorry if I ask again but I don't have an archive of it. Thanks Alex -- o Alexandre Gillet email: gillet@s .......... / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860 |
|||
| From: | "Fivos DOGANIS" <Fivos.Doganis@i .................> | Received: | Feb 26, 2003 |
| To | "Alexandre Gillet" <gillet@s ..........>, "artoolkit" <artoolkit@h ..................> | ||
| Subject: | RE: image size and problem with mirror image. | ||
Hi, Your main function should look like the one in any example of the ARToolKit package, with some minor modifications: camera.Init(0, 640, 480); // Initialize framegrabber to 640*480 camera.DisplayProperties(); // Toggle the following in order to flip the image the way you want: //camera.SetFlippedImage(true); camera.SetFlippedImageVertical(true); camera.SetFlippedImageHorizontal(false); Don't forget to change xsize and ysize in the rest of the code from 320 and 240 to 640 and 480. Regards, Fivos PS: We definitely NEED a forum, an archive and an FAQ! PPS: How's the Fire-i? Are the optics and image quality good? -----Message d'origine----- De : owner-artoolkit@h .................. [mailto:owner-artoolkit@h ..................]De la part de Alexandre Gillet Envoye : mardi 25 fevrier 2003 23:46 A : artoolkit Objet : image size and problem with mirror image. Hi, A few week a go, someone wrote about modify the video image size at the initialisation step. I lost the email about it.Can someone send it back to me? I am running artoolkit 2.52, with DirectX on windows using a Fire-i camera. I want to be able to run 640*480. What is the best way to do it? do I have to recompile the code? I have also a problem, the simple example code give a mirror image of what I am suppose to get. if an object is on the right of the camera, the image display the object on the left. the answer might already been address, sorry if I ask again but I don't have an archive of it. Thanks Alex -- o Alexandre Gillet email: gillet@s .......... / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860 |
|||
| From: | "Fivos DOGANIS" <Fivos.Doganis@i .................> | Received: | Feb 26, 2003 |
| To | "Alexandre Gillet" <gillet@s ..........>, "artoolkit" <artoolkit@h ..................> | ||
| Subject: | RE: image size and problem with mirror image. | ||
Hi, Your main function should look like the one in any example of the ARToolKit package, with some minor modifications: camera.Init(0, 640, 480); // Initialize framegrabber to 640*480 camera.DisplayProperties(); // Toggle the following in order to flip the image the way you want: //camera.SetFlippedImage(true); camera.SetFlippedImageVertical(true); camera.SetFlippedImageHorizontal(false); Don't forget to change xsize and ysize in the rest of the code from 320 and 240 to 640 and 480. Regards, Fivos PS: We definitely NEED a forum, an archive and an FAQ! PPS: How's the Fire-i? Are the optics and image quality good? -----Message d'origine----- De : owner-artoolkit@h .................. [mailto:owner-artoolkit@h ..................]De la part de Alexandre Gillet Envoye : mardi 25 fevrier 2003 23:46 A : artoolkit Objet : image size and problem with mirror image. Hi, A few week a go, someone wrote about modify the video image size at the initialisation step. I lost the email about it.Can someone send it back to me? I am running artoolkit 2.52, with DirectX on windows using a Fire-i camera. I want to be able to run 640*480. What is the best way to do it? do I have to recompile the code? I have also a problem, the simple example code give a mirror image of what I am suppose to get. if an object is on the right of the camera, the image display the object on the left. the answer might already been address, sorry if I ask again but I don't have an archive of it. Thanks Alex -- o Alexandre Gillet email: gillet@s .......... / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860 |
|||
| From: | Alexandre Gillet <gillet@s ..........> | Received: | Feb 26, 2003 |
| To | Fivos DOGANIS <Fivos.Doganis@i .................> | ||
| Subject: | Re: image size and problem with mirror image. | ||
Hi, which version of ARToolKit are you using? My function camera.Init accept only one argument , the device number. I am using ARToolKit DirectShow 2.52 and I do not have the following function:SetFlippedImageVertical(true); SetFlippedImageHorizontal(false); We just start using our Fire-i camera, so far we like it.Good image quality, and a good frame rate comparing to our usb camera. Alex Fivos DOGANIS wrote: > Hi, > > Your main function should look like the one in any example of the ARToolKit > package, with some minor modifications: > > camera.Init(0, 640, 480); // Initialize framegrabber to 640*480 > > camera.DisplayProperties(); > > // Toggle the following in order to flip the image the way you want: > > //camera.SetFlippedImage(true); > camera.SetFlippedImageVertical(true); > camera.SetFlippedImageHorizontal(false); > > Don't forget to change xsize and ysize in the rest of the code from 320 and > 240 to 640 and 480. > > Regards, > > Fivos > > PS: We definitely NEED a forum, an archive and an FAQ! > PPS: How's the Fire-i? Are the optics and image quality good? > > -----Message d'origine----- > De : owner-artoolkit@h .................. > [mailto:owner-artoolkit@h ..................]De la part de Alexandre > Gillet > Envoye : mardi 25 fevrier 2003 23:46 > A : artoolkit > Objet : image size and problem with mirror image. > > > Hi, > > A few week a go, someone wrote about modify the video image size at the > initialisation step. I lost the email about it.Can someone send it back > to me? > I am running artoolkit 2.52, with DirectX on windows using a Fire-i > camera. I want to be able to run 640*480. What is the best way to do it? > do I have to recompile the code? > > I have also a problem, the simple example code give a mirror image of > what I am suppose to get. if an object is on the right of the camera, > the image display the object on the left. the answer might already been > address, sorry if I ask again but I don't have an archive of it. > > Thanks > Alex > -- > o Alexandre Gillet email: gillet@s .......... > / The Scripps Research Institute, > o Dept. Molecular Biology, MB-5, > \ 10550 North Torrey Pines Road, > o La Jolla, CA 92037-1000, USA. > / tel: (858) 784-2053 > o fax: (858) 784-2860 > > > > > -- o Alexandre Gillet email: gillet@s .......... / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860 |
|||
| From: | Alexandre Gillet <gillet@s ..........> | Received: | Feb 26, 2003 |
| To | Fivos DOGANIS <Fivos.Doganis@i .................> | ||
| Subject: | Re: image size and problem with mirror image. | ||
Hi, which version of ARToolKit are you using? My function camera.Init accept only one argument , the device number. I am using ARToolKit DirectShow 2.52 and I do not have the following function:SetFlippedImageVertical(true); SetFlippedImageHorizontal(false); We just start using our Fire-i camera, so far we like it.Good image quality, and a good frame rate comparing to our usb camera. Alex Fivos DOGANIS wrote: > Hi, > > Your main function should look like the one in any example of the ARToolKit > package, with some minor modifications: > > camera.Init(0, 640, 480); // Initialize framegrabber to 640*480 > > camera.DisplayProperties(); > > // Toggle the following in order to flip the image the way you want: > > //camera.SetFlippedImage(true); > camera.SetFlippedImageVertical(true); > camera.SetFlippedImageHorizontal(false); > > Don't forget to change xsize and ysize in the rest of the code from 320 and > 240 to 640 and 480. > > Regards, > > Fivos > > PS: We definitely NEED a forum, an archive and an FAQ! > PPS: How's the Fire-i? Are the optics and image quality good? > > -----Message d'origine----- > De : owner-artoolkit@h .................. > [mailto:owner-artoolkit@h ..................]De la part de Alexandre > Gillet > Envoye : mardi 25 fevrier 2003 23:46 > A : artoolkit > Objet : image size and problem with mirror image. > > > Hi, > > A few week a go, someone wrote about modify the video image size at the > initialisation step. I lost the email about it.Can someone send it back > to me? > I am running artoolkit 2.52, with DirectX on windows using a Fire-i > camera. I want to be able to run 640*480. What is the best way to do it? > do I have to recompile the code? > > I have also a problem, the simple example code give a mirror image of > what I am suppose to get. if an object is on the right of the camera, > the image display the object on the left. the answer might already been > address, sorry if I ask again but I don't have an archive of it. > > Thanks > Alex > -- > o Alexandre Gillet email: gillet@s .......... > / The Scripps Research Institute, > o Dept. Molecular Biology, MB-5, > \ 10550 North Torrey Pines Road, > o La Jolla, CA 92037-1000, USA. > / tel: (858) 784-2053 > o fax: (858) 784-2860 > > > > > -- o Alexandre Gillet email: gillet@s .......... / The Scripps Research Institute, o Dept. Molecular Biology, MB-5, \ 10550 North Torrey Pines Road, o La Jolla, CA 92037-1000, USA. / tel: (858) 784-2053 o fax: (858) 784-2860 |
|||
| From: | "Fivos DOGANIS" <Fivos.Doganis@i .................> | Received: | Feb 27, 2003 |
| To | "Alexandre Gillet" <gillet@s ..........> | ||
| Subject: | RE: image size and problem with mirror image. | ||
Hello again,
I'm using ARToolKitDirectShow2.52vrml. My code looks like this (it is based
on simpleVRML example):
...
#include <AR/ARFrameGrabber.h>
...
ARFrameGrabber camera;
//--------------------------------------------------------------------------
-----------------
int main()
{
CoInitialize(NULL);
init();
// Start the video capture
camera.Init(0, 640, 480); // Initialize framegrabber to 640*480
camera.DisplayProperties();
//camera.SetFlippedImage(true);
camera.SetFlippedImageVertical(true);
camera.SetFlippedImageHorizontal(false);
// Start the main event loop
argMainLoop( NULL, keyEvent, mainLoop );
CoUninitialize();
return 0;
}
...
I can assure you it works fine!
Reagrds,
Fivos
-----Message d'origine-----
De : Alexandre Gillet [mailto:gillet@s ..........]
Envoye : mercredi 26 fevrier 2003 22:37
A : Fivos DOGANIS
Cc : artoolkit
Objet : Re: image size and problem with mirror image.
Hi,
which version of ARToolKit are you using? My function camera.Init accept
only one argument , the device number. I am using ARToolKit DirectShow 2.52
and I do not have the following function:SetFlippedImageVertical(true);
SetFlippedImageHorizontal(false);
We just start using our Fire-i camera, so far we like it.Good image
quality, and a good frame rate comparing to our usb camera.
Alex
Fivos DOGANIS wrote:
> Hi,
>
> Your main function should look like the one in any example of the
ARToolKit
> package, with some minor modifications:
>
> camera.Init(0, 640, 480); // Initialize framegrabber to 640*480
>
> camera.DisplayProperties();
>
> // Toggle the following in order to flip the image the way you want:
>
> //camera.SetFlippedImage(true);
> camera.SetFlippedImageVertical(true);
> camera.SetFlippedImageHorizontal(false);
>
> Don't forget to change xsize and ysize in the rest of the code from 320
and
> 240 to 640 and 480.
>
> Regards,
>
> Fivos
>
> PS: We definitely NEED a forum, an archive and an FAQ!
> PPS: How's the Fire-i? Are the optics and image quality good?
>
> -----Message d'origine-----
> De : owner-artoolkit@h ..................
> [mailto:owner-artoolkit@h ..................]De la part de Alexandre
> Gillet
> Envoye : mardi 25 fevrier 2003 23:46
> A : artoolkit
> Objet : image size and problem with mirror image.
>
>
> Hi,
>
> A few week a go, someone wrote about modify the video image size at the
> initialisation step. I lost the email about it.Can someone send it back
> to me?
> I am running artoolkit 2.52, with DirectX on windows using a Fire-i
> camera. I want to be able to run 640*480. What is the best way to do it?
> do I have to recompile the code?
>
> I have also a problem, the simple example code give a mirror image of
> what I am suppose to get. if an object is on the right of the camera,
> the image display the object on the left. the answer might already been
> address, sorry if I ask again but I don't have an archive of it.
>
> Thanks
> Alex
> --
> o Alexandre Gillet email: gillet@s ..........
> / The Scripps Research Institute,
> o Dept. Molecular Biology, MB-5,
> \ 10550 North Torrey Pines Road,
> o La Jolla, CA 92037-1000, USA.
> / tel: (858) 784-2053
> o fax: (858) 784-2860
>
>
>
>
>
--
o Alexandre Gillet email: gillet@s ..........
/ The Scripps Research Institute,
o Dept. Molecular Biology, MB-5,
\ 10550 North Torrey Pines Road,
o La Jolla, CA 92037-1000, USA.
/ tel: (858) 784-2053
o fax: (858) 784-2860
|
|||
| From: | "Fivos DOGANIS" <Fivos.Doganis@i .................> | Received: | Feb 27, 2003 |
| To | "Alexandre Gillet" <gillet@s ..........> | ||
| Subject: | RE: image size and problem with mirror image. | ||
Hello again,
I'm using ARToolKitDirectShow2.52vrml. My code looks like this (it is based
on simpleVRML example):
...
#include <AR/ARFrameGrabber.h>
...
ARFrameGrabber camera;
//--------------------------------------------------------------------------
-----------------
int main()
{
CoInitialize(NULL);
init();
// Start the video capture
camera.Init(0, 640, 480); // Initialize framegrabber to 640*480
camera.DisplayProperties();
//camera.SetFlippedImage(true);
camera.SetFlippedImageVertical(true);
camera.SetFlippedImageHorizontal(false);
// Start the main event loop
argMainLoop( NULL, keyEvent, mainLoop );
CoUninitialize();
return 0;
}
...
I can assure you it works fine!
Reagrds,
Fivos
-----Message d'origine-----
De : Alexandre Gillet [mailto:gillet@s ..........]
Envoye : mercredi 26 fevrier 2003 22:37
A : Fivos DOGANIS
Cc : artoolkit
Objet : Re: image size and problem with mirror image.
Hi,
which version of ARToolKit are you using? My function camera.Init accept
only one argument , the device number. I am using ARToolKit DirectShow 2.52
and I do not have the following function:SetFlippedImageVertical(true);
SetFlippedImageHorizontal(false);
We just start using our Fire-i camera, so far we like it.Good image
quality, and a good frame rate comparing to our usb camera.
Alex
Fivos DOGANIS wrote:
> Hi,
>
> Your main function should look like the one in any example of the
ARToolKit
> package, with some minor modifications:
>
> camera.Init(0, 640, 480); // Initialize framegrabber to 640*480
>
> camera.DisplayProperties();
>
> // Toggle the following in order to flip the image the way you want:
>
> //camera.SetFlippedImage(true);
> camera.SetFlippedImageVertical(true);
> camera.SetFlippedImageHorizontal(false);
>
> Don't forget to change xsize and ysize in the rest of the code from 320
and
> 240 to 640 and 480.
>
> Regards,
>
> Fivos
>
> PS: We definitely NEED a forum, an archive and an FAQ!
> PPS: How's the Fire-i? Are the optics and image quality good?
>
> -----Message d'origine-----
> De : owner-artoolkit@h ..................
> [mailto:owner-artoolkit@h ..................]De la part de Alexandre
> Gillet
> Envoye : mardi 25 fevrier 2003 23:46
> A : artoolkit
> Objet : image size and problem with mirror image.
>
>
> Hi,
>
> A few week a go, someone wrote about modify the video image size at the
> initialisation step. I lost the email about it.Can someone send it back
> to me?
> I am running artoolkit 2.52, with DirectX on windows using a Fire-i
> camera. I want to be able to run 640*480. What is the best way to do it?
> do I have to recompile the code?
>
> I have also a problem, the simple example code give a mirror image of
> what I am suppose to get. if an object is on the right of the camera,
> the image display the object on the left. the answer might already been
> address, sorry if I ask again but I don't have an archive of it.
>
> Thanks
> Alex
> --
> o Alexandre Gillet email: gillet@s ..........
> / The Scripps Research Institute,
> o Dept. Molecular Biology, MB-5,
> \ 10550 North Torrey Pines Road,
> o La Jolla, CA 92037-1000, USA.
> / tel: (858) 784-2053
> o fax: (858) 784-2860
>
>
>
>
>
--
o Alexandre Gillet email: gillet@s ..........
/ The Scripps Research Institute,
o Dept. Molecular Biology, MB-5,
\ 10550 North Torrey Pines Road,
o La Jolla, CA 92037-1000, USA.
/ tel: (858) 784-2053
o fax: (858) 784-2860
|
|||