Transform and write pixel data into DicomSlice