WCHN / CTseg

Brain CT image segmentation, normalisation, skull-stripping and total brain/intracranial volume computation.
GNU General Public License v3.0
62 stars 16 forks source link

Error running the code. #24

Closed sindhura234 closed 1 year ago

sindhura234 commented 1 year ago

image What is wrong with padarray?

gllmflndn commented 1 year ago

padarray is part of the Image Processing Toolbox. Could you use SPM in conjunction with CTseg instead? It contains a version of the Multi-Brain toolbox that uses our own implementation spm_padarray.m.

brudfors commented 1 year ago

Hi @sindhura234,

Thanks @gllmflndn! Another option is to pull the latest master branch of MB, which now includes a fix to remove the dependency on the Image Processing Toolbox.

sindhura234 commented 1 year ago

padarray is part of the Image Processing Toolbox. Could you use SPM in conjunction with CTseg instead? It contains a version of the Multi-Brain toolbox that uses our own implementation spm_padarray.m.

I installed image processing toolbox and it worked. @gllmflndn Thanks