From: James on
i want to overlay an image on top of another image. Both images are the same size and both are in dicom format.
Here are the images:
http://www.sendspace.com/file/to5y4w
http://www.sendspace.com/file/btcq0q

Below is the code i started with:
a = dicomread('CT.1.2.246.352.63.1.4932789913146072778.14905487499461594542.dcm');
figure,
imshow(a,[])
b = dicomread('CT.1.2.246.352.63.1.4934311065040155600.1593673677590675085.dcm');
figure,
imshow(b,[])
Both images show up fine in the matlab window.

http://www.mathworks.com/access/helpdesk/help/toolbox/images/f20-14791.html#f20-27796
I tried to follow the above demo, and when i loaded the two images into the Control Point Selection Tool, i didn't get what i anticipated but instead got two very dark images.
Can anyone suggest why the images weren't showing up in the Control Point Selection Tool, does it have anything to do with RGB or/and grayscale?
Also, is the method which was shown in the demo the most simplistic way of superimposing one image on top of the another?

Thanks in advance for any kind of help offered.
From: James on
anyone?
From: James on
please help!
From: ImageAnalyst on
Why don't you just display the average of the two images?
From: James on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <afa2d5e2-7a85-4543-9734-f15acf97e1a3(a)j21g2000yqh.googlegroups.com>...
> Why don't you just display the average of the two images?

Sorry, i am kind of new to matlab so i don't really know the best way to overlay two images. What does taking the average of the two images do?