Ends object creation and makes the object ready to be displayed.
id
The object id.
imageOrientation
Orientation of the image. Get this value from the DICOM file.
pixelSpacing
The spacing between pixels. Get this value from the DICOM file.
sliceThickness
The spacing between two successive frames.