ARToolKit | Mailing List Archive |
![]() |
From: | Philip Lamb <phil@e ..........> | Received: | Apr 17, 2007 |
To | ARToolKit Mailinglist <artoolkit@h ..................> | ||
Subject: | Re: big input stream | ||
--Apple-Mail-11-967360157 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Antonio, If you're working with big images (anything greater than 1024 pixels wide or tall qualifies as big for ARToolKit) you will run into a variety of hard-coded size limits in various places in the toolkit. There are some in the tracker (libAR) and some on the output side. At the moment, the way I usually tackle these limits is to scale the image down to 1024 pixels each side, and use that size for tracking (with appropriate size changes to the camera parameters). The resulting pose estimation can then be applied to the full-size image for rendering. Proper handling of HD image streams is something that will definitely be tackled in ARToolKit in the future... we just have to find the time. Patches from the community always welcomed! Regards, Phil. On 17/04/2007, at 10:21 AM, Antonio Bleile wrote: > Hi, > > I'm currently experiencing a problem when the marker > size is too big (in pixels...!). I have an HD stream > and whenever the marker is too close to the camera and > thus the marker is projected on let's say a 600x600 pixel > region, ArToolKit(Plus) does not track anymore. Of course > it becomes worse on photographic images taken from cameras > with high megapixel values (>= 10...). Is this a hardcoded > limitation somewhere? Any switches? > > Regards, > > Toni --Apple-Mail-11-967360157 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGITCCAtow ggJDoAMCAQICECKlRj17Ar/nRHuR8uhUEacwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDIxODIyMzgyNloXDTA4MDIxODIyMzgy NlowQjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJl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MIGFBgkrBgEEAYI3EAQxeDB2MGIx CzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYD VQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQIqVGPXsCv+dEe5Hy6FQR pzCBhwYLKoZIhvcNAQkQAgsxeKB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29u c3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNz dWluZyBDQQIQIqVGPXsCv+dEe5Hy6FQRpzANBgkqhkiG9w0BAQEFAASCAQCB3zsjAeFZoTC3fvRQ Awz1T4fQV+q/6n+l5igv/lsC6Wq3oOdIaTcH3B6UfMVqslTnvqekxKaqdN1iDDwzpwf1q6digPz1 uYkL2+dvKqwEHPB3cjpgizbpWfVHBHRQP5fNP3fHkV/VQg3VnqI+NSp9PtgHGyiVlTDRoF+hbuy6 s6bJLRtms/HsovcrofjbB++OXzT1OoUEtWLynyyeuoMQblc8MlK6Poaf6xKKTOYvrT0DRaOdNY1e jDPCdHkwgCQjTijRGY8vcxhx5YVU3g8slQ8OQW8DR3PgV56b4VeQGTfSLd10VRNCLlSmj/scr9c/ RIyM3Dw8lRpGZ3hF6mFSAAAAAAAA --Apple-Mail-11-967360157-- |
From: | "Antonio Bleile" <antonio.bleile@s ........> | Received: | Apr 17, 2007 |
To | "'ARToolKit Mailinglist'" <artoolkit@h ..................> | ||
Subject: | big input stream | ||
Hi, I'm currently experiencing a problem when the marker size is too big (in pixels...!). I have an HD stream=20 and whenever the marker is too close to the camera and thus the marker is projected on let's say a 600x600 pixel region, ArToolKit(Plus) does not track anymore. Of course=20 it becomes worse on photographic images taken from cameras with high megapixel values (>=3D 10...). Is this a hardcoded=20 limitation somewhere? Any switches? Regards, Toni -- Ing. Antonio Bleile Seac02 S.r.l. via Avogadro 4 10121 Torino Italia Tel. +39.011.197.006.52 Fax +39.011.197.006.53 E-mail antonio.bleile@s ........ Sito www.seac02.it Questa E-mail =E8 rivolta unicamente alle persone o enti ai quali =E8 indirizzata. Essa pu=F2 contenere informazioni la cui riservatezza =E8 = tutelata. Sono vietati la riproduzione e qualsiasi uso di questa e-mail e/o delle informazioni in essa contenute in mancanza di autorizzazione del destinatario.=20 This e-mail is intended only for the person or entity to which is = addressed. It may contain information that is privileged, proprietary, = confidential, attorney work product or otherwise exempted from disclosure under = applicable law. Copying, dissemination or use of this e-mail or the information = herein by anyone other than the intended recipient is prohibited.=20 |
From: | Daniel Wagner <daniel@i ...............> | Received: | Apr 17, 2007 |
To | ARToolKit Mailinglist <artoolkit@h ..................> | ||
Subject: | Re: big input stream | ||
hi Antonio, Look into config.h Look for AR_AREA_MAX, AR_CHAIN_MAX, MAX_BUFFER_WIDTH & MAX_BUFFER_HEIGHT. Since those values influence the memory consumption they are usually set to a useful mininum... I hope that helps, Daniel |
From: | Antonio Bleile <antonio.bleile@s ........> | Received: | Apr 18, 2007 |
To | ARToolKit Mailinglist <artoolkit@h ..................> | ||
Subject: | Re: big input stream | ||
Well, actually, changing the values indicated by Daniel worked out ok for me, I get a correct pose estimation for HD. I'm using ArToolKitPlus, perhaps there are some more limitations in ArToolKit (can't imagine why...). Regards, Toni Scrive Philip Lamb <phil@e ..........>: > Antonio, > > If you're working with big images (anything greater than 1024 pixels > wide or tall qualifies as big for ARToolKit) you will run into a > variety of hard-coded size limits in various places in the toolkit. > There are some in the tracker (libAR) and some on the output side. > > At the moment, the way I usually tackle these limits is to scale the > image down to 1024 pixels each side, and use that size for tracking > (with appropriate size changes to the camera parameters). The > resulting pose estimation can then be applied to the full-size image > for rendering. > > Proper handling of HD image streams is something that will definitely > be tackled in ARToolKit in the future... we just have to find the > time. Patches from the community always welcomed! > > Regards, > Phil. > > On 17/04/2007, at 10:21 AM, Antonio Bleile wrote: > > > Hi, > > > > I'm currently experiencing a problem when the marker > > size is too big (in pixels...!). I have an HD stream > > and whenever the marker is too close to the camera and > > thus the marker is projected on let's say a 600x600 pixel > > region, ArToolKit(Plus) does not track anymore. Of course > > it becomes worse on photographic images taken from cameras > > with high megapixel values (>= 10...). Is this a hardcoded > > limitation somewhere? Any switches? > > > > Regards, > > > > Toni > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |