[Insight-users] UpdateLargestPossibleRegion exception on large image

Normand Mongeau normandmongeau at plurasoft.com
Tue Jul 18 09:03:36 EDT 2006


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
>
> 



More information about the Insight-users mailing list