Hello, Thank you Jonathan. I was not looking for an application, but it helped me find the solution: I needed to get the image region in order to get its size.
InputImageType::Pointer inImage = templateReader->GetOutput(); inImage->GetLargestPossibleRegion().GetIndex()[0]; Le mercredi 2 juillet 2014 08:59:20 UTC+2, Julien Radoux a écrit : > > 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] 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.
