<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi IGSTK users,<br><br>I use igstk::CTImageReader and igstk::MRImageReader to load two set files, and use vtkImageBlend make the fusion. The code snippet is:<br><br> VTKImageObserver::Pointer vtkImageObserver = VTKImageObserver::New();<br> m_CTImageSpatialObject->AddObserver( igstk::VTKImageModifiedEvent(), vtkImageObserver );<br> m_CTImageSpatialObject->RequestGetVTKImage();<br><br> if ( vtkImageObserver->GotVTKImage())<br> {<br> vtkCTImage = vtkImageObserver->GetVTKImage();<br> }<br><br> ......<br><br> vtkImageBlend *blend = vtkImageBlend::New();<br> blend->SetInput(vtkCTImage);<br> blend->SetInput(vtkMRImage);<br> blend->SetOpacity(0,opacity);<br> blend->SetOpacity(1,opacity);<br><br>After fusion, I want show them on the four-quadrant view. In my opinion, the result should send to the object of igstk::ImageResliceObjectRepresentation(if wrong, please correct me), i.e., m_AxialPlaneRepresentation, m_SagittalPlaneRepresentation and m_CoronalPlaneRepresentation. but I've no idea about the code. Who can help me? I will be appreciated for any help.<br><br>Regards & Thank you<br><br>Shuiling<br> </body>
</html>