I want to create a heat map on a specific image. I have a 2x2 "templeCoords" matrix (representing the pixel points of the image). I used the following lines to save the image.
C=Imread('nwntemplemap.png'); %% Display the picture figure, imshow(C) hold on; HeatMap(templeCoords);
It opens 2 different windows - one with the image uploaded by me, and the other is a heat map, I think.
Unfortunately, he could not cope with this, since he first worked with a heat map. Can anyone help?
Added question: is it even possible to draw heat maps with the available data that I mentioned?
The image above is a scatter plot of the points, and the image
source share