[Insight-users] ThresholdSegmentationFltkGui Runtime
Error, Any Advice?
William A. Hoffman
billlist at nycap.rr.com
Wed Dec 8 12:57:48 EST 2004
This is a C++ exception. You need a try catch block around the code.
You want to catch itk::ImageFileReaderException, you can then print out
the exception object. My guess is that it does not have the correct path
or file format, but the exception object should tell you that information.
-Bill
At 11:54 AM 12/8/2004, ct58 at drexel.edu wrote:
>Hi Luis:
>
>I've tried to load the images with Imageviewer which resulted in the same runtime error. Currently I am using jpg, tiff, png and mha images, none of them loads. However the reason I think the problem is not related to the images is that I was running the ThresholdSegmentationLevelSetFltkGui application without a problem w/ same images prior to this runtime error. One thing I forgot to include in the runtime error messages is the following:
>
>First-chance exception at 0x7c81eb33 (kernel32.dll) in ThresholdSegmentationLevelSetFltkGui.exe: Microsoft C++ exception: itk::ImageFileReaderException @ 0x0111f474.
>
>Does anybody know why this ImageFileReader exception is thrown? Since nvoglnt.dll is a file controlled by Nvidia driver, I reinstalled the display driver which didn't help. Any suggestions? Thanks a lot,
>
>Cem
>
>----- Original Message -----
>From: Luis Ibanez <luis.ibanez at kitware.com>
>Date: Monday, December 6, 2004 5:30 pm
>Subject: Re: [Insight-users] ThresholdSegmentationFltkGui Runtime Error, Any Advice?
>
>>
>> Hi Cem,
>>
>> What is the fileformat of the image that you tried to load ?
>>
>> It is quite likely that the reader is getting confused with your
>> image format and attempts to read past the allocated memory.
>>
>> E.g. that will happen if you provide a MetaImage where the
>> pixel type doesn't really correspond to the pixel type of
>> the raw image file.
>>
>> You can easily verify if the problem is related to your image
>> or to the application, by loading the same image in the ImageViewer
>> application that is available in InsightApplications.
>>
>> If you built ThresholdSegmentationLevelSetFltkGui you probably
>> already have built ImageViewer too.
>>
>>
>> Please let us know what you find.
>>
>>
>> Thanks
>>
>>
>> Luis
>>
>>
>>
>>
>> -----------------------
>> ct58 at drexel.edu wrote:
>>
>> > Hi:
>> >
>> > Ive been trying to run the ThresholdSegmentationLevelSetFltkGui
>> example in Insight applications. I am able to link the program
>> without errors using VS .net 2003 in debug mode and the GUI opens
>> without a problem. However when I try to load an image for
>> segmentation, the input image window is empty and I get the
>> following messages:
>> >
>> > The thread 'Win32 Thread' (0xfd8) has exited with code 0 (0x0).
>> > '.exe': Loaded 'C:\WINDOWS\system32\nvoglnt.dll', No symbols loaded.
>> > First-chance exception at 0x7c918fea (ntdll.dll) in
>> ThresholdSegmentationLevelSetFltkGui.exe: 0xC0000005: Access
>> violation writing location 0x00000010.
>> > 'ThresholdSegmentationLevelSetFltkGui.exe': Unloaded
>> 'C:\WINDOWS\system32\nvoglnt.dll'>
>> 'ThresholdSegmentationLevelSetFltkGui.exe': Loaded
>> 'C:\WINDOWS\system32\mcd32.dll', Symbols loaded.
>> > 'ThresholdSegmentationLevelSetFltkGui.exe': Unloaded
>> 'C:\WINDOWS\system32\mcd32.dll'>
>> > I installed the windows xp symbol pack which didnt help, and
>> couldnt find any post on the subject. I was wondering if you have
>> seen this problem before. Any advice? Thanks for your help,
>> >
>> > Cem
>> >
>> >
>> > _______________________________________________
>> > Insight-users mailing list
>> > Insight-users at itk.org
>> > http://www.itk.org/mailman/listinfo/insight-users
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list