<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi there,</div>
<div><br>
</div>
<div>I'm relatively new to ITK and DICOM so maybe I am misunderstanding something.</div>
<div><br>
</div>
<div>I am trying to save a Nifti image in DICOM format using the meta information of a reference DICOM image. This works quite well for most of my images. However, I have some issues with images of data type float: When I try to save those images with the ImageSeriesFileWriter
 the DICOM tags for RescaleIntercept and RescaleSlope are set during writing (i.e. they got overwritten when I tried to set them manually before). It seems to me, however, that the intercept that is set should be still divided by the slope to follow the DICOM
 definition for those tags i.e. "IV = (slope*SV)+Intercept" to receive the image value (IV) from the stored value (SV). Currently it seems as if the intercept and slope are calculated for "IV=slope*(SV+intercept)".</div>
<div><br>
</div>
<div>Could anyone verify this?</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Markus</div>
<div><br>
</div>
<div>PS: I am using ITK version 4.9. </div>
<div><br>
</div>
<div>  </div>
</body>
</html>