[vtkusers] Assigning vtkImageAppendComponents output to vtkImageData array
Luca Binotto
binotto at lycos.de
Mon Sep 18 14:03:27 EDT 2006
Hello there,
I created, by means of vtkImageAppendComponents Filter, a three components 3D array:
vtkImageAppendComponents *threeCompArray=vtkImageAppendComponents::New();
threeCompArray->AddInput(imData); // imData points to a vtkImageData 3D array
threeCompArray->AddInput(gradMagn);// gradMagn points to a vtkImageData 3D array
threeCompArray->AddInput(laplacian);// laplacian points to a vtkImageData 3D array
Now I need to prepare the input to vtkImageAccumulate:
vtkImageData * histDataArray;
histDataArray->SetDimensions(i_Dim,j_Dim,k_Dim);
histDataArray = threeCompArray->GetOutput();
but compilation output gives a Segmentation fault
What is wrong ?
Thanks in advance
Benachrichtigung bei E-Mail Empfang! - http://mail.lycos.de/app/lycosinside/setupLI.exe
More information about the vtkusers
mailing list