Hi Horst, I have tried reproducing your error using our current master and could not reproduce the crash. I assume you have not changed the code at all and tried to run it as is.
Using the command: /path>Step3.exe lungs.vtk Some.png I get the Output: Thu Jan 24 12:02:38 2013 0.08 core.io.sfcReader: Loading lungs.vtk as vtk 0.20 core.rnd.shdRep: found default mitk shader at /path/' 0.21 core.rnd.shdRep: found shader 'mitkShaderLighting' 0.21 core.io.imgFileReader: loading Some.png via itk::ImageIOFactory... 0.22 core.io.imgFileReader: ioRegion: ImageIORegion (0000000000B7EA00) Dimension: 2 Index: 0 0 Size: 800 621 0.25 core.io.imgFileReader: number of image components: 3 0.26 core.io.imgFileReader: ...finished! Could not open file Some.png So it does not work, but does not crash either. Without debugging into the code my first guess would be, that loading the image works fine, but an exception is thrown when trying to volume render the image, as you seem to be supplying 2D images. As it is a 3D and not a 2D view you will not see anything without volume rendering and the example does not safeguard against supplying non 3D images. I hope this helps, Caspar -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Gesendet: Dienstag, 22. Januar 2013 16:20 An: [email protected] Betreff: [mitk-users] Crash in example Step3 Hi, I want to display an image and a STL model together in a 3D view. This seems to be exactly what the example Step3 does. I tried to run this example, but it failed. The example crashes somewhere in the macro AccessFixedTypeByItk_n. I tried different images in the format PNG, JPG and DCM. All of these images can be displayed in the example Step2. The example Step3 works fine, when I only display a STL model. Any hints? based on MITK 2012-12-00 unter Windows XP SP3 --- Mit freundlichen Grüßen, kind regards Horst Steigner Dipl. Informatiker (FH) Innomedic Gesellschaft für innovative Medizintechnik und Informatik mbH Geschäftsführer Thomas Remmele, Robert Frigg Forstdeichstr. 1-3 76661 Philippsburg-Rheinsheim, Germany Phone: +49 (0)7256 80821 116 Fax : +49 (0)7256 80821 999 mailto:[email protected] www.innomedic.de Amtsgericht Mannheim HRB 708972 Ust-IdNr DE 202967072 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
