²é¿´: 914  |  »Ø¸´: 4
µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû

qdwang

ľ³æ (СÓÐÃûÆø)

[½»Á÷] ¡¾ÇóÖú¡¿matlab Ëã·¨Çó½Ì

¶ÔÒ»Êý×飬ÆäÖеÄÔªËصÍÓÚijһ³£ÊýÖµaʱ£¬Ê¹Æä¹é0.ʹÓÃÄÄʲôÓï¾ä°¡¡£¡£¡£ÎÒÊÇÐÂÈË£¬Ð»Ð»¡£
»Ø¸´´ËÂ¥

» ÊÕ¼±¾ÌûµÄÌÔÌûר¼­ÍƼö

source

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍƼö£¬¶ÔÄúͬÑùÓаïÖú:

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

lidaxue

ľ³æ (ÕýʽдÊÖ)

Ö®ºõÕßÒ²

¡ï
nono2009(½ð±Ò+1):¹ÄÀøÓ¦Öú 2010-10-30 06:50:16
qdwang(½ð±Ò+3): ллÄãµÄÈÏÕæ½²½â 2011-04-26 09:13:26
ÒýÓûØÌû:
Originally posted by qdwang at 2010-10-20 10:03:09:
ÔõôÈÃmatlabÒ»´Î¶ÁÈë¶à×ématÐ;ØÕó»òÊý×é°¡¡£ÅóÓÑ¡£Ð»Ð»¡£

²Î¼û matlabµÄ help read
++++++++
>> help read
--- help for mmreader/read ---

READ Read a multimedia file.

    VIDEO = READ(OBJ) reads in video frames from the associated file.  VIDEO
    is an H x W x B x F matrix where H is the image frame height, W is the
    image frame width, B is the number of bands in the image (e.g. 3 for RGB),
    and F is the number of frames read in.  The default behavior is to read in
    all frames unless an index is specified.  The type of data returned is
    always UINT8 data representing RGB24 video frames.

    VIDEO = READ(...,INDEX) performs the same operation, but reads only the
    frame(s) specified by INDEX, where the first frame number is 1.  INDEX can
    be a single index,  or a two-element array representing an index range
    of the video stream.

    For example:

       VIDEO = READ(OBJ);           % Read in all video frames.
       VIDEO = READ(OBJ, 1);        % Read only the first frame.
       VIDEO = READ(OBJ, [1 10]);   % Read the first 10 frames.

    If any invalid INDEX is specified, MATLAB throws an error.

    Example:
       % Construct a multimedia reader object associated with file 'xylophone.mpg' with
       % user tag set to 'myreader1'.
       readerobj = mmreader('xylophone.mpg', 'tag', 'myreader1');

       % Read in all video frames.
       vidFrames = read(readerobj);

       % Get the number of frames.
       numFrames = get(readerobj, 'numberOfFrames');

       % Create a MATLAB movie struct from the video frames.
       for k = 1 : numFrames
             mov(k).cdata = vidFrames(:,:,:,k);
             mov(k).colormap = [];
       end

       % Create a figure
       hf = figure;
      
       % Resize figure based on the video's width and height
       set(hf, 'position', [150 150 readerobj.Width readerobj.Height])

       % Playback movie once at the video's frame rate
       movie(hf, mov, 1, readerobj.FrameRate);

    See also audiovideo, movie, mmreader, mmreader/get, mmreader/set, mmfileinfo.

    Overloaded methods:
       vdspdebug/read
       eclipseide/read
       ghsmulti/read
       daitem/read
       dagroup/read
       rfckt.read
       vrjoystick/read
       ccsdebug/read
       wptree/read
       wdectree/read
       dtree/read

    Reference page in Help browser
       doc mmreader/read

