Hello Marius, The commit you linked to has the simple change needed:
- reader->GenerateOutputInformation(); + reader->UpdateOutputInformation(); HTH, Brad On May 24, 2016, at 10:55 AM, m.star...@lumc.nl<mailto:m.star...@lumc.nl> wrote: Hi Matt, This change: https://itk.org/gitweb?p=ITK.git;a=commitdiff;h=3e1d822985b9eb3548e4fb9891f6773452467a81 is breaking our code where we rely on the availability of the GenerateOutputInformation() function to read image info while avoiding to read the actual data. We use that information to select the correct reader from a list of instantiated readers. I had a look, and indeed in the base class (ProcessObject) this function is protected, so I guess it qualifies as a bug that GenerateOutputInformation() was public previously. This change does break backward compatibility however. Do you have a suggestion on how to fix this? I really would like to have functionality in the image readers that read the meta data only, and not the data itself. Thanks for your advice, Marius Marius Staring, PhD Division of Image Processing (LKEB) Department of Radiology Leiden University Medical Center PO Box 9600, 2300 RC Leiden, The Netherlands phone: +31 (0)71 52 62137, fax: +31 (0)71 524 8256 m.star...@lumc.nl<mailto:m.star...@lumc.nl> _______________________________________________ Powered by www.kitware.com<http://www.kitware.com/> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-developers _______________________________________________ Community mailing list commun...@itk.org<mailto:commun...@itk.org> http://public.kitware.com/mailman/listinfo/community
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-developers