<div dir="ltr"><div><div><div><div><div>Sorry - I should have learned by now to include that by default. Here is what I am using..<br><br></div>I downloaded the revised itkInverseDisplacementFieldImageFilter.cxx and itkInverseDisplacementFieldImageFilter.hxx files from <a href="http://review.source.kitware.com/#/c/10827/">http://review.source.kitware.com/#/c/10827/</a><br>
<br></div><div>Below, I&#39;ve pasted, in order, the &#39;cxx&#39; file, the &#39;hxx&#39; file, and the error I receive when trying to Build in Visual C++ Express 2010<br><br></div><div>My apologies in advance for the formatting of this email - after 2 years of being a user of this software, I still feel like a rookie..<br>
</div><div><br></div>the &#39;cxx&#39; file:<br><br>#include &quot;itkInverseDisplacementFieldImageFilter.h&quot;<br>#include &quot;itkImageFileWriter.h&quot;<br>#include &quot;itkFilterWatcher.h&quot;<br><br>int itkInverseDisplacementFieldImageFilterTest( int argc, char * argv[] )<br>
{<br><br>  if( argc &lt; 2 )<br>    {<br>    std::cerr &lt;&lt; &quot;Missing Parameters &quot; &lt;&lt; std::endl;<br>    std::cerr &lt;&lt; &quot;Usage: &quot; &lt;&lt; argv[0];<br>    std::cerr &lt;&lt; &quot; outputImage&quot; &lt;&lt; std::endl;<br>
    return EXIT_FAILURE;<br>    }<br><br>  const     unsigned int Dimension = 2;<br>  typedef   float VectorComponentType;<br><br>  typedef   itk::Vector&lt; VectorComponentType, Dimension &gt; VectorType;<br><br>  typedef itk::Image&lt; VectorType,  Dimension &gt; DisplacementFieldType;<br>
<br>  typedef itk::InverseDisplacementFieldImageFilter&lt;<br>    DisplacementFieldType,<br>    DisplacementFieldType<br>    &gt;  FilterType;<br><br>  FilterType::Pointer filter = FilterType::New();<br><br>  FilterWatcher watcher(filter);<br>
<br>  // Creating an input displacement field<br>  DisplacementFieldType::Pointer field = DisplacementFieldType::New();<br><br>  DisplacementFieldType::SpacingType spacing;<br>  spacing.Fill( 1.0 );<br><br>  DisplacementFieldType::PointType origin;<br>
  origin.Fill( 0.0 );<br><br>  DisplacementFieldType::RegionType region;<br>  DisplacementFieldType::SizeType   size;<br>  DisplacementFieldType::IndexType  start;<br><br>  size[0] = 128;<br>  size[1] = 128;<br><br>  start[0] = 0;<br>
  start[1] = 0;<br><br>  region.SetSize( size );<br>  region.SetIndex( start );<br><br>  field-&gt;SetOrigin( origin );<br>  field-&gt;SetSpacing( spacing );<br>  field-&gt;SetRegions( region );<br>  field-&gt;Allocate();<br>
<br>  VectorType pixelValue;<br><br>  itk::ImageRegionIteratorWithIndex&lt; DisplacementFieldType &gt; it( field, region );<br><br>  // Fill the field with some vectors<br>  it.GoToBegin();<br>  while( !it.IsAtEnd() )<br>
    {<br>    DisplacementFieldType::IndexType index = it.GetIndex();<br>    pixelValue[0] = index[0] * 2.0 - index[0];<br>    pixelValue[1] = index[1] * 2.0 - index[1];<br>    it.Set( pixelValue );<br>    ++it;<br>    }<br>
<br>  // Since the tested transform is upsampling by a factor of two, the<br>  // size of the inverse field should be twice the size of the input<br>  // field. All other geomtry parameters are the same.<br>  filter-&gt;SetOutputSpacing( spacing );<br>
<br>  // keep the origin<br>  filter-&gt;SetOutputOrigin( origin );<br><br>  // set the size<br>  DisplacementFieldType::SizeType invFieldSize;<br>  invFieldSize[0] = size[0] * 2;<br>  invFieldSize[1] = size[1] * 2;<br><br>
  filter-&gt;SetSize( invFieldSize );<br><br>  filter-&gt;SetInput( field );<br><br>  filter-&gt;SetSubsamplingFactor( 16 );<br><br>  try<br>    {<br>    filter-&gt;UpdateLargestPossibleRegion();<br>    }<br>  catch( itk::ExceptionObject &amp; excp )<br>
    {<br>    std::cerr &lt;&lt; &quot;Exception thrown &quot; &lt;&lt; std::endl;<br>    std::cerr &lt;&lt; excp &lt;&lt; std::endl;<br>    }<br><br>  // Write an image for regression testing<br>  typedef itk::ImageFileWriter&lt;  DisplacementFieldType  &gt; WriterType;<br>
<br>  WriterType::Pointer writer = WriterType::New();<br><br>  writer-&gt;SetInput (filter-&gt;GetOutput() );<br>  writer-&gt;SetFileName( argv[1] );<br><br>  try<br>    {<br>    writer-&gt;Update();<br>    }<br>  catch( itk::ExceptionObject &amp; excp )<br>
    {<br>    std::cerr &lt;&lt; &quot;Exception thrown by writer&quot; &lt;&lt; std::endl;<br>    std::cerr &lt;&lt; excp &lt;&lt; std::endl;<br>    return EXIT_FAILURE;<br>    }<br><br>  // Now, test for loop invariant (acts as filter validation)<br>
  // f^-1(f(p1) + p1 ) - f(p1)  = 0<br>  it.GoToBegin();<br>  while( !it.IsAtEnd() )<br>    {<br>    DisplacementFieldType::PointType p1;<br>    field-&gt;TransformIndexToPhysicalPoint(it.GetIndex(), p1);<br><br>    DisplacementFieldType::PixelType fp1 = it.Get();<br>
<br>    DisplacementFieldType::PointType p2;<br>    p2[0] = p1[0] + fp1[0];<br>    p2[1] = p1[1] + fp1[1];<br><br>    DisplacementFieldType::IndexType id2;<br>    filter-&gt;GetOutput()-&gt;TransformPhysicalPointToIndex(p2,id2);<br>
    DisplacementFieldType::PixelType fp2 = filter-&gt;GetOutput()-&gt;GetPixel(id2);<br><br>    if(vcl_abs(fp2[0] + fp1[0]) &gt; 0.001<br>       || vcl_abs(fp2[1] + fp1[1]) &gt; 0.001)<br>      {<br>      std::cerr&lt;&lt;&quot;Loop invariant not satisfied for index &quot;&lt;&lt;it.GetIndex()&lt;&lt;&quot; : f^-1(f(p1) + p1 ) + f(p1)  = 0&quot;&lt;&lt;   std::endl;<br>
      std::cerr&lt;&lt;&quot;f(p1) = &quot;&lt;&lt;fp1&lt;&lt;std::endl;<br>      std::cerr&lt;&lt;&quot;f^-1(f(p1) + p1 ) = &quot;&lt;&lt;fp2&lt;&lt;std::endl;<br>      std::cerr&lt;&lt;&quot;diff: &quot;&lt;&lt;fp1[0]+fp2[0]&lt;&lt;&quot;, &quot;&lt;&lt;fp1[1]+fp2[1]&lt;&lt;std::endl;<br>
      return EXIT_FAILURE;<br>      }<br>    ++it;<br>    }<br><br>  return EXIT_SUCCESS;<br><br>}<br><br></div>*************************************************<br><br></div>and the &#39;hxx&#39; file:<br><br>#ifndef __itkInverseDisplacementFieldImageFilter_hxx<br>
