[ITK-users] Local texture Features

vis itkhelpacc at gmail.com
Wed Sep 30 05:52:14 EDT 2015


hi,
i tried building itkScalarToFractalImageFilterTest.cxx but it is showing the
following error.. pls advice
regards
vis

1>------ Build started: Project: itkScalarToFractalImageFilterTest,
Configuration: Debug x64 ------
1>  itkScalarToFractalImageFilterTest.cxx
1>d:\itk_vtk_ex\my_itk_ex\seg\entropyconversion\source\h\itkScalarToFractalImageFilter.h(29):
error C2039: 'GetImageDimension' : is not a member of 'itk'
1>         
D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(239)
: see reference to function template instantiation 'int
itkScalarToFractalImageFilterTest<2>(int,char *[])' being compiled
1>d:\itk_vtk_ex\my_itk_ex\seg\entropyconversion\source\h\itkScalarToFractalImageFilter.h(29):
error C2065: 'GetImageDimension' : undeclared identifier
1>d:\itk_vtk_ex\my_itk_ex\seg\entropyconversion\source\h\itkScalarToFractalImageFilter.h(29):
error C2275: 'TInputImage' : illegal use of this type as an expression
1>         
D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(149)
: see declaration of 'TInputImage'
1>d:\itk_vtk_ex\my_itk_ex\seg\entropyconversion\source\h\itkScalarToFractalImageFilter.h(29):
error C2974: 'itk::ScalarToFractalImageFilter' : invalid template argument
for 'TMaskImage', type expected
1>         
d:\itk_vtk_ex\my_itk_ex\seg\entropyconversion\source\h\itkScalarToFractalImageFilter.h(32)
: see declaration of 'itk::ScalarToFractalImageFilter'
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(149):
warning C4091: 'typedef ' : ignored on left of
'itk::ScalarToFractalImageFilter<TInputImage>' when no variable is declared
1>          with
1>          [
1>              TInputImage=ImageType
1>          ]
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(149):
error C2143: syntax error : missing ';' before '>'
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(150):
error C2653: 'FractalFilterType' : is not a class or namespace name
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(150):
error C2065: 'Pointer' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(150):
error C2146: syntax error : missing ';' before identifier 'fractal'
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(150):
error C2065: 'fractal' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(150):
error C3861: 'New': identifier not found
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(151):
error C2065: 'fractal' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(151):
error C2227: left of '->SetInput' must point to class/struct/union/generic
type
1>          type is ''unknown-type''
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(155):
error C2653: 'FractalFilterType' : is not a class or namespace name
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(155):
error C2065: 'RadiusType' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(155):
error C2146: syntax error : missing ';' before identifier 'radius'
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(155):
error C2065: 'radius' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(156):
error C2065: 'radius' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(156):
error C2228: left of '.Fill' must have class/struct/union
1>          type is ''unknown-type''
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(157):
error C2065: 'fractal' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(157):
error C2227: left of '->SetNeighborhoodRadius' must point to
class/struct/union/generic type
1>          type is ''unknown-type''
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(157):
error C2065: 'radius' : undeclared identifier
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(171):
error C2653: 'FractalFilterType' : is not a class or namespace name
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(171):
error C2146: syntax error : missing ';' before identifier 'MaskImageType'
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(171):
error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
1>D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(171):
warning C4091: '' : ignored on left of 'int' when no variable is declared
1>c:\itk\source\modules\filtering\thresholding\include\itkBinaryThresholdImageFilter.h(128):
error C2825: 'TOutputImage': must be a class or namespace when followed by
'::'
1>         
D:\ITK_VTK_EX\My_ITK_Ex\seg\EntropyConversion\Source\itkScalarToFractalImageFilterTest.cxx(175)
: see reference to class template instantiation
'itk::BinaryThresholdImageFilter<TInputImage,TOutputImage>' being compiled
1>          with
1>          [
1>              TInputImage=ImageType,
1>              TOutputImage=MaskImageType
1>          ]
1>c:\itk\source\modules\filtering\thresholding\include\itkBinaryThresholdImageFilter.h(128):
error C2039: 'PixelType' : is not a member of '`global namespace''
1>c:\itk\source\modules\filtering\thresholding\include\itkBinaryThresholdImageFilter.h(128):
error C2146: syntax error : missing ',' before identifier 'PixelType'
1>c:\itk\source\modules\filtering\thresholding\include\itkBinaryThresholdImageFilter.h(128):
error C2065: 'PixelType' : undeclared identifier
1>c:\itk\source\modules\filtering\thresholding\include\itkBinaryThresholdImageFilter.h(128):
error C3203: 'BinaryThreshold' : unspecialized class template can't be used
as a template argument for template parameter 'TFunction', expected a real
type





--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Local-Texture-Features-tp6311109p7587966.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list