to display multiple images on a single frame
Show older comments
I tried to display a X-Ray image .. and it successfully working. the code is below..
Y = dicomread('C:\Users\Rehana\Desktop\dicom\test.DCM');
imshow(Y);
imcontrast;
but getting error in the below code, here i am trynig to display multiple images on a single frame .. please help me..
load dicom
[X2,map2] = imread('C:\Program Files\MATLAB\images\'test'*.DCM');
subplot(1,2,1), subimage(X,map)
subplot(1,2,2), subimage(X2,map2)
in this case 'images' is one folder where i stored test1.DCM, test2.DCM,test3.DCM,test4.DCM ( samples of x-ray images )files.
1 Comment
Chandra Kurniawan
on 10 Jan 2012
What is the error message?
Accepted Answer
More Answers (1)
Walter Roberson
on 10 Jan 2012
0 votes
Instead of posting another copy of your question, answer the query put to you in your existing copy.
Your duplicate copy has been deleted.
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!