<p><br clear="all">hello,sorry to interupt you .<br>but i have a really important question.i am asking you for help.<br>i am a new learner of vtk.<br>recently,i am using vtk to do 3d reconstruction.<br>i am using mip(maximum intenstity projection ) to do this.<br>
first reading some silces of ct dicom image,then do the projection.<br>as you know vtk is using pipeline ,we can only get 3d volume.<br>but what i want is the 2d image by MIP.<br>i dont know if i make myself understood by you? my english is poor.<br>
here is the main code:<br>//read the dicoms<br>vtkDICOMImageReader *volumeReader = vtkDICOMImageReader::New();<br>volumeReader-&gt;SetDirectoryName(&quot;C:/mrdata&quot;);<br>vtkImageShiftScale *scale=vtkImageShiftScale::New();</p>

<p><br>scale-&gt;SetInput(volumeReader-&gt;GetOutput());<br>scale-&gt;SetOutputScalarTypeToUnsignedChar();<br>scale-&gt;Update();</p>
<p><br>vtkVolumeRayCastMIPFunction *MIP = vtkVolumeRayCastMIPFunction::New();<br>vtkVolumeRayCastMapper *RaycastMapper = vtkVolumeRayCastMapper::New();<br>RaycastMapper-&gt;SetVolumeRayCastFunction(MIP);<br>&nbsp;&nbsp;&nbsp; RaycastMapper-&gt;SetInput(scale-&gt;GetOutput());</p>

<p><br>here is the case, where i can get the 2d image i want?<br>i couldnot find any interface.but i think the image should be the output of&nbsp; RaycastMapper?<br>the pity is i cant find any output of RaycastMapper.<br>could you give me some suggestions?<br>
-- <br>陆阳<br>清华大学医学院生物医学工程系<br>Yang Lu<br>Department of Biomedical Engineering,<br>School of Medicine, Tsinghua University<br>电话/Tel:+86-010-51532315<br></p>