Hi all,<br> How could i change some header field before saving the Dicom Image, when i have Long value, and it should be String type.<br> i try to convert it with <span style="font-weight: bold;">ltoa</span> function but it produce error :<br> <span style="font-weight: bold;">error: 'ltoa' is not a member of 'std'</span><br> this is the code where error occurs :<br> DictionaryType & dictionary = m_DiasstoledImage->GetMetaDataDictionary();<br> <br style="color: rgb(0, 128, 255);"> <span style="color: rgb(0, 128, 255);"> </span><span style="font-style: italic; color: rgb(0, 128, 255);">std::string entryId( Dist );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> std::string value;</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> std::ltoa
(R+RP,value,10);</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> itk::EncapsulateMetaData<std::string>( dictionary, entryId, value );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> entryId = DistP;</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> std::ltoa (R,value,10);</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> itk::EncapsulateMetaData<std::string>( dictionary, entryId, value );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color:
rgb(0, 128, 255);"> entryId = PAngle;</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> std::ltoa (PAngleValue,value,10);</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> itk::EncapsulateMetaData<std::string>( dictionary, entryId, value );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> entryId( SAngle );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> std::ltoa (SAngleValue,value,10);</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);">
itk::EncapsulateMetaData<std::string>( dictionary, entryId, value );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <br style="font-style: italic; color: rgb(0, 128, 255);"> <br style="font-style: italic; color: rgb(0, 128, 255);"> <br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> m_2DRescaler->SetInput(m_DiasstoledImage);</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> m_ImageWriter->SetFileName("Projection.dcm");</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> m_ImageWriter->SetInput( m_2DRescaler->GetOutput() );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);">
m_ImageWriter->SetImageIO( dicomIO );</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <span style="font-style: italic; color: rgb(0, 128, 255);"> m_ImageWriter->Update();</span><br style="font-style: italic; color: rgb(0, 128, 255);"> <br> <p>
                <hr size=1> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
<a href="http://us.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.beta.messenger.yahoo.com">Téléchargez</a> la version beta.