I want to get the function of MAR
I have developed the MAR function in my end but it takes much time (30 mins)
I have used the 400 DICOM files for testing
I want to reduce running time from 30mins to 1 min
this is the code for 1 dicom file
it takes 25s to complete 1 file
I have the code for MAR using DICOM files
But it takes much time (25s for 1 file , 30 mins for 400 files)
So I want you to reduce running time from 30mins to 1 min
Probably it would be hard to improve the performance of radon/iradon CPU implementation in scikit-image. I would suggest to try a GPU implementation, such as this one (it seems that they provide source code, but I did not check what they provide exactly).
You can run the code snippets above in Slicer’s Python console or you can put them in a Python scripted module.
If you want a GPU-accelerated radon transform then check if you can find such a Python package. If there isn’t any then you can use any C++ implementations of the radon transform that you find, by building Slicer and a C++ loadable module.