Make transparent overlay heat map of same dimensions to tiff?

30 views (last 30 days)
Theodore Fisher
Theodore Fisher on 19 Feb 2021
When i overlay the image and heatmap they are different dimensions and the heatmap is solid when i need it to be transparent below a certain threshold. Any ideas?
overSMA = imread('binaryp60SMA .tif')
hold on
A = pcolor(finalM60);
shading interp;
set(gca, 'clim', [0 0.08]);
colormap([0 0 0; jet]);
shading interp;
axis equal
colormap parula

Answers (1)

Keerthana Chiruvolu
Keerthana Chiruvolu on 22 Feb 2021
Use the imshowpair() function to overlay the images.
For more information, please refer the link.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!