[Insight-users] Can't set pixel value to NULL using itkImageregionIterator in win32
Neil.Burdett at csiro.au
Neil.Burdett at csiro.au
Thu Jul 1 18:15:31 EDT 2010
I the later check this value so I know which pixels to exclude. So It doesn't have to be NULL just a value not used by any other pixel
Neil
________________________________________
From: Kevin H. Hobbs [hobbsk at ohiou.edu]
Sent: Friday, July 02, 2010 4:11 AM
To: Burdett, Neil (ICT Centre, Herston - RBWH)
Cc: insight-users at itk.org
Subject: Re: [Insight-users] Can't set pixel value to NULL using itkImageregionIterator in win32
On 06/30/2010 12:38 AM, Neil.Burdett at csiro.au wrote:
>
> voxIterator.Set(NULL);
>
>
> The code causes an exception at “voxIterator.Set(NULL);” under windows
> only (Visual Studio 9 2008) 0xC0000005: Access violation writing
> location 0x00000000.
>
Do you really want to set the value of the pixel to a pointer to the
location 0 in memory?
Do you really want to set it to the value 0?
More information about the Insight-users
mailing list