[Insight-users] MaskImageFilter wiki example

David Doria daviddoria at gmail.com
Wed Feb 15 08:55:27 EST 2012


On Wed, Feb 15, 2012 at 8:49 AM, Chr. Rossmanith <
cr at neuro.ma.uni-heidelberg.de> wrote:

> I've added
>
> #include "itkConfigure.h"
>
> to the example.
>
> Christina
>

I'm not sure this is the way to go. Perhaps:

#include "itkImage.h"

#if ( ITK_VERSION_MAJOR < 4  ) //These are all defaults in ITKv4
//  Not supported in ITKv3.
int main(int argc, char *argv[])
{
  return 0;
}
#else
...

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120215/ad1fc019/attachment.htm>


More information about the Insight-users mailing list