<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I was trying to use the OtsuMultipleThresholdsCalculator. Bellow is the corresponding <br>code from my program. The compiler reports an error that Compute() is not a member <br></div>of itk::OtsuMultipleThresholdsCalculator. I can't figure out what the actual error is!!<br></div>BTW, due to compatibly reasons within our working team, I have to use ITK3.14 and<br></div>and not a newer release. Does this have to do with the error??<br><br></div>Much thanks,<br></div>Z.<br><div><div><div><div><div><br><br> typedef itk::Statistics::ScalarImageToHistogramGenerator< InputImageType >   ScalarImageToHistogramGeneratorType;<br>   typedef ScalarImageToHistogramGeneratorType::HistogramType    HistogramType;<br>   typedef itk::OtsuMultipleThresholdsCalculator< HistogramType >   CalculatorType;<br><br>   ScalarImageToHistogramGeneratorType::Pointer scalarImageToHistogramGenerator = ScalarImageToHistogramGeneratorType::New();<br>   CalculatorType::Pointer calculator = CalculatorType::New();<br><br>   scalarImageToHistogramGenerator->SetNumberOfBins( 128 );<br>   scalarImageToHistogramGenerator->SetInput( m_ShiftedImage );<br>   scalarImageToHistogramGenerator->Compute();<br>   <br>   calculator->SetNumberOfThresholds( 3 ); <br>   calculator->SetInputHistogram(scalarImageToHistogramGenerator->GetOutput());<br>   calculator->Compute();<br></div></div></div></div></div></div>