help > no "motor" could be found
Showing 1-2 of 2 posts
Display:
Results per page:
Dec 17, 2017  03:12 PM | Ge Tan
no "motor" could be found
Hi there,
    I found this software last week, and was shocked with its amzing function.  But i met following problems: (1) when i  ranning a script, such as:

BEGIN
LOADIMAGE('mni152_2009bet');
OVERLAYLOADSMOOTH(true);
OVERLAYLOAD('motor');
OVERLAYMINMAX(1, 2.5, 2.5);
BACKCOLOR(255, 255,255);
SHADERNAME('overlay_glass');
SHADERADJUST('edgeThresh', 0.6);

SHADERADJUST('edgeBoundMix', 0.72);
END.

the software notified that no "motor" could be found. But I could not find this file "motor" in the package of this software. So i was confused. (Forgive me, please. I am a doctor, and not good at software or program very well.)

(2) then i decided to download a new version of this software from the web, but failed again and again and again…… (maybe due to the poor internet speed)

(3) when adding a overlay (such as z-value map), the interface of the software turned to be light red, and i could not adjust the color successfully to make the regions of interest visual. 

Wish to get a suggestion from you, especially for the problems (1) and (3). Thank you very much. 

Best regard,
Ge Tan
May 8, 2018  12:05 AM | Chris Rorden
RE: no "motor" could be found
1.) I can not replicate your problem. It may be that I am using a different operating system, or you are using an old version. Can you download the pre-release
  https://github.com/neurolabusc/MRIcroGL/releases/tag/v1.0.20180402
and see if this works fine. The "motor.nii.gz" file should be included with the software. If you have any problems with the pre-release, can you tell me if you are using MacOS, Windows or Linux.

2.) I would always recommend adding the command "reset defaults" as your first. Without this, the appearance may be influenced by whatever you did before the script, and that could lead to inconsistent results. 

The classic script would be:

begin
resetdefaults;
loadimage('mni152_2009bet');
overlayloadsmooth(true);
overlayload('motor');
overlayminmax(1, 2.5, 2.5);
backcolor(255, 255,255);
shadername('overlay_glass');
shaderadjust('edgethresh', 0.6);
shaderadjust('edgeboundmix', 0.72);
end.


or with the new Python scripting included in the pre-release:

import gl
gl.resetdefaults;
gl.loadimage('mni152_2009bet');
gl.overlayloadsmooth(1);
gl.overlayload('motor');
gl.overlayminmax(1, 2.5, 2.5);
gl.backcolor(255, 255,255);
gl.shadername('overlay_glass');
gl.shaderadjust('edgethresh', 0.6);
gl.shaderadjust('edgeboundmix', 0.72);