in C++ you can use the GetSize method on ImageRegion, cf:

http://hg.orfeo-toolbox.org/OTB/file/77faf79dfcb7/Applications/Utils/otbReadImageInfo.cxx#l274

Le 02/07/2014 09:03, Jonathan Guinet a écrit :
> Hello,
>
> otb application ReadImageInfo is dedicated for that purpose
>
> cheers
>
>
> 2014-07-02 8:59 GMT+02:00 Julien Radoux <[email protected]
> <mailto:[email protected]>>:
>
>     Hello,
>
>     This is a very basic question, but I don't find how to get the
>     number of rows and columns from an otbImage. Something like the
>     size in gdalinfo. 
>
>     Thanks,
>
>     Julien
>     -- 
>     -- 
>     Check the OTB FAQ at
>     http://www.orfeo-toolbox.org/FAQ.html
>      
>     You received this message because you are subscribed to the Google
>     Groups "otb-users" group.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:otb-users%[email protected]>
>     For more options, visit this group at
>     http://groups.google.com/group/otb-users?hl=en
>     ---
>     You received this message because you are subscribed to the Google
>     Groups "otb-users" group.
>     To unsubscribe from this group and stop receiving emails from it,
>     send an email to [email protected]
>     <mailto:[email protected]>.
>     For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> -- 
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>  
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
Manuel GRIZONNET
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 630 - Fax: +33 561 283 109

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to