[Insight-users] Texture Feature Extraction
Luis Ibanez
luis.ibanez at kitware.com
Tue May 25 13:41:38 EDT 2010
Hi Mohammed,
You are missing to link with the library
ITKStatistics
Please look at your CMakeLists.txt file,
search for the command
TARGET_LINK_LIBRARIES( )
and add "ITKStatistics" to the list of libraries
that your executable should link.
Regards,
Luis
-----------------------------------------------------------
On Wed, May 12, 2010 at 9:56 PM, mohammed abdel samea
<mohammed_abdel_samea at yahoo.com> wrote:
> Hi,
>
> here is the error message I got when I tried to used
> "ScalarImageToGreyLevelCooccurrenceMatrixGenerator" and
> "GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator" to extracting
> texture feature from an image:
>
> 2>Linking...
> 2>ctsegmentation.obj : error LNK2028: unresolved token (0A001A6B) "public:
> void __thiscall itk::Statistics::DenseFrequencyContainer::SetToZero(void)"
> (?SetToZero at DenseFrequencyContainer@Statistics at itk@@$$FQAEXXZ) referenced in
> function "public: void __thiscall itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::SetToZero(void)"
> (?SetToZero@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAEXXZ)
> 2>ctsegmentation.obj : error LNK2028: unresolved token (0A001A6E) "public:
> void __thiscall
> itk::Statistics::DenseFrequencyContainer::Initialize(unsigned long)"
> (?Initialize at DenseFrequencyContainer@Statistics at itk@@$$FQAEXK at Z) referenced
> in function "public: void __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::Initialize(class itk::Size<2>
> const &)"
> (?Initialize@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAEXABV?$Size@$01 at 3@@Z)
> 2>ctsegmentation.obj : error LNK2028: unresolved token (0A001A6F) "public:
> bool __thiscall
> itk::Statistics::DenseFrequencyContainer::SetFrequency(unsigned long,float)"
> (?SetFrequency at DenseFrequencyContainer@Statistics at itk@@$$FQAE_NKM at Z)
> referenced in function "public: bool __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::SetFrequency(unsigned long const
> &,float)"
> (?SetFrequency@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAE_NABKM at Z)
> 2>ctsegmentation.obj : error LNK2028: unresolved token (0A001A72) "public:
> bool __thiscall
> itk::Statistics::DenseFrequencyContainer::IncreaseFrequency(unsigned
> long,float)"
> (?IncreaseFrequency at DenseFrequencyContainer@Statistics at itk@@$$FQAE_NKM at Z)
> referenced in function "public: bool __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::IncreaseFrequency(unsigned long
> const &,float)"
> (?IncreaseFrequency@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAE_NABKM at Z)
> 2>ctsegmentation.obj : error LNK2028: unresolved token (0A001AF0) "public:
> float __thiscall
> itk::Statistics::DenseFrequencyContainer::GetFrequency(unsigned long)const "
> (?GetFrequency at DenseFrequencyContainer@Statistics at itk@@$$FQBEMK at Z)
> referenced in function "public: virtual float __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::GetFrequency(unsigned long const
> &)const "
> (?GetFrequency@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FUBEMABK at Z)
> 2>ctsegmentation.obj : error LNK2028: unresolved token (0A001B4D)
> "protected: __thiscall
> itk::Statistics::DenseFrequencyContainer::DenseFrequencyContainer(void)"
> (??0DenseFrequencyContainer at Statistics@itk@@$$FIAE at XZ) referenced in
> function "public: static class itk::SmartPointer<class
> itk::Statistics::DenseFrequencyContainer> __cdecl
> itk::Statistics::DenseFrequencyContainer::New(void)"
> (?New at DenseFrequencyContainer@Statistics at itk@@$$FSA?AV?$SmartPointer at VDenseFrequencyContainer@Statistics at itk@@@3 at XZ)
> 2>ctsegmentation.obj : error LNK2019: unresolved external symbol "public:
> bool __thiscall
> itk::Statistics::DenseFrequencyContainer::SetFrequency(unsigned long,float)"
> (?SetFrequency at DenseFrequencyContainer@Statistics at itk@@$$FQAE_NKM at Z)
> referenced in function "public: bool __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::SetFrequency(unsigned long const
> &,float)"
> (?SetFrequency@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAE_NABKM at Z)
> 2>ctsegmentation.obj : error LNK2019: unresolved external symbol "public:
> void __thiscall itk::Statistics::DenseFrequencyContainer::SetToZero(void)"
> (?SetToZero at DenseFrequencyContainer@Statistics at itk@@$$FQAEXXZ) referenced in
> function "public: void __thiscall itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::SetToZero(void)"
> (?SetToZero@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAEXXZ)
> 2>ctsegmentation.obj : error LNK2019: unresolved external symbol "protected:
> __thiscall
> itk::Statistics::DenseFrequencyContainer::DenseFrequencyContainer(void)"
> (??0DenseFrequencyContainer at Statistics@itk@@$$FIAE at XZ) referenced in
> function "public: static class itk::SmartPointer<class
> itk::Statistics::DenseFrequencyContainer> __cdecl
> itk::Statistics::DenseFrequencyContainer::New(void)"
> (?New at DenseFrequencyContainer@Statistics at itk@@$$FSA?AV?$SmartPointer at VDenseFrequencyContainer@Statistics at itk@@@3 at XZ)
> 2>ctsegmentation.obj : error LNK2019: unresolved external symbol "public:
> bool __thiscall
> itk::Statistics::DenseFrequencyContainer::IncreaseFrequency(unsigned
> long,float)"
> (?IncreaseFrequency at DenseFrequencyContainer@Statistics at itk@@$$FQAE_NKM at Z)
> referenced in function "public: bool __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::IncreaseFrequency(unsigned long
> const &,float)"
> (?IncreaseFrequency@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAE_NABKM at Z)
> 2>ctsegmentation.obj : error LNK2019: unresolved external symbol "public:
> float __thiscall
> itk::Statistics::DenseFrequencyContainer::GetFrequency(unsigned long)const "
> (?GetFrequency at DenseFrequencyContainer@Statistics at itk@@$$FQBEMK at Z)
> referenced in function "public: virtual float __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::GetFrequency(unsigned long const
> &)const "
> (?GetFrequency@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FUBEMABK at Z)
> 2>ctsegmentation.obj : error LNK2019: unresolved external symbol "public:
> void __thiscall
> itk::Statistics::DenseFrequencyContainer::Initialize(unsigned long)"
> (?Initialize at DenseFrequencyContainer@Statistics at itk@@$$FQAEXK at Z) referenced
> in function "public: void __thiscall
> itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::Initialize(class itk::Size<2>
> const &)"
> (?Initialize@?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk@@$$FQAEXABV?$Size@$01 at 3@@Z)
> 2>D:\Image Segmentation Projects\2\ctsegmentation\Debug\ctsegmentation.dll :
> fatal error LNK1120: 12 unresolved externals
>
> Best Regards,
> Mohammed.
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list