I’m using SimpleElastix (https://simpleelastix.github.io/) for the registration (Affine) of the two 2D images (see attached) . For this I’m using this code : After the execution of the latter, I obtain the following TransformParameters0.txt that contains the transformation matrix : My aim is to us…
Tag: medical-imaging
How to decode and visualize DICOM curve data in Python 3?
I am trying to visualize a DICOM file with Python 3 and pyDicom which should contain a black 100×100 image with some curves drawn in it. The pixel data is extracted from header (7fe0,0010) and when printed shows b’x00x00x00…’. This I can easily convert to a 100×100 numpy array. How…