How to make two images of similar visual size the same scale and coordinate system.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have two uint8 image arrays, one with size 15x212x3 and one with size 227x3392x3. Both are visually the same size. I am trying to get them both on the same coordinate system. This is what I have tried so far:
handles.Temp = (Mario_Structure.Stage1_1.statMapInd);
handles.Temp2 = (handles.Temp) .* 16;
Stage = Stage_UC(1:1:227,:,:);
Stage is the larger array and handles.Temp is the smaller one. I am piecewise multiplying by 16 because that is the ratio of the size of the stage array to the handles.Temp array. When I used this method, I am still getting the 15x212x3 size. Can anyone help me?
0 comentarios
Respuestas (1)
Chad Greene
el 25 de Jul. de 2017
If you have x and y data corresponding to the rows and columns of each image, you can simply do
image(x,y,I)
for each image I. And you can set the xlim and ylim of each axis to be the same.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!