hello,sorry to interupt you .<div>but i have a really important question.i am asking you for help.</div><div>i am a new learner of vtk.</div><div>recently,i am using vtk to do 3d reconstruction.</div><div>i am using mip(maximum intenstity projection ) to do this.</div>
<div>first reading some silces of ct dicom image,then do the projection.</div><div>as you know vtk is using pipeline ,we can only get 3d volume.</div><div>but what i want is the 2d image by MIP.</div><div>i dont know if i make myself understood by you? my english is poor.</div>
<div>here is the main code:</div><div><div>//read the dicoms</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>vtkDICOMImageReader *volumeReader = vtkDICOMImageReader::New();</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>volumeReader->SetDirectoryName("C:/mrdata");</div>
<div><div><span class="Apple-tab-span" style="white-space:pre">        </span>vtkImageShiftScale *scale=vtkImageShiftScale::New();</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>scale->SetInput(volumeReader->GetOutput());</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>scale->SetOutputScalarTypeToUnsignedChar();</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>scale->Update();</div><div><br></div>
<div><div><span class="Apple-tab-span" style="white-space:pre">        </span>vtkVolumeRayCastMIPFunction *MIP = vtkVolumeRayCastMIPFunction::New();</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>vtkVolumeRayCastMapper *RaycastMapper = vtkVolumeRayCastMapper::New();</div>
<div>RaycastMapper->SetVolumeRayCastFunction(MIP);</div><div><div> RaycastMapper->SetInput(scale->GetOutput());</div><div><br></div><div>here is the case, where i can get the 2d image i want?</div><div>i couldnot find any interface.but i think the image should be the output of RaycastMapper?</div>
<div>the pity is i cant find any output of RaycastMapper.</div><div>could you give me some suggestions?</div></div></div></div></div><div><br>-- <br>陆阳<br>清华大学医学院生物医学工程系<br>Yang Lu<br>Department of Biomedical Engineering,<br>
School of Medicine, Tsinghua University<br>电话/Tel:+86-010-51532315<br>
</div>