#define __itkInverseDisplacementFieldImageFilter_hxx<br><br>#include &quot;itkInverseDisplacementFieldImageFilter.h&quot;<br>#include &quot;itkObjectFactory.h&quot;<br>#include &quot;itkProgressReporter.h&quot;<br>#include &quot;itkThinPlateSplineKernelTransform.h&quot;<br>
#include &quot;itkImageRegionIteratorWithIndex.h&quot;<br>#include &quot;itkVectorResampleImageFilter.h&quot;<br><br>namespace itk<br>{<br>/**<br> * Initialize new instance<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>
InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>::InverseDisplacementFieldImageFilter()<br>{<br>  m_OutputSpacing.Fill(1.0);<br>  m_OutputOrigin.Fill(0.0);<br>  for ( unsigned int i = 0; i &lt; ImageDimension; i++ )<br>
    {<br>    m_Size[i] = 0;<br>    }<br><br>  typedef ThinPlateSplineKernelTransform&lt;<br>    double,<br>    itkGetStaticConstMacro(ImageDimension) &gt;  DefaultTransformType;<br><br>  m_KernelTransform = DefaultTransformType::New();<br>
<br>  m_SubsamplingFactor = 16;<br>}<br><br>/**<br> * Print out a description of self<br> *<br> * \todo Add details about this class<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>
::PrintSelf(std::ostream &amp; os, Indent indent) const<br>{<br>  Superclass::PrintSelf(os, indent);<br><br>  os &lt;&lt; indent &lt;&lt; &quot;Size:              &quot; &lt;&lt; m_Size &lt;&lt; std::endl;<br>  os &lt;&lt; indent &lt;&lt; &quot;OutputSpacing:     &quot; &lt;&lt; m_OutputSpacing &lt;&lt; std::endl;<br>
  os &lt;&lt; indent &lt;&lt; &quot;OutputOrigin:      &quot; &lt;&lt; m_OutputOrigin &lt;&lt; std::endl;<br>  os &lt;&lt; indent &lt;&lt; &quot;KernelTransform:   &quot; &lt;&lt; m_KernelTransform.GetPointer() &lt;&lt; std::endl;<br>
  os &lt;&lt; indent &lt;&lt; &quot;SubsamplingFactor: &quot; &lt;&lt; m_SubsamplingFactor &lt;&lt; std::endl;<br><br>  return;<br>}<br><br>/**<br> * Set the output image spacing.<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>
void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>::SetOutputSpacing(const double *spacing)<br>{<br>  SpacingType s(spacing);<br><br>  this-&gt;SetOutputSpacing(s);<br>}<br><br>/**<br> * Set the output image origin.<br>
 */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>::SetOutputOrigin(const double *origin)<br>{<br>  OriginPointType p(origin);<br>
<br>  this-&gt;SetOutputOrigin(p);<br>}<br><br>/**<br> * Sub-sample the input displacement field and prepare the KernelBase<br> * BSpline<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>
::PrepareKernelBaseSpline()<br>{<br>  typedef typename KernelTransformType::PointsContainer LandmarkContainer;<br>  typedef typename LandmarkContainer::Pointer           LandmarkContainerPointer;<br><br>  // Source contains points with physical coordinates of the<br>
  // destination displacement fields (the inverse field)<br>  LandmarkContainerPointer source = LandmarkContainer::New();<br><br>  // Target contains vectors (stored as points) indicating<br>  // displacement in the inverse direction.<br>
  LandmarkContainerPointer target = LandmarkContainer::New();<br><br>  typedef itk::VectorResampleImageFilter&lt;<br>    InputImageType,<br>    InputImageType  &gt; ResamplerType;<br><br>  typename ResamplerType::Pointer resampler = ResamplerType::New();<br>
<br>  const InputImageType *inputImage = this-&gt;GetInput();<br><br>  resampler-&gt;SetInput(inputImage);<br>  resampler-&gt;SetOutputOrigin( inputImage-&gt;GetOrigin() );<br><br>  typename InputImageType::SpacingType spacing = inputImage-&gt;GetSpacing();<br>
<br>  typedef typename InputImageType::RegionType InputRegionType;<br>  typedef typename InputImageType::SizeType   InputSizeType;<br>  typedef typename InputImageType::IndexType  InputIndexType;<br><br>  InputRegionType region;<br>
<br>  region = inputImage-&gt;GetLargestPossibleRegion();<br><br>  InputSizeType size = region.GetSize();<br><br>  for ( unsigned int i = 0; i &lt; ImageDimension; i++ )<br>    {<br>    size[i]    =  static_cast&lt; SizeValueType &gt;( size[i] / m_SubsamplingFactor );<br>
    spacing[i] *= m_SubsamplingFactor;<br>    }<br><br>  InputRegionType subsampledRegion;<br>  subsampledRegion.SetSize(size);<br>  subsampledRegion.SetIndex( region.GetIndex() );<br><br>  resampler-&gt;SetSize(size);<br>
  resampler-&gt;SetOutputStartIndex( subsampledRegion.GetIndex() );<br>  resampler-&gt;SetOutputSpacing(spacing);<br><br>  resampler-&gt;Update();<br><br>  // allocate a landmark pair for each<br>  // pixel in the subsampled field<br>
  const SizeValueType numberOfLandmarks = subsampledRegion.GetNumberOfPixels();<br>  source-&gt;Reserve(numberOfLandmarks);<br>  target-&gt;Reserve(numberOfLandmarks);<br><br>  const InputImageType *sampledInput = resampler-&gt;GetOutput();<br>
<br>  typedef ImageRegionConstIteratorWithIndex&lt; InputImageType &gt; IteratorType;<br><br>  unsigned int landmarkId = 0;<br><br>  IteratorType ot(sampledInput, subsampledRegion);<br>  ot.GoToBegin();<br><br>  OutputPixelType                 value;<br>
  Point&lt; double, ImageDimension &gt; sourcePoint;<br>  Point&lt; double, ImageDimension &gt; targetPoint;<br><br>  while ( !ot.IsAtEnd() )<br>    {<br>    value = ot.Get();<br><br>    // Here we try to evaluate the inverse transform, so points from<br>
    // input displacement field are actually the target points<br>    sampledInput-&gt;TransformIndexToPhysicalPoint(ot.GetIndex(), targetPoint);<br><br>    target-&gt;InsertElement(landmarkId,  targetPoint);<br><br>    for ( unsigned int i = 0; i &lt; ImageDimension; i++ )<br>
      {<br>      sourcePoint[i] = targetPoint[i] + value[i];<br>      }<br>    source-&gt;InsertElement(landmarkId, sourcePoint);    // revert direction of<br>                                                       // displacement<br>
<br>    ++landmarkId;<br>    ++ot;<br>    }<br><br>  itkDebugMacro(&lt;&lt; &quot;Number of Landmarks created = &quot; &lt;&lt;  numberOfLandmarks);<br><br>  m_KernelTransform-&gt;GetModifiableTargetLandmarks()-&gt;SetPoints(target);<br>
  m_KernelTransform-&gt;GetModifiableSourceLandmarks()-&gt;SetPoints(source);<br><br>  itkDebugMacro(&lt;&lt; &quot;Before ComputeWMatrix() &quot;);<br><br>  m_KernelTransform-&gt;ComputeWMatrix();<br><br>  itkDebugMacro(&lt;&lt; &quot;After ComputeWMatrix() &quot;);<br>
}<br><br>/**<br> * GenerateData<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>::GenerateData()<br>{<br>  // First subsample the input displacement field in order to create<br>
  // the KernelBased spline.<br>  this-&gt;PrepareKernelBaseSpline();<br><br>  itkDebugMacro(&lt;&lt; &quot;Actually executing&quot;);<br><br>  // Get the output pointers<br>  OutputImageType *outputPtr = this-&gt;GetOutput();<br>
<br>  outputPtr-&gt;SetBufferedRegion( outputPtr-&gt;GetRequestedRegion() );<br>  outputPtr-&gt;Allocate();<br><br>  // Create an iterator that will walk the output region for this thread.<br>  typedef ImageRegionIteratorWithIndex&lt;<br>
    TOutputImage &gt; OutputIterator;<br><br>  OutputImageRegionType region = outputPtr-&gt;GetRequestedRegion();<br><br>  OutputIterator outIt(outputPtr, region);<br><br>  // Define a few indices that will be used to translate from an input pixel<br>
  // to an output pixel<br>  IndexType outputIndex;         // Index to current output pixel<br><br>  typedef typename KernelTransformType::InputPointType  InputPointType;<br>  typedef typename KernelTransformType::OutputPointType OutputPointType;<br>
<br>  InputPointType outputPoint;    // Coordinates of current output pixel<br><br>  // Support for progress methods/callbacks<br>  ProgressReporter progress(this, 0, region.GetNumberOfPixels(), 10);<br><br>  outIt.GoToBegin();<br>
<br>  // Walk the output region<br>  while ( !outIt.IsAtEnd() )<br>    {<br>    // Determine the index of the current output pixel<br>    outputIndex = outIt.GetIndex();<br>    outputPtr-&gt;TransformIndexToPhysicalPoint(outputIndex, outputPoint);<br>
<br>    // Compute corresponding inverse displacement vector<br>    OutputPointType interpolation =<br>      m_KernelTransform-&gt;TransformPoint(outputPoint);<br><br>    OutputPixelType inverseDisplacement;<br><br>    for ( unsigned int i = 0; i &lt; ImageDimension; i++ )<br>
      {<br>      inverseDisplacement[i] = interpolation[i] - outputPoint[i];<br>      }<br><br>    outIt.Set(inverseDisplacement);   // set inverse displacement.<br>    ++outIt;<br>    progress.CompletedPixel();<br>    }<br>
<br>  return;<br>}<br><br>/**<br> * Inform pipeline of necessary input image region<br> *<br> * Determining the actual input region is non-trivial, especially<br> * when we cannot assume anything about the transform being used.<br>
 * So we do the easy thing and request the entire input image.<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>::GenerateInputRequestedRegion()<br>
{<br>  // call the superclass&#39;s implementation of this method<br>  Superclass::GenerateInputRequestedRegion();<br><br>  if ( !this-&gt;GetInput() )<br>    {<br>    return;<br>    }<br><br>  // get pointers to the input and output<br>
  InputImagePointer inputPtr  =<br>    const_cast&lt; InputImageType * &gt;( this-&gt;GetInput() );<br><br>  // Request the entire input image<br>  InputImageRegionType inputRegion;<br>  inputRegion = inputPtr-&gt;GetLargestPossibleRegion();<br>
  inputPtr-&gt;SetRequestedRegion(inputRegion);<br><br>  return;<br>}<br><br>/**<br> * Inform pipeline of required output region<br> */<br>template&lt; class TInputImage, class TOutputImage &gt;<br>void<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>
