<span><span style="background-color: rgb(255, 255, 255);" title="Если
выводить DICOM 2 разными способами:">If the output DICOM two
different ways:
<br></span><span title="1.">1. </span><span title="m_DicomReader.SetFileName(m_strFilePath);">m_DicomReader.SetFileName
(m_strFilePath);
<br> </span><span title="m_DicomReader.Update();">m_DicomReader.Update
();
<br>
<br> </span><span title="vtkImageMapper DicomMapper = new
vtkImageMapper();">vtkImageMapper
DicomMapper = new vtkImageMapper ();
<br> </span><span title="DicomMapper.SetInputConnection(m_DicomReader.GetOutputPort());">DicomMapper.SetInputConnection
(m_DicomReader.GetOutputPort ());
<br> </span><span style="background-color: rgb(255, 255, 255);" title="DicomMapper.SetColorWindow(255.0);">DicomMapper.SetColorWindow
(255.0);
<br> </span><span style="background-color: rgb(255, 255, 255);" title="DicomMapper.SetColorLevel(127.5);">DicomMapper.SetColorLevel
(127.5);
<br> </span><span style="background-color: rgb(255, 255, 255);" title="m_DicomActor.SetMapper(DicomMapper);
m_imageViewer.GetRenderer().AddActor(m_DicomActor);">m_DicomActor.SetMapper
(DicomMapper); m_imageViewer.GetRenderer (). AddActor (m_DicomActor);
<br>
</span></span><span><span title="2."><br>2. </span><span style="background-color: rgb(255, 255, 255);" title="m_DicomReader.SetFileName(m_strFilePath);">m_DicomReader.SetFileName
(m_strFilePath);
</span></span><br><div style="margin-left: 40px;"><span><span style="background-color: rgb(255, 255, 255);" title="m_DicomReader.SetFileName(m_strFilePath);"></span></span></div>
<span><span style="background-color: rgb(255, 255, 255);" title="m_DicomReader.SetFileName(m_strFilePath);"> </span><span title="m_DicomReader.Update();">m_DicomReader.Update ();
<br>
</span><span style="background-color: rgb(255, 255, 255);" title="m_imageViewer.SetInputConnection(m_DicomReader.GetOutputPort());">m_imageViewer.SetInputConnection
(m_DicomReader.GetOutputPort ());
<br>
<br></span><span style="background-color: rgb(255, 255, 255);" title="Во
втором случае картинка сжата и не соответствует своим размерам.">In the
second case, the
image is compressed and does not correspond to their size. </span><span style="background-color: rgb(255, 255, 255);" title="Из-за этого у меня
не получается получить правильное значение пикселя при клике мышкой.">Because
of this, I fail
to get the correct value of the pixel with mouse clicks. </span><span style="background-color: rgb(255, 255, 255);" title="Кто-нибудь знает
как с этим можно справиться?">Does anyone know how this
can be overcome?
</span></span><br clear="all"><br>-- <br>С Уважением,<br>Андрей.<br>Best regards, Andrew<br>