No BSD License  

Highlights from
exact pictures from an .avi file

2.75

2.8 | 4 ratings Rate this file 3 Downloads (last 30 days) File Size: 460 Bytes File ID: #8167

exact pictures from an .avi file

by Darnshong chen

 

31 Jul 2005 (Updated 01 Aug 2005)

exact pictures from an .avi file

| Watch this File

File Information
Description

exact pictures from an .avi file
usage:
function avi2pic(avifile,pickind)
avifile--the .avi file name;
pickind--the format of the exacted pictures from the .avi file.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
16 Sep 2005 Marco Rima

It doesn't work well enough !

11 Jan 2006 dave martin

moldy crumbs

21 Mar 2007 max petrov

it doesn`t work

25 Apr 2007 murat surucu

it works well, but some avi returns empty colormap, so you must delete colormap item.
----------------
mov=aviread(avifile);
temp=size(mov);
fnum=temp(2);
for i=1:fnum,
strtemp=strcat(int2str(i),'.',pickind);
imwrite(mov(i).cdata(:,:,:),strtemp);
end

10 Jul 2008 Chris Foy

This is exactly what I was looking for. It's true that you must delete the colormap item, but that's a quick fix and then it works perfectly. Thanks.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
avi2pic Darnshong chen 22 Oct 2008 07:54:38
avi2bmp Darnshong chen 22 Oct 2008 07:54:38
avi2jpg Darnshong chen 22 Oct 2008 07:54:38
avi2tiff Darnshong chen 22 Oct 2008 07:54:38
avi2png Darnshong chen 22 Oct 2008 07:54:38
avi2bmp Stefano Mutta 02 Jun 2009 10:19:19
avi2bmp gum sri 10 Sep 2010 00:02:00
avi2jpg gum sri 12 Sep 2010 00:54:30

Contact us at files@mathworks.com