[I'm writing again, as Google Groups _might_ have eaten my first message]

Hi,

I need to reproject some rasters from one UTM zone to a neighbouring one. 
I'm using otb::GenericRSResampleImageFilter and it works, but it's 15-18x 
slower than gdalwarp.

Perf shows that most of the time is spent converting coordinates:

  43.36%  libm-2.17.so                      [.] __sin_avx
  20.70%  libossim.so.1.8.19                [.] 
ossimUtmProjection::Convert_Transverse_Mercator_To_Geodetic
   6.66%  libm-2.17.so                      [.] __ieee754_pow_sse2
   6.35%  libossim.so.1.8.19                [.] 
ossimUtmProjection::Convert_Geodetic_To_Transverse_Mercator
   3.08%  libm-2.17.so                      [.] __exp1
   2.87%  libm-2.17.so                      [.] __tan_avx
   2.34%  libm-2.17.so                      [.] __cos_avx
   2.00%  libm-2.17.so                      [.] __sincos
   1.61%  libc-2.17.so                      [.] _int_free
   1.52%  libc-2.17.so                      [.] malloc
   1.30%  libossim.so.1.8.19                [.] ossimDatum::operator==

I'm now using a deformation grid spacing equal to the output spacing. 
Increasing it 10 times makes the execution twice as fast as gdalwarp. I 
don't know how much it affects the quality, though.

Does anyone know how gdalwarp might work?

Regards,
Laurentiu

-- 
-- 
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