Closed navami123nair closed 7 months ago
Let's please continue the discussion that you have started on the RTK mailing list https://www.creatis.insa-lyon.fr/pipermail/rtk-users/2024-January/002075.html In this conversation, I have pointed to an example https://www.creatis.insa-lyon.fr/pipermail/rtk-users/2023-January/001921.html which indicates a number of things that need to be set in rawimageio:
rawio = itk.RawImageIO.New()
rawio.SetNumberOfDimensions(2)
rawio.SetPixelType(itk.CommonEnums.IOPixel_SCALAR)
rawio.SetComponentType(itk.CommonEnums.IOComponent_FLOAT)
rawio.SetDimensions(0, 256)
rawio.SetDimensions(1, 256)
rawio.SetSpacing(0, 1)
rawio.SetSpacing(1, 1)
rawio.SetByteOrderToLittleEndian()
Hi, I was trying to do a comparative study with TIGRE and RTK for which I have stored Shepp-Logan data from TIGRE in .raw format. With this data and its corresponding parameters, I am trying to reconstruct it in RTK. While debugging Abort error occurs. I am not sure if it is because I have not provided the geometry parameters properly. The code I have written is shown below:
Please help me to solve this problem. Thanks in advance.
Regards, Navami.