Dear Erfan,
It is not entirely clear to me what you want to do with spm_mip().
spm_atlas() can be used to label 3D locations or clusters.
If you want to display a ROI from the atlas in the MIP, you can do
something like this:
VM = spm_atlas('mask','neuromorphometrics','Right FuG fusiform gyrus');
[x,y,z] = ind2sub(size(VM.dat),find(VM.dat));
XYZ = [x';y';z'];
XYZ = VM.mat(1:3,:)*[XYZ;ones(1,size(XYZ,2))];
spm_mip(ones(1,numel(x)),XYZ,VM.mat);
spm_colourmap gray-hot
One way to obtain a colour version of the MIP is to use the commented
code from here:
https://github.com/spm/spm12/blob/master/spm_mip.m#L116-L122
Best regards,
Guillaume.
On 01/09/2021 13:01, Erfan Vajdi wrote:
> Dear SPM users
> I hope you are doing well, I have a question about the image generated by spm_mip(). How can I identify the location of specific ROIs on the image? for example Fusiform right?
> Is it possible to generate a colorful version of the output of spm_mip()?
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|