Overlay imagesc on binary image
1 回表示 (過去 30 日間)
古いコメントを表示
Hi Matlab users:
I am trying to overlay an imagesc image on top of a binary image. I searched for it online, but no luck. Below is my code:
figure;
imshow(BW4);
hold on
imagesc(image2,'AlphaData',0.5); axis equal; axis tight; axis off;
myColorMap = jet(256);
myColorMap(1,:) = 0;
colormap(myColorMap); colorbar;
hold off
The output what I am getting looks like below image on right, instead of the jet colormap lines on top of white color. Can someone help me to fix this issue? I appreciate your time and effort.
Thanks,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171395/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171396/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171397/image.png)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!