<div>Hi Luis and Mathieu,</div>
<div>I wrapped my input dicom file with a deform field and applied DicomImageReadWrite.cxx to write a dicom file. The default itk dicom library produced "Explicit little Endian" file type as the "Transfer Syntax". My application software currently only supports "Implicit little Endian" file type as the "Transfer Syntax". Is tere any way to modified the following subroutine to output a dicom file with "Implicit little Endian" file type ?</div>
<div>Thanks and regards,</div>
<div>Howard</div>
<div> </div>
<div> </div>
<div>typedef unsigned int WritePixelType;<br> typedef itk::Image< WritePixelType, 3 > WriteImageType;<br> typedef itk::ImageFileWriter< WriteImageType > WriterType;<br> <br> WriterType::Pointer writer = WriterType::New();</div>
<div> writer->SetFileName( argv[2] );<br> writer->SetInput( warper->GetOutput() );</div>
<div> writer->UseInputMetaDataDictionaryOff ();<br> writer->SetImageIO( gdcmImageIO );<br> try<br> {<br> writer->Update();<br> }<br> catch (itk::ExceptionObject & e)<br> {<br> std::cerr << "Exception in file writer " << std::endl;<br>
std::cerr << e << std::endl;<br> return EXIT_FAILURE;</div>