Alright, Does anyone have any idea on how to overlay two images in MATLAB so that they are able to be registered. i.e. so that a histogram can be taken of the image content of the two images when combined as opposed to a histogram being taken of the two images seperately. Thanks. |
|
Image Overlay
Started by ●March 19, 2002
Reply by ●March 23, 20022002-03-23
--- michael_fivey <> wrote: > Alright, > > Does anyone have any idea on how to overlay two > images in MATLAB so > that they are able to be registered. i.e. so that a > histogram can be > taken of the image content of the two images when > combined as opposed > to a histogram being taken of the two images > seperately. > > Thanks. > Hi, Convert your images to RGB if it is not (use ind2rgb). Than do the operations on the matrices. Finally use imagesc to display it. For example if you just want to add the images up then: Mtot=double(M1)+duoble(M2); % the double is needed in case you get uint8 matrices. Joe BSTEX - Equation viewer for Matlab http://www.geocities.com/bstex2001 |