[Insight-users] UpdateLargestPossibleRegion exception onlargeimage

Normand Mongeau normandmongeau at plurasoft.com
Tue Jul 18 13:42:02 EDT 2006


Well, I switched from a BSplineInterpolateImageFunction filter to a 
BSplineResampleImageFunction, and I no longer get the error.  Since it was 
the only change I made, I suspect there is a problem with the interpolation 
filter.

Thanks,

Normand


----- Original Message ----- 
From: "Normand Mongeau" <normandmongeau at plurasoft.com>
To: <insight-users at itk.org>
Sent: Tuesday, July 18, 2006 11:36 AM
Subject: Re: [Insight-users] UpdateLargestPossibleRegion exception 
onlargeimage


> Sorry, pixel type is unsigned char.
>
> Normand
>
>> Hi Luis,
>>
>>
>>> The only limitation is the physical+virtual memory
>>> of your computer.
>>>
>>> It is likely that you are running out of memory.
>>>
>>
>> Hmm that is very unlikely.
>>
>>> What is the pixel type of this image ?
>>>
>>
>> 8 bit UBYTE.
>>
>>> How many filters do you have in your pipeline ?
>>>
>>
>> Only one.
>>
>>> How much RAM memory do you have in your machine ?
>>>
>>
>> 2 gb.
>>
>>> Please monitor the memory usage as you run your
>>> application from the start. You can do this with
>>> the Task Manager if you are developing in Windows,
>>> or with a tool such as top or ksysguard in Linux.
>>>
>>
>> Immediately before the call to UpdateLargestPossibleRegion(), available 
>> memory is over 1 gb, as reported by the Windows task manager.
>>
>>>
>>> Please let us know what you find,
>>>
>>>
>>
>> Would posting my code help diagnose the problem?
>>
>> Thanks for your help.
>>
>> Normand
>>
>>>
>>>
>>> ======================
>>> Normand Mongeau wrote:
>>>> Hi,
>>>>  is there some kind of limitation with UpdateLargestPossibleRegion()? 
>>>> I'm trying to filter a 512 x 512 x 512 image and I keep getting an 
>>>> error. Smaller images do not give me the error.  The error goes like 
>>>> this:
>>>>  Unhandled exception at 0x7c81eb33: Microsoft C++ exception: 
>>>> itk::ExceptionObject @ 0x0a5df9b8.
>>>>  Even by trying to use smaller regions I get the error.
>>>>  Thanks
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> 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
>
> _______________________________________________
> 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