Replies: 3 comments
-
Just do the normal numpy array concatenation. arr1 = np.asarray([[1, 2], [3, 4]])
arr2 = np.asarray([[5, 6], [7, 8]])
arr = np.concatenate((arr1, arr2), axis=1)
ds.Rows, ds.Columns = arr.shape
ds.PixelData = arr.tobytes()
# etc... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi there,
But I couldn't understand how can I add 120 images pixe_array |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have no idea what you're trying to do, so 🤷♂️ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am looking for some suggestion regarding my problem.
I was able to convert a number of png image into DICOM and now I want to concatenate them into a single frame. How can I achieve that?
Any suggestion
Beta Was this translation helpful? Give feedback.
All reactions