Hi,
I would like to program matlab code for the following situation:
I want to create a set of png images, based on Analyze image of my
choice (which will be an MRI) and an overlaid Analyze image (with SPM
results for instance, or other data). These png images will be created
by looping over a chosen axis (x, y or z) and skipping two frames each
time. This way i can make a lightbox-like display without showing
every single slice.
The problem i have, is that i don't know how to overlay an image on
top of another, making the original image black&white (the MR) and the
overlay yellow-red and green-blue in case of positive or negative
values. This is partly accomplished in the spm display functionality,
but that code is a tad complex, and i believe i only need a few
instructions.
I can do all the other steps of reading images and asking input and
saving a figure window to a png, just not the actual displaying of the
images.
I have matlab 6.5 with the image processing toolbox v3.2, but can
obtain 7.0 too.
Thanks in advance,
Tom
|