<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    I encountered a little problem with my iterator in ITK4:<br>
    <br>
    <font face="Consolas">typedef unsigned short PixelType;<br>
      const unsigned int Dimension = 2;<br>
      typedef itk::Image&lt;PixelType, Dimension&gt; ImageType;<br>
      typedef itk::ImageConstIteratorWithIndex&lt;ImageType&gt;
      IteratorType;<br>
      <br>
      ImageType::Pointer imgL = ImageType::New();<br>
      imgL = somereader-&gt;GetOutput();<br>
      <br>
      IteratorType it(imgL, imgL-&gt;GetLargestPossibleRegion());<br>
      <br>
      for(it = it.Begin(); !it.IsAtEnd(); ++it)<br>
      {<br>
      &nbsp;&nbsp;&nbsp; ...<br>
      }</font><br>
    <br>
    The compilation in VisualStudio 2008 gives me this error:<br>
    <br>
    <small><font face="Consolas">error C2675: unary '++' :
        'IteratorType' does not define this operator or a conversion to
        a type acceptable to the predefined operator</font></small><br>
    <br>
    Any thoughts ?<br>
    <br>
    Regards,<br>
    Sylvain<br>
  </body>
</html>