<div dir="ltr">Hi,<div><br></div><div>I was testing the new ImageSeriesWriter in the new SimpleITK 0.9 Beta and for some reason it's not copying the Image Position Patient information when writing the slices.</div><div><br></div><div>any ideas why this happens?</div><div><br></div><div>Here's my code:</div><div><div>  ImageFileReader imgreader_resultado = new ImageFileReader();</div><div>            imgreader_resultado.SetFileName(path_pacientes + nombre_paciente + @"\Fusion\" + "resultado.mha");</div><div>            itk.simple.Image imgresultado = imgreader_resultado.Execute();</div><div>            ImageSeriesWriter SeriesWriter_resultado = new ImageSeriesWriter();</div><div>            VectorString vs_resultado = new VectorString();</div><div>            for (int i = 0; i < imgresultado.GetSize()[2]; ++i)</div><div>            {</div><div>                vs_resultado.Add(path_pacientes + nombre_paciente + @"\Fusion\Resultado\" + "imagen" + i + ".dcm");</div><div>            }</div><div><br></div><div>            SeriesWriter_resultado.SetFileNames(vs_resultado);</div><div>            </div><div>            if (!Directory.Exists(path_pacientes + nombre_paciente + @"\Fusion\Resultado")) //Si se abrió el plan y nunca se hizo registración previamente, se crea el directorio Registración</div><div>            {</div><div>                Directory.CreateDirectory(path_pacientes + nombre_paciente + @"\Fusion\Resultado");</div><div>            }</div><div><br></div><div>            SeriesWriter_resultado.Execute(imgresultado, vs_resultado, false);</div></div><div><br></div><div>Thank you,</div><div><br></div><div>Matias.</div></div>