[Insight-users] Can't set pixel value to NULL using itkImageregionIterator in win32

Kevin H. Hobbs hobbsk at ohiou.edu
Thu Jul 1 14:11:38 EDT 2010


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100701/3fab8d8f/attachment.pgp>


More information about the Insight-users mailing list