<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt">Hi,<br><br>I've tried to extract texture feature from an image. but wrote the following code:<br><br>typedef float InternalPixelType;<br>const unsigned int Dimension = 2;<br>typedef itk::Image&lt; InternalPixelType, Dimension &gt; InternalImageType;<br>typedef&nbsp; itk::ImageFileReader&lt; InternalImageType &gt; ReaderType;<br>ReaderType::Pointer reader = ReaderType::New();<br>reader-&gt;SetFileName( FileName );<br><div style="text-align: left;">typedef itk::Statistics::ScalarImageToGreyLevelCooccurrenceMatrixGenerator&lt;InternalImageType&gt; GLCMGeneratorType;<br>typede fitk::Statistics::GreyLevelCooccurrenceMatrixTextureCoefficientsCalculator<br>&lt;GLCMGeneratorType::HistogramType&gt; TexCalcType;<br>InternalImageType::Pointer block =
 InternalImageType::New();<br>block-&gt;SetRegions(reader-&gt;GetOutput()-&gt;GetRequestedRegion());<br>block-&gt;Allocate();<br>GLCMGeneratorType::Pointer glcm = GLCMGeneratorType::New();<br>glcm-&gt;SetInput(block);<br>InternalImageType::OffsetType offset = {1,0};<br>glcm-&gt;SetOffset(offset);<br>glcm-&gt;SetNumberOfBinsPerAxis(256);<br>glcm-&gt;Compute();<br>TexCalcType::Pointer texCalc = TexCalcType::New();<br>texCalc-&gt;SetHistogram(glcm-&gt;GetOutput());<br>double contrast = texCalc-&gt;GetInertia();<br></div><br>But I've got errors: fatal error LNK1120: 12 unresolved externals. How can I solve this problem! help is really appreciated about that matter!. <br><br>Best Regards,<br>&nbsp;Mohammed<br><br></div><br>

      </body></html>