how to implement nii_to_pngs_converter for .nii zipped files @monjoybme
@bmd143 This code can be used to convert single/multiple NIfTI image files (.nii or .ni.gz) into .png/JPEG/JPG/TIFF/TIF images. All the raw image data (.nii or .ni.gz) should be in the same folder. This code will create multiple folders with .png/JPEG/JPG/TIFF/TIF images based on the filename. Change rotation angle if required. Default is set to 90.
I recently made some changes in the code and created a PR request, which is still pending by the admin.
If you're using previous code use the below command to run the script:
python3 nii_to_pngs_converter.py --input_path /data/path/to/you/raw_nii/file/path
If you are using the modified code use the below command to run the script. In the modified code I just set the "save_image_path", which was previously "base_path".
python3 nii_to_pngs_converter.py --input_path /data/path/to/you/raw_nii/file/path --save_image_path /path/where/you/want/to/save/the/images
Let me know if you have any doubts. nii_to_png_converter.py can be used if you have multiple files.
@bmd143 There isn't any response. I'm hoping the problem has been resolved. I'm going to close this case. If you believe the problem has not been rectified, please reopen this ticket.
Sorry was busy with some other work. Thank you for all your guidance and support.
On Wed, 22 Dec 2021, 7:05 pm Monjoy Saha, @.***> wrote:
@bmd143 https://github.com/bmd143 There isn't any response. I'm hoping the problem has been resolved. I'm going to close this case. If you believe the problem has not been rectified, please reopen this ticket.
— Reply to this email directly, view it on GitHub https://github.com/alexlaurence/NIfTI-Image-Converter/issues/19#issuecomment-999582098, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBTZYGAOHETNZMPDMOYI4TUSHH37ANCNFSM5JN4EMWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
@bmd143 Please close the issue if you are satisfied with the solution.