Hi,

I have two datasets with the same geometry. The first one holds the data I
want to display. The second one contains the individual opacity for each
voxel. For the planar view in the QmitkStdMultiWidget everything is fine.
With the help of an itk::Image with RGBA-pixeltype I can set the opacity
values for each voxel individually. The cast to an mitk::Image works.
What I now want to do is a volume rendering with the same RGBA values. But
if I try

mitk::TransferFunction::Pointer tf = mitk::TransferFunction::New();
tf->InitializeByMitkImage(mitkImage);

where mitkImage is the image casted from the itk::Image with RGBA values,
it occurs a problem in mitk::HistogramGenerator::ComputeHistogram() at the
line

  AccessByItk_2( timeSelector->GetOutput() , InternalCompute, this,
m_Histogram);

Somewhere in there it sticks in some process and the program is not
responding anymore.
Maybe my approach is totally wrong but so far I didn't see any other
chance to set the opacity voxelwise as the value of the data voxel doesn't
correspond to the opacity value.

Can anyone help me, please?

Regards,
Claudia

Attachment: binU0Ce3XwItR.bin
Description: Öffentlicher PGP-Schlüssel

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to