How to merge between an image object and a surface object?
古いコメントを表示
Given an array of images of some size N,
I display an image from that array using imshow():
I = imshow(ImgArr(n))

Next, I create a surface overlay that displays a heatmap:
H = surface(x,y,v)
set(H,'EdgeAlpha',0,'FaceAlpha',0.5);
colormap('jet')

Now I have two objects: I is the Image object and H is the surface object.
I want to merge between I and H and get an array of merged images that can be displayed using the function montage().
End result should look like this for example (minus the white spaces...) .


Any tips on how to do this?
Note: I want to avoid saving anything to the hard disk except perhaps the final montage.
回答 (1 件)
Stanislav Steinberg
2019 年 1 月 28 日
カテゴリ
ヘルプ センター および File Exchange で Display Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!