help
help > Problem with overlapping color for overlay
Jan 29, 2019 11:01 PM | Chuanji Gao
Problem with overlapping color for overlay
Hi Chris,
I had a problem of the overlapping color when I overlay two images.
When I run in one circumstance, the overlay color is yellow. The code I used is below:
BEGIN
RESETDEFAULTS;
MESHLOAD('BrainMesh_ICBM152_smoothed.mz3');
OVERLAYLOAD('.\Figure 3\rightPSTG_ALE_pN001.nii');
OVERLAYCOLORNAME(1, 'Winter');
OVERLAYMINMAX(1, 0.04, 0.08);
OVERLAYLOAD('.\Figure 3\meta_map_rightPSTGfinal.nii');
OVERLAYCOLORNAME(2, 'Red');
OVERLAYADDITIVE(true);
SHADERNAME('Minimal');
OVERLAYTRANSPARENCYONBACKGROUND(50);
SHADERXRAY(1, 0.3);
END.
However, when I tried to overlay another two images, the overlapping region color changed to purple.
The code I used is exactly the same as above but different files.
BEGIN
RESETDEFAULTS;
MESHLOAD('BrainMesh_ICBM152_smoothed.mz3');
OVERLAYLOAD('.\3_figure\Figure 3\leftASTG_ALE_pN001.nii');
OVERLAYCOLORNAME(1, 'Winter');
OVERLAYMINMAX(1, 0.06, 0.12);
OVERLAYLOAD('.\Figure 3\meta_map_leftASTGfinal.nii');
OVERLAYCOLORNAME(2, 'Red');
OVERLAYADDITIVE(true);
SHADERNAME('Minimal');
OVERLAYTRANSPARENCYONBACKGROUND(50);
SHADERXRAY(1, 0.3);
END.
I'm wondering if there are some way to control the color of overlapping?
Thanks,
I had a problem of the overlapping color when I overlay two images.
When I run in one circumstance, the overlay color is yellow. The code I used is below:
BEGIN
RESETDEFAULTS;
MESHLOAD('BrainMesh_ICBM152_smoothed.mz3');
OVERLAYLOAD('.\Figure 3\rightPSTG_ALE_pN001.nii');
OVERLAYCOLORNAME(1, 'Winter');
OVERLAYMINMAX(1, 0.04, 0.08);
OVERLAYLOAD('.\Figure 3\meta_map_rightPSTGfinal.nii');
OVERLAYCOLORNAME(2, 'Red');
OVERLAYADDITIVE(true);
SHADERNAME('Minimal');
OVERLAYTRANSPARENCYONBACKGROUND(50);
SHADERXRAY(1, 0.3);
END.
However, when I tried to overlay another two images, the overlapping region color changed to purple.
The code I used is exactly the same as above but different files.
BEGIN
RESETDEFAULTS;
MESHLOAD('BrainMesh_ICBM152_smoothed.mz3');
OVERLAYLOAD('.\3_figure\Figure 3\leftASTG_ALE_pN001.nii');
OVERLAYCOLORNAME(1, 'Winter');
OVERLAYMINMAX(1, 0.06, 0.12);
OVERLAYLOAD('.\Figure 3\meta_map_leftASTGfinal.nii');
OVERLAYCOLORNAME(2, 'Red');
OVERLAYADDITIVE(true);
SHADERNAME('Minimal');
OVERLAYTRANSPARENCYONBACKGROUND(50);
SHADERXRAY(1, 0.3);
END.
I'm wondering if there are some way to control the color of overlapping?
Thanks,
Threaded View
| Title | Author | Date |
|---|---|---|
| Chuanji Gao | Jan 29, 2019 | |
| Chris Rorden | Jan 31, 2019 | |
