How to fuse rgb image with gray image ?
조회 수: 4 (최근 30일)
이전 댓글 표시
Helle everyone,
I want to fuse an rgb image (labeled_regions) with gray image (orig). I tried ysing imfuse as the code shown here but I didn't got anything. I've tried also the hold hold off the same problem.
Please could any one help me solving this issue?
I will be grateful.
here is my code
figure
imshow(orig,[]);
figure
imshow(labeled_regions,[])
figure
imfuse(orig,labeled_regions,,'blend','Scaling','joint');
댓글 수: 0
답변 (1개)
Walter Roberson
2020년 12월 23일
infuse does not display the image.
imshow( imfuse(orig, labeled_regions, 'blend', 'Scaling', 'joint') );
댓글 수: 3
Walter Roberson
2020년 12월 23일
orig = sort(rand(240, 320, 3));
figure
imshow(orig, []);
figure
labeled_regions = sort(randi([0 3], 240, 320),2);
imshow(labeled_regions, []);
figure
imshow( imfuse(orig, labeled_regions, 'blend', 'Scaling', 'joint') );
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!