how to create itk image from buffered dicom data

Take a look at this post: