Make transparent overlay heat map of same dimensions to tiff?

31 views (last 30 days)
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')
imshow(overSMA)
hold on
A = pcolor(finalM60);
shading interp;
set(gca, 'clim', [0 0.08]);
colormap([0 0 0; jet]);
colorbar;
shading interp;
axis equal
colormap parula
colorbar;

Answers (1)

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

Categories

Find more on Colormaps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!