[Insight-users] Local Texture
Neil Panjwani
paniwani at gmail.com
Mon May 9 16:58:11 EDT 2011
Is there a way to get rid of DenseFrequencyContainer errors without moving
to the review Statistics framework?
On Mon, May 9, 2011 at 2:51 PM, Neil Panjwani <paniwani at gmail.com> wrote:
> I'm trying to modify some of the OTB texture filter code as an ITK filter
> (b/c I'm unable to build OTB in 64-bit). I'm trying to compute the 8 local
> Haralick texture features averaged over all offsets. In order to compute the
> textures locally, I need to compute the GLCM over a local user-defined
> region. I've modified
> the itkMaskedScalarImageToGreyLevelCooccurrenceMatrixGenerator to operate on
> a given region, however it gives me the following errors:
>
> Texture2.obj : error LNK2019: unresolved external symbol "protected:
> __cdecl
> itk::Statistics::DenseFrequencyContainer::DenseFrequencyContainer(void)"
> (??0DenseFrequencyContainer at Statistics@itk@@IEAA 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
> @@SA?AV?$SmartPointer at VDenseFrequencyContainer@Statistics at itk@@@3 at XZ)
> 1>Texture2.obj : error LNK2019: unresolved external symbol "public: float
> __cdecl itk::Statistics::DenseFrequencyContainer::GetFrequency(unsigned
> long)const " (?GetFrequency at DenseFrequencyContainer@Statistics at itk
> @@QEBAMK at Z) referenced in function "public: virtual float __cdecl
> 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@@UEBAMAEBK at Z)
> 1>Texture2.obj : error LNK2019: unresolved external symbol "public: bool
> __cdecl itk::Statistics::DenseFrequencyContainer::IncreaseFrequency(unsigned
> long,float)" (?IncreaseFrequency at DenseFrequencyContainer@Statistics at itk
> @@QEAA_NKM at Z) referenced in function "public: bool __cdecl
> 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@@QEAA_NAEBKM at Z
> )
> 1>Texture2.obj : error LNK2019: unresolved external symbol "public: bool
> __cdecl itk::Statistics::DenseFrequencyContainer::SetFrequency(unsigned
> long,float)" (?SetFrequency at DenseFrequencyContainer@Statistics at itk
> @@QEAA_NKM at Z) referenced in function "public: bool __cdecl
> 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@@QEAA_NAEBKM at Z
> )
> 1>Texture2.obj : error LNK2019: unresolved external symbol "public: void
> __cdecl itk::Statistics::DenseFrequencyContainer::Initialize(unsigned long)"
> (?Initialize at DenseFrequencyContainer@Statistics at itk@@QEAAXK at Z) referenced
> in function "public: void __cdecl 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@@QEAAXAEBV?$Size@$01 at 3@@Z)
> 1>Texture2.obj : error LNK2019: unresolved external symbol "public: void
> __cdecl itk::Statistics::DenseFrequencyContainer::SetToZero(void)"
> (?SetToZero at DenseFrequencyContainer@Statistics at itk@@QEAAXXZ) referenced in
> function "public: void __cdecl itk::Statistics::Histogram<double,2,class
> itk::Statistics::DenseFrequencyContainer>::SetToZero(void)" (?SetToZero@
> ?$Histogram at N$01VDenseFrequencyContainer at Statistics@itk@@@Statistics at itk
> @@QEAAXXZ)
>
> I've seen this DenseFrequencyContainer errors before. I was able to
> circumvent the problem by using the review Statistics package. However, that
> package does not contain this GLCM generator that I need for the local
> textures. What can I do to avoid these silly container errors and got on
> with computing texture already...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110509/3bf2fecb/attachment.htm>
More information about the Insight-users
mailing list