help > RE: crash during PCA training
Feb 7, 2014  10:02 AM | Hugues Fontenelle
RE: crash during PCA training
I decided to build Slicer4 and the MABMIS extension. VS2010-SP1, 32-bits debug on Win7.

I am using the provided demo data, and the extension crashes.

I am debugging to see exactly where the extension crashes.

In the trainging phase, things go fine until the "3. Build statistical deformation model...", in particular
the MABMISSimulateData::DoPCATraining
when it does
dfoperator->UpResampleDeformationField(intermediateSubDeformationFieldFileName,
intermediateDeformationFieldFileName, sampleRate);

FILE: itkMABMISDeformationFieldFilter.hxx
METHOD: UpResampleDeformationField()
LINE: # 452
ReadDeformationField(deformationFieldFileName, originImage);
IS CALLED WITH PARAM
"temp_PCATraining8467\inter_deform_sub_000000.nii.gz"
and returns a null pointer in originImage, with leads the following
LINE #456
DeformationFieldType::SizeType im_size = originImage->GetLargestPossibleRegion().GetSize();
to crash!

(My built version crashes at the same point than the one downloaded through the extension manager)

What am I doing wrong?
Thank you!
Hugues

Threaded View

TitleAuthorDate
Hugues Fontenelle Jan 28, 2014
RE: crash during PCA training
Hugues Fontenelle Feb 7, 2014