Info

此问题已关闭。 请重新打开它进行编辑或回答。

frame rate up-conversion

1 次查看(过去 30 天)
tala
tala 2016-12-12
关闭: Walter Roberson 2016-12-12
hello im a beginner in matlab. i want to increase the number of frames in a video. i have tried the interp1 but the results were not good. now i want to increase the frames in transform domain and using wavelet. my sequence has 9 frames of 512*512 pixels. so do i have to go through pixel by pixel in frames and use one dimensional dwt? for example i decompose all 9 frames to approximation and detail. and i want to produce an approximation and detail between each pixel in consecutive frames. what should i do?
clc; clear all; Image_Address_Echo_1='C:\Users\RT\Desktop\10_jpeg\'; file_format_Echo='.jpg';
for num=1:9 prefix_image='img'; Image(:,:,num)= rgb2gray(imread(strcat(Image_Address_Echo_1,prefix_image,num2str(num),file_format_Echo))); end
m = 512; n = 512 ; %dimension of images
fr = 1:2:18 ; % frame time
fri = 1:1:18 ; % frame time to be inteprolated
Ii = zeros(m,n,length(fri)) ; % initiliaze the interpolated frames
for i=1:m for j=1:n I_ij = double(squeeze(Image(i,j,:))) ; Ii_ij = wavedec(I_ij,1,'haar');
i dont know what should be the rest

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by