[Insight-users] Gradient Vector Flow Image Filter compile error
Quan Chen
quanchen at gmail.com
Wed Oct 20 18:53:39 EDT 2004
I am using:
typedef itk::Image<float,3> InternalImageType;
typedef itk::CovariantVector< double, 3 > GradientPixelType;
typedef itk::Image< GradientPixelType, 3> GradientImageType;
typedef itk::GradientVectorFlowImageFilter<InternalImageType,
GradientImageType> GVFFilterType;
GVFFilterType::Pointer m_GVFFilter=GVFFilterType::New();
And got the following errors. I am wondering if what kind of input
this filter expects?
--------------------Configuration: GeodesicActiveContour - Win32
Release--------------------
Compiling...
GeodesicActiveContourBase.cxx
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(122):
error: expression must have pointer-to-object type
internalIt.Set(inputIt.Get()[i]);
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::InitInterImage() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 54
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(145):
error: expression must have pointer-to-object type
b = b + m_vec[i]*m_vec[i];
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::InitInterImage() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 54
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(145):
error: expression must have pointer-to-object type
b = b + m_vec[i]*m_vec[i];
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::InitInterImage() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 54
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(149):
error: expression must have pointer-to-object type
c_vec[i] = b * m_vec[i];
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::InitInterImage() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 54
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(149):
error: expression must have pointer-to-object type
c_vec[i] = b * m_vec[i];
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::InitInterImage() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 54
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(225):
error: expression must have pointer-to-object type
m_vec[i] = (1 - b*m_TimeStep)*intermediateIt.Get()[i] +
c_vec[i]*m_TimeStep;
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(225):
error: expression must have pointer-to-object type
m_vec[i] = (1 - b*m_TimeStep)*intermediateIt.Get()[i] +
c_vec[i]*m_TimeStep;
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(225):
error: expression must have pointer-to-object type
m_vec[i] = (1 - b*m_TimeStep)*intermediateIt.Get()[i] +
c_vec[i]*m_TimeStep;
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(227):
error: no suitable constructor exists to convert from
"itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiv
eContourBase::GradientImageType>::PixelType={itk::Image<GeodesicActiveContourBase::InternalPixelType={float},
3U>::PixelType={GeodesicActiveContourBase::InternalPixelType={float}}}"
to "itk::CovariantVector<double, 3U>"
outputIt.Set(m_vec);
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(254):
error: no suitable conversion function from
"itk::ImageConstIterator<itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::OutputImageType>::PixelType" to
"itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::PixelType={itk::Image<GeodesicActiveContourBase::InternalPixelType={float},
3U>::PixelType={GeodesicActiveCont
ourBase::InternalPixelType={float}}}" exists
m_vec = outputIt.Get();
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(255):
error: expression must have pointer-to-object type
m_vec[i] = m_vec[i] + r*internalIt.Get();
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(255):
error: expression must have pointer-to-object type
m_vec[i] = m_vec[i] + r*internalIt.Get();
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(256):
error: no suitable constructor exists to convert from
"itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiv
eContourBase::GradientImageType>::PixelType={itk::Image<GeodesicActiveContourBase::InternalPixelType={float},
3U>::PixelType={GeodesicActiveContourBase::InternalPixelType={float}}}"
to "itk::CovariantVector<double, 3U>"
outputIt.Set(m_vec);
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdatePixels() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line 62
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.txx(180):
error: expression must have pointer-to-object type
internalIt.Set(intermediateIt.Get()[i]);
^
detected during:
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::UpdateInterImage() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
63
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::GenerateData() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]" at line
283
instantiation of "void
itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::PrintSelf(std::ostream &, itk::Indent) const [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::Gr
adientImageType]" at line 88 of
"C:\newITK\itksource\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::~GradientVectorFlowImageFilter() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=GeodesicActiveContourBase::GradientImageType]"
at line 52 of "C:\newITK\itksource\InsightToolkit-1.8.0\Code\Common\itkObjectFactory.h"
instantiation of "T::Pointer
itk::ObjectFactory<T>::Create() [with
T=itk::GradientVectorFlowImageFilter<GeodesicActiveContourBase::InternalImageType,
GeodesicActiveContourBase::GradientImageType>::Self]" at line 41 of
"C:\newITK\itksourc
e\InsightToolkit-1.8.0\Code\Algorithms\itkGradientVectorFlowImageFilter.h"
instantiation of
"itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::Pointer itk::GradientVectorFlowImageFilter<TInputImage,
TOutputImage>::New() [with
TInputImage=GeodesicActiveContourBase::InternalImageType,
TOutputImage=Ge
odesicActiveContourBase::GradientImageType]"
compilation aborted for
C:\newITK\itkappl\InsightApplications-1.8.0\GeodesicActiveContour\GeodesicActiveContourBase.cxx
(code 2)
Error executing xicl6.exe.
GeodesicActiveContour.exe - 14 error(s), 0 warning(s)
More information about the Insight-users
mailing list