>>
Comeon£¡
5Â¥2010-10-29 09:22:31
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌøת ÎÒÒª¶©ÔÄÂ¥Ö÷ qdwang µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍƼö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[»ù½ðÉêÇë] »¹ÓУ¬jjw²»·¢²¼ABCµÄ¶¯»úÊÇʲôÄØ£¿ +4 a089 2024-09-20 4/200 2024-09-22 11:58 by shenyeqing
[Óлú½»Á÷] ÅÜ°å·Ö´¿ 15+3 DY12@ 2024-09-21 3/150 2024-09-22 10:59 by shouwe
[ÂÛÎÄͶ¸å] ÓÐûÓбãÒËÒ»µãµÄ¿ªÔ´ÆÚ¿¯ 100+5 zhuzhuyaya 2024-09-19 8/400 2024-09-22 10:58 by shouwe
[¿¼²©] Ì×´ÅÐÅûÓлظ´ +5 Wicoo 2024-09-18 8/400 2024-09-22 10:49 by Wicoo
[ÂÛÎÄͶ¸å] ÂÛÎÄͶ¸å 5+4 love319 2024-09-20 6/300 2024-09-22 10:14 by bobvan
[»ù½ðÉêÇë] ˹̹¸£´óѧ·¢²¼µÄ Äê¶ÈÓ°ÏìÁ¦°ñµ¥¶¼ÉÏ°ñÁË°É£¿ +4 babu2015 2024-09-21 6/300 2024-09-22 10:10 by babu2015
[Ö°³¡ÈËÉú] ֱϵÁìµ¼ÈÃÎÒ×öËûµÄ²©ºó +3 ľ֮½Ç 2024-09-21 3/150 2024-09-22 09:37 by ciompman
[½Ìʦ֮¼Ò] ´óרÔÚÖ°½ÌʦÊÇ·ñÐèÒª¶ÁÒ»¸öÔÚÖ°²©Ê¿£¿ +19 Îé³ËÆâ35 2024-09-19 35/1750 2024-09-22 08:36 by Quakerbird
[˶²©¼ÒÔ°] ¸Ð¾õÔÚÈðµä²»ÊʺÏ×ö¿ÆÑÐ +14 ±ÏÉúËùѧ 2024-09-19 18/900 2024-09-21 21:25 by °ØÖÛ0000
[²©ºóÖ®¼Ò] ±±¾©¿Æ¼¼´óѧ ѧÀúÈÏÖ¤ÊÇ·ñ¿ÉÔÚ²©Ê¿ºóÈëÖ°°ëÄêÄÚ²¹½»£¿ +4 Сº¢×ÓQZY 2024-09-18 4/200 2024-09-21 21:05 by ÎÒÊÇÁú¸ç°¡
[Óлú½»Á÷] ·´Ó¦»úÀí +3 S19971113 2024-09-21 3/150 2024-09-21 20:00 by tianjunbo
[˶²©¼ÒÔ°] ÏÖ²©Ê¿ÔÚ¶Á£¬Ë¶Ê¿Ñ§Ð£µÄ˶µ¼ÓÖÈøɻî +8 Ò²¾ÍÕâÑù 2024-09-18 9/450 2024-09-21 18:45 by â¹ûÓë³È×Ó
[˶²©¼ÒÔ°] ÏñÎÒÕâÑùµÄÈËÉêÇå±±²©Ê¿ÊDz»ÊdzÕÐÄÍýÏë +12 Kelaizhang 2024-09-19 13/650 2024-09-21 17:49 by ÔÂÁÁûÓÐ˯
[ÂÛÎÄͶ¸å] ¶¥¼¶Ë®¿¯£¬¼¸ºõ²»¾Ü¸åµÄSCI! +5 a433587770 2024-09-18 5/250 2024-09-21 12:39 by 88817753
[ÂÛÎÄͶ¸å] µ¼Ê¦Ã»ÓпÎÌ⣬ÓÃÎÒдµÄÎÄÕÂÉêÇë¿ÎÌ⣬ÓÖ²»Ô¸Ò⻨Ǯ¸øÎÒͶÎÄÕ +9 evan0489 2024-09-17 10/500 2024-09-21 12:33 by ³õѧÕß¾ü
[Óлú½»Á÷] Çë½Ì¸÷룬²úÎïÈܽâÐԺܲîÇÒ¶ÔË®ºÍ¿ÕÆøÃô¸ÐÔõô´òºË´Å 5+4 ·èÅ£´ó¿ñ×Ó 2024-09-19 10/500 2024-09-21 11:45 by 88817753
[»ù½ðÉêÇë] ½ñÄêÖÐÁ˹ú¼Ò¿ÎÌ⣬Ã÷ÄêƸ½²Ê¦£¬¹ú¼Ò¼¶¿ÎÌâ¿ÉÒÔÓÃÓÚ½ø¸±½ÌÊÚÂð 20+10 ´ºÌì²¥ÖÖ£¬ÇïÌì· 2024-09-16 23/1150 2024-09-21 11:28 by gwmgyp
[»ù½ðÉêÇë] ÓиÐÓÚÇëר¼ÒÖ¸µ¼É걨Êé +8 huitong441 2024-09-16 14/700 2024-09-20 21:32 by huitong441
[»ù½ðÉêÇë] ½áÏî4ÄêÁË£¬ÂÛÎÄ»¹Äܹһù½ðºÅÂð +10 xiandaiqi 2024-09-15 12/600 2024-09-19 22:00 by yuch
[¿¼²©] ÇóÖúÇóÖú 15+3 Ç¡µÄ¸ÂàÔ´à 2024-09-15 3/150 2024-09-19 09:20 by Kelaizhang
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û