How can In convert video to 3d image

조회 수: 9 (최근 30일)
Aditi Singh
Aditi Singh 2019년 9월 9일
댓글: Aditi Singh 2019년 10월 5일
I have many images frames of video I want to filter useful images and convert it to 3d image. How can I do it???

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 9일
편집: KALYAN ACHARJYA 2019년 9월 9일
One Way (Considering Gray Images):
  1. Extract the individuals frames and save in cell array
  2. reshape(all_frames,[row_frame,col_frame,total_number_of_frames])
Example:
%im1,im2,im3 ..are frames
[r c]=size(im1); % any one frame
data=[im1,im2.......]
result=reshape(data1,[r,c,number_of_frames]);
You can extent the same logic for RGB also, which have three planes, how you going to concatenate all frames, you have to figure out? See multidimentional array here
Good Luck!
  댓글 수: 6
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 29일
편집: KALYAN ACHARJYA 2019년 9월 29일
Start with simplest case:
1.Consider three frames from the video
2.Read the frames (each frame is just image) store three variables, say im1, im2 and im3
Please ensure all frames are gray and having same size
image_3d=cat(3,im1,im2,m3);
Try to implement and if it works go for more options.
Aditi Singh
Aditi Singh 2019년 10월 5일
Sir can you help me to find out camera calibration of an image???

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

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by