<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Dear Ken,</div>
<div class=""><br class="">
</div>
<div class="">ft_volumewrite is your friend if you want to write a volumetric image to a file.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes, </div>
<div class=""><br class="">
</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 2 Jun 2020, at 21:44, KennethSPrice <<a href="mailto:KennethSPrice@protonmail.com" class="">KennethSPrice@protonmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hello all!<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I am just starting out using fieldtrip and am having some trouble exporting the result of voluereslice. How does one export the output of ft_volumereslice (struct) as a nifti file?<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I have tried 'niftiwrite' but get the error message:<br class="">
</div>
<div class="">Error using niftiwrite>parseInputs (line 149)<br class="">
</div>
<div class="">The input volume must be specified as a numeric<br class="">
</div>
<div class="">matrix.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Any help would be appreciated.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thanks!<br class="">
</div>
<div class="">Ken<br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="protonmail_signature_block">
<div class="protonmail_signature_block-user protonmail_signature_block-empty"><br class="">
</div>
<div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com/" target="_blank" class="">
ProtonMail</a> Secure Email.<br class="">
</div>
</div>
<div class=""><br class="">
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>