error while using niftiwrite

11 views (last 30 days)
Hemanth Reddy
Hemanth Reddy on 23 Feb 2020
Commented: Hemanth Reddy on 23 Feb 2020
I have images in the form of nifti format, i have done segmentation on the images and then want to save the segmentated images in nifti format itself. but i am getting an error..........i have attached the error below, please let me know what mistake i am doing.
  2 Comments
Subhadeep Koley
Subhadeep Koley on 23 Feb 2020
@ Hemanth Reddy It seems after segmentation the variable cIM is not a numeric matrix anymore. Can you share the code you used to segment the input nifti image?
Hemanth Reddy
Hemanth Reddy on 23 Feb 2020
i have attached the code which i used for segmentation @subhadeep Koley

Sign in to comment.

Answers (0)

Categories

Find more on Neuroimaging in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!