> i want to render with SPM, but i cann't, please help me
Rendering in SPM is pretty crude, and there are much better tools out there
for doing this. The following links should give you some ideas:
http://www.cma.mgh.harvard.edu/iatr/
http://idoimaging.com/index.shtml
If you just would like to render some results on a "canonical" brain surface,
then you would use the Render pulldown, which allows you to specify the set
of results from an SPM statistical analysis, and select the pre-computed
images on which to display them.
If you have an image of a subject that you would like to render, then:
Segment the image first.
Use the Render pulldown, and chose "Xtract brain" (this is badly labled, as
all it does really is create approximate brain surfaces). Select the seg1
and seg2 images that result from the segmentation, and chose what you would
like to have produced. If you chose to create a brain surface file, then
this can be displayed by pasting this into Matlab:
FV = load(spm_get(1,'surf_*.mat','Select surface data'));
fg = spm_figure('GetWin','Graphics');
ax = axes('Parent',fg);
p = patch(FV, 'Parent',ax,...
'FaceColor', [0.8 0.7 0.7], 'FaceVertexCData', [],...
'EdgeColor', 'none',...
'FaceLighting', 'phong',...
'SpecularStrength' ,0.7, 'AmbientStrength', 0.1,...
'DiffuseStrength', 0.7, 'SpecularExponent', 10);
set(0,'CurrentFigure',fg);
set(fg,'CurrentAxes',ax);
l = camlight(-40, 20);
axis image;
rotate3d on;
Best regards,
-John
|