NIfTI-Image-Converter icon indicating copy to clipboard operation
NIfTI-Image-Converter copied to clipboard

Matlab Error

Open Shiroifuyuki opened this issue 5 years ago • 2 comments

Hi there!

I noticed in your nii2png matlab program there was an error on line 173. You forgot to change the increment name from i to current_slice causing it to stay in an infinite loop! Simple fix.

Shiroifuyuki avatar Dec 05 '19 05:12 Shiroifuyuki

Thank you for this! Sorry for the late reply.

alexlaurence avatar Feb 12 '20 01:02 alexlaurence

Repate +1 in line 120, which leads to only output even-numbered pictures %current_volume = current_volume + 1;

Ernest861 avatar Aug 10 '21 06:08 Ernest861