Hi all!
I'm trying to place side by side 12 image in 1 window with no space between them.
Here's my code:
clc;clear;close all
info=fitsinfo('N20190713S0564.fits')
fitsdisp('N20190713S0564.fits')
for i=1:length(info.Image)
F(:,:,i)=fitsread('N20190713S0564.fits','image',i);
subplot(1,length(info.Image),i)
imshow(F(:,:,i),[])
axis on
end
Which gives me this photos segments which I would like them to be side by side as one:
Could you help me?

댓글 수: 3

Create one image and show it
for i=1:length(info.Image)
F1=fitsread('N20190713S0564.fits','image',i);
F = [F F1];
end
imshow(F)
That worked really well!
Thanks a lot :)
Image Analyst
Image Analyst 2020년 4월 27일
darova, put it down in the official Answers section below so he can Accept your answer and you can get credit for it.

댓글을 달려면 로그인하십시오.

 채택된 답변

darova
darova 2020년 4월 27일

0 개 추천

You can concantenate all you imagesc into one
for i=1:length(info.Image)
F1=fitsread('N20190713S0564.fits','image',i);
F = [F zeros(size(F1,1),3) F1]; % concantenate images (3 columns of zeros between)
end
imshow(F)
Here is my achievements. I want more. Can you help?

추가 답변 (0개)

카테고리

태그

질문:

2020년 4월 26일

답변:

2020년 4월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by