::GenerateOutputInformation()<br>{<br>  // call the superclass&#39; implementation of this method<br>  Superclass::GenerateOutputInformation();<br><br>  // get pointers to the input and output<br>  OutputImagePointer outputPtr = this-&gt;GetOutput();<br>
  if ( !outputPtr )<br>    {<br>    return;<br>    }<br><br>  // Set the size of the output region<br>  typename TOutputImage::RegionType outputLargestPossibleRegion;<br>  outputLargestPossibleRegion.SetSize(m_Size);<br>  outputPtr-&gt;SetLargestPossibleRegion(outputLargestPossibleRegion);<br>
<br>  // Set spacing and origin<br>  outputPtr-&gt;SetSpacing(m_OutputSpacing);<br>  outputPtr-&gt;SetOrigin(m_OutputOrigin);<br><br>  return;<br>}<br><br>/**<br> * Verify if any of the components has been modified.<br> */<br>
template&lt; class TInputImage, class TOutputImage &gt;<br>ModifiedTimeType<br>InverseDisplacementFieldImageFilter&lt; TInputImage, TOutputImage &gt;<br>::GetMTime(void) const<br>{<br>  ModifiedTimeType latestTime = Object::GetMTime();<br>
<br>  if ( m_KernelTransform )<br>    {<br>    if ( latestTime &lt; m_KernelTransform-&gt;GetMTime() )<br>      {<br>      latestTime = m_KernelTransform-&gt;GetMTime();<br>      }<br>    }<br><br>  return latestTime;<br>
}<br><br>} // end namespace itk<br><br>#endif<br><br>******************************************************<br><br></div>and the list of VS errors (note that I revised my cxx file to its original state, so the errors are different from those I previously mentioned)<br>
<br>c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(347): error C2143: syntax error : missing &#39;;&#39; before &#39;itk::InverseDisplacementFieldImageFilter&lt;TInputImage,TOutputImage&gt;::GetMTime&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(347): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(68): error C2955: &#39;itk::LightProcessObject&#39; : use of class template requires template argument list<br>1&gt;          C:\ITKrap\InsightToolkit-4.2.0\Modules\Core\Common\include\itkLightProcessObject.h(72) : see declaration of &#39;itk::LightProcessObject&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(68): error C2504: &#39;itk::LightProcessObject&#39; : base class undefined<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(561): error C2079: &#39;itk::ImageIOBase::m_IORegion&#39; uses undefined class &#39;itk::ImageIORegion&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(79): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(161): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(161): error C2679: binary &#39;&lt;&lt;&#39; : no operator found which takes a right-hand operand of type &#39;const itk::ImageIORegion&#39; (or there is no acceptable conversion)<br>
1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(679): could be &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,const char *)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(726): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,char)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(764): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,const char *)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(811): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,char)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(937): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,const signed char *)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(944): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,signed char)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(951): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,const unsigned char *)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(958): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,unsigned char)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(968): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;,itk::ImageIORegion&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;&amp;,_Ty)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;,<br>1&gt;              _Ty=itk::ImageIORegion<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(1085): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::operator &lt;&lt;&lt;char,std::char_traits&lt;char&gt;&gt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;,const std::error_code &amp;)&#39; [found using argument-dependent lookup]<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\core\common\include\itkExceptionObject.h(153): or       &#39;std::ostream &amp;itk::operator &lt;&lt;(std::ostream &amp;,itk::ExceptionObject &amp;)&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\core\common\include\itkIndent.h(72): or       &#39;std::ostream &amp;itk::operator &lt;&lt;(std::ostream &amp;,const itk::Indent &amp;)&#39;<br>1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\core\common\include\itkEventObject.h(101): or       &#39;std::ostream &amp;itk::operator &lt;&lt;(std::ostream &amp;,itk::EventObject &amp;)&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\core\common\include\itkRealTimeInterval.h(94): or       &#39;std::ostream &amp;itk::operator &lt;&lt;(std::ostream &amp;,const itk::RealTimeInterval &amp;)&#39;<br>1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\core\common\include\itkRealTimeStamp.h(86): or       &#39;std::ostream &amp;itk::operator &lt;&lt;(std::ostream &amp;,const itk::RealTimeStamp &amp;)&#39;<br>
1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(186): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;(__cdecl *)(std::basic_ostream&lt;_Elem,_Traits&gt; &amp;))&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(192): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_ios&lt;_Elem,_Traits&gt; &amp;(__cdecl *)(std::basic_ios&lt;_Elem,_Traits&gt; &amp;))&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(199): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::ios_base &amp;(__cdecl *)(std::ios_base &amp;))&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(206): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::_Bool)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(226): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(short)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(260): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned short)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(280): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(int)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(305): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned int)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(325): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(345): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned long)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(366): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(__int64)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(386): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(unsigned __int64)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(407): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(float)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(427): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(double)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(447): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(long double)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(467): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(const void *)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ostream(487): or       &#39;std::basic_ostream&lt;_Elem,_Traits&gt; &amp;std::basic_ostream&lt;_Elem,_Traits&gt;::operator &lt;&lt;(std::basic_streambuf&lt;_Elem,_Traits&gt; *)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;          while trying to match the argument list &#39;(std::basic_ostream&lt;_Elem,_Traits&gt;, const itk::ImageIORegion)&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              _Elem=char,<br>1&gt;              _Traits=std::char_traits&lt;char&gt;<br>1&gt;          ]<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(161): error C2678: binary &#39;!=&#39; : no operator found which takes a left-hand operand of type &#39;int&#39; (or there is no acceptable conversion)<br>
1&gt;          C:\Program Files\Microsoft SDKs\Windows\v7.1\include\guiddef.h(197): could be &#39;int operator !=(const GUID &amp;,const GUID &amp;)&#39;<br>1&gt;          while trying to match the argument list &#39;(int, const itk::ImageIORegion)&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(161): error C2440: &#39;=&#39; : cannot convert from &#39;const itk::ImageIORegion&#39; to &#39;int&#39;<br>1&gt;          Source or target has incomplete type<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(161): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>
1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(162): error C2440: &#39;return&#39; : cannot convert from &#39;const int&#39; to &#39;const itk::ImageIORegion &amp;&#39;<br>1&gt;          Reason: cannot convert from &#39;const int&#39; to &#39;const itk::ImageIORegion&#39;<br>
1&gt;          Source or target has incomplete type<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(169): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(169): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(174): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(174): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(187): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(187): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(191): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(191): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(196): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(196): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(201): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(201): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(229): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(229): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(252): error C2039: &#39;GetDebug&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(252): error C2039: &#39;Modified&#39; : is not a member of &#39;itk::ImageIOBase&#39;<br>
1&gt;          c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageIOBase.h(67) : see declaration of &#39;itk::ImageIOBase&#39;<br>1&gt;c:\itkrap\insighttoolkit-4.2.0\modules\io\imagebase\include\itkImageFileWriter.h(213): error C2079: &#39;itk::ImageFileWriter&lt;TInputImage&gt;::m_PasteIORegion&#39; uses undefined class &#39;itk::ImageIORegion&#39;<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              TInputImage=DisplacementFieldType<br>1&gt;          ]<br>1&gt;          C:\ITKrap\InsightToolkit-4.2.0\Examples\Filtering\FlipImageFilter.cxx(124) : see reference to class template instantiation &#39;itk::ImageFileWriter&lt;TInputImage&gt;&#39; being compiled<br>
1&gt;          with<br>1&gt;          [<br>1&gt;              TInputImage=DisplacementFieldType<br>1&gt;          ]<br>========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<br><br><div><div><div><div><div><br>
<br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 12:56 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tim,<br>
<br>
If you can post a small, compilable (with all includes) example that<br>
illustrates the problem, I&#39;m sure you&#39;ll get a quick answer.<br>
<br>
Bill<br>
<div><div class="h5"><br>
<br>
On Tue, Nov 26, 2013 at 3:12 PM, Tim Bhatnagar &lt;<a href="mailto:tim.bhatnagar@gmail.com">tim.bhatnagar@gmail.com</a>&gt; wrote:<br>
&gt; Hello all,<br>
&gt;<br>
&gt; I am trying to implement a filter to obtain the inverse of a Demon&#39;s-derived<br>
&gt; displacement field. I&#39;ve found a number of code candidates, but they all<br>
&gt; rely on itkInverseDisplacementFieldImageFilter.hxx<br>
&gt;<br>
&gt; and in each case, I&#39;m getting errors like:<br>
&gt;<br>
&gt; c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(343):<br>
&gt; error C2143: syntax error : missing &#39;;&#39; before<br>
&gt; &#39;itk::InverseDisplacementFieldImageFilter&lt;TInputImage,TOutputImage&gt;::GetMTime&#39;<br>
&gt;<br>
&gt; c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(343):<br>
&gt; error C4430: missing type specifier - int assumed. Note: C++ does not<br>
&gt; support default-int<br>
&gt;<br>
&gt; I&#39;m using VS10 Express, and until this code, everything in ITK has been<br>
&gt; working well.<br>
&gt;<br>
&gt; Sorry if there is a basic solution to this issue - I&#39;m stumped! Any help is<br>
&gt; much appreciated.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; --<br>
&gt; Tim Bhatnagar<br>
&gt; PhD Candidate<br>
&gt; Orthopaedic Injury Biomechanics Group<br>
&gt; Department of Mechanical Engineering<br>
&gt; University of British Columbia<br>
&gt;<br>
&gt; Rm 5000 - 818 West 10th Ave.<br>
&gt; Vancouver, BC<br>
&gt; Canada<br>
&gt; V5Z 1M9<br>
&gt;<br>
&gt; Ph: (604) 675-8845<br>
&gt; Fax: (604) 675-8820<br>
&gt; Web: <a href="http://oibg.mech.ubc.ca" target="_blank">oibg.mech.ubc.ca</a><br>
&gt;<br>
&gt;<br>
</div></div>&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Tim Bhatnagar<br>PhD Candidate<br>Orthopaedic Injury Biomechanics Group<br>Department of Mechanical Engineering<br>University of British Columbia<br><br>Rm 5000 - 818 West 10th Ave.<br>
Vancouver, BC<br>Canada<br>V5Z 1M9<br><br>Ph: (604) 675-8845<br>Fax: (604) 675-8820<br>Web: <a href="http://oibg.mech.ubc.ca" target="_blank">oibg.mech.ubc.ca</a><br>
</div>