[Insight-users] help itkImageGaussianModelEstimator

adusumilli samatha samathar_a at yahoo.co.in
Tue Jan 4 06:22:37 EST 2005


Hello sir/madam

I have tried to execute the example GibbsPriorFilter1
from itk examples.I have supplied the "input image"
and "training image"(drawn an ROI and filled it with
intensity 1 and then saved it as Training image).I am
attaching those images.
When i run this program i am getting an exception at
try
{
	applyEstimateModel->Update(); ***
}
catch(itk::ExceptionObject &exp)
{
	std::cerr<<"Exception caught"<<std::endl;
	std::cerr<<exp<<std::endl;
}	
and the ouput i am getting is

Gibbs Prior Test Begins:
Exception caught

itk::ExceptionObject (0012FBE8)
Location: "Unknown"
File:
f:\itk\insight\code\algorithms\itkimagegaussianmodelestimator.txx
Line: 114
Description: None
 site 1
ImageGaussianModelEstimator (00309DB0)

  Gaussian Models generated from the training data.
  TrainingImage: 00301300
  Results printed in the superclass

  RTTI typeinfo:   class
itk::ImageGaussianModelEstimator<class
itk::Image<class
 itk::Vector<double,1>,3>,class
itk::Statistics::MahalanobisDistanceMembershipFu
nction<class itk::Vector<double,1> >,class
itk::Image<double,3> >
  Reference Count: 1
  Modified Time: 96
  Debug: Off
  Observers:
    none
  AbortGenerateData: Off
  Progress: 0
  Number of models: 3

  Results of the model estimator.
  ====================================
  Statistics for 0

Please guide me where it has gone wrong.
I am not clear what is "Training image" and how to
create it.

Thanks




________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OriginalImagepng.png
Type: image/x-png
Size: 3862 bytes
Desc: OriginalImagepng.png
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050104/4a90a8e8/OriginalImagepng-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TrainedImagepng.png
Type: image/x-png
Size: 6181 bytes
Desc: TrainedImagepng.png
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050104/4a90a8e8/TrainedImagepng-0001.bin


More information about the Insight-users mailing list