2018-05-27 14:04 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001287Orfeo Toolbox (OTB)Generalpublic2017-04-27 15:32
Assigned Tojulien 
Summary0001287: Using S1 images in monteverdi is slow
DescriptionWhen navigating in S1 images with monteverdi, the software becomes unusually slow and shows a lot of CPU usage.
Steps To ReproduceOpen any S1 image in monteverdi.
Additional InformationThis comes from the metadata parsing which is slower than usual for S1 images. However, OTB should not read again and again metadata.

In ImageFileReader, we moved GenerateOutputInformation() from protected to public, and call it directly. The recommended ITK way is to call GetOutput()->UpdateOutputInformation() instead, which will handle the mechanism to avoid doing things twice (or more).

The Solution is to grep ->GenerateOutputInformation() calls on the ImageFileReader class and to replace by ->GetOutput()->UpdateOutputInformation().
TagsNo tags attached.
Attached Files




julien (administrator)

First patch here :


Before commit :

geometry read 10 times at startup, and anytime mouse moves

After commit :

geometry read 10 times at startup, and at each resolution change


rashadkm (developer)

what is with the 10 times at startup? just curious?


julien (administrator)

4 times in Ice : Init and UpdateResolution for both full view and minimap
6 times in Monteverdi in various method that New() the reader everytime.

I can cut it to 5 times, but this requires bigger, deepper patches, so I will push a branch for that.


rashadkm (developer)

okay. That sounds like a plan :)


grizonnetm (administrator)

I try to test this patch on Windows but unfortunately the nightly standalone package is not working today. When I launch monteverdi.bat the application reports that the translation files (i18n) are not available and then the application stop


grizonnetm (administrator)

I put my system in English and I was able to test the patch. It greatly improves the user experience (navigation...).

I've commented a trace in GLImageActor Initialize method.


julien (administrator)

A fix to reduce number of readings to 5 at startup is available here :


If dashboard comes clean, it will be merged in develop.

-Issue History
Date Modified Username Field Change
2016-10-07 14:38 julien New Issue
2016-10-10 17:06 julien Note Added: 0003746
2016-10-11 09:47 rashadkm Note Added: 0003747
2016-10-11 09:49 julien Note Added: 0003748
2016-10-11 09:56 rashadkm Note Added: 0003749
2016-10-11 13:14 grizonnetm Note Added: 0003751
2016-10-11 13:49 grizonnetm Note Added: 0003753
2016-10-11 14:24 julien Note Added: 0003754
2016-10-11 14:24 julien Status new => resolved
2016-10-11 14:24 julien Resolution open => fixed
2016-10-11 14:24 julien Assigned To => julien
2017-04-27 15:32 julien Status resolved => closed
+Issue History