フィルターのクリア

Video to frame conversion

2 ビュー (過去 30 日間)
avinash ashok
avinash ashok 2019 年 4 月 24 日
編集済み: avinash ashok 2019 年 4 月 24 日
I am trying to convert a video file to image files using readFrame function. I was successful in extracting frames from video but each frame the halves were interchanged as shown in figure (2). Fig. 1 is a snapshot of video. Can anybody please help me with this?. My code is:
clc
clear all
close all
video_input =VideoReader('single.avi');
vid = readFrame(video_input);
imshow(vid)
FIGURE 1
FIGURE 2
  2 件のコメント
KSSV
KSSV 2019 年 4 月 24 日
YOu might be checking wrong frames.....check once.
avinash ashok
avinash ashok 2019 年 4 月 24 日
編集済み: avinash ashok 2019 年 4 月 24 日
Thanks for the response. Sorry. I couldnt understand. Do you mean that there is a frame in the video which looks like figure 2. In that case, I am sure that there are no frames similar to fig.2 because the faded white spikes that we see on the left corner in fig1 doesnt change its position but in the frame that is extracted it comes to the middle part which indicates that every frame is getting split and is interchanged

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by