i have to read videos convert into frames detect shot boundary and keyframe
Afficher commentaires plus anciens
http://www.ijsrp.org/research_paper_jul2012/ijsrp-july-2012-33.pdf ("Keyframe Based Video Summarization Using Automatic Threshold & Edge Matching Rate")
pls somebody help to code two algorithms in the paper available in dis link...
3 commentaires
Walter Roberson
le 29 Août 2012
Please ask a more specific question about a part that you are stuck on.
Image Analyst
le 30 Août 2012
We generally don't read papers and explain them to people, nor read papers, convert them to code and hand over the code to people. That's way too much work to ask us volunteers to do for you. There are consultants you can hire (pay) to do that work for you if you're interested.
KIRAN kumar
le 18 Jan 2013
Réponses (1)
KIRAN kumar
le 15 Avr 2013
Modifié(e) : Walter Roberson
le 14 Avr 2020
warning off; clear all; close all; clc;
obj = mmreader('filename.avi');
vid = read(obj);
frames = obj.NumberOfFrames %Read the Total number of frames and displyed in command window
ST='.jpg';% u can change the extension if u want to
%%ex)readind and writing the 100 frames
%if u want to change the values means replace upto 1:776
for x = 1:100% just for 100 frames
Sx=num2str(x);
Strc=strcat(Sx,ST);
Vid=vid(:,:,:,x);
imwrite(Vid,Strc);
end
Input_seq1=imread('1.jpg');
I=rgb2gray(Input_seq1);
imshow(Input_seq1)
title('original Image')
figure,imshow(I)
title('GRAY SCALE IMAGE')
%% now perform shot boundary detection using differeent derivates/filters like sobel,prewitt or morphologcaal operators like strel commands
4 commentaires
SV
le 14 Avr 2020
Code please
Walter Roberson
le 14 Avr 2020
KIRAN already posted code.
SV
le 22 Avr 2020
I didn't got any , plz do help
Walter Roberson
le 22 Avr 2020
Modifié(e) : Walter Roberson
le 22 Avr 2020
https://www.mathworks.com/matlabcentral/answers/46971-i-have-to-read-videos-convert-into-frames-detect-shot-boundary-and-keyframe#answer_82241 is the code for the question that was asked, at the time it was asked.
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!