amirsalah / manageditk

Automatically exported from code.google.com/p/manageditk
Other
0 stars 0 forks source link

Issues with itk.Examples.Images.Import1 #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I run the provided example itk.Examples.Images.Import1 I receive the 
following error message:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at itk.Examples.Images.Import1.Main(String[] args) in C:\ITK\ManagedITK\Examples\Images\itk.Examples.Images.Import1.cs:line 58

I receive a similar error when I build my own importer. Any suggestions?

I have downloaded the latest source code and compiled it for x64. Running on 
win 7. The other examples (that I've tested so far) works as expected.

Thanks,
Daniel

Original issue reported on code.google.com by danne.fo...@gmail.com on 2 Feb 2011 at 11:13

GoogleCodeExporter commented 8 years ago
You have to run the example with an output file name (eg. 
itk.Examples.Images.Import1 "C:/Temp/out.png")

Original comment by dan.m...@gmail.com on 2 Feb 2011 at 11:54

GoogleCodeExporter commented 8 years ago
Ahh, missed that part. Got my own example to work as well.

Cheers,
Daniel

Original comment by danne.fo...@gmail.com on 2 Feb 2011 at 12:16