error while using niftiwrite

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

@ 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?
i have attached the code which i used for segmentation @subhadeep Koley

Sign in to comment.

Answers (0)

Categories

Asked:

on 23 Feb 2020

Commented:

on 23 Feb 2020

Community Treasure Hunt

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

Start Hunting!