필터 지우기
필터 지우기

explain 4-D unit8

조회 수: 8 (최근 30일)
asmi
asmi 2015년 6월 6일
댓글: asmi 2015년 6월 8일
when i read the video ex- vid = read(obj); then in vid we get the 4-D uint8..then 4d means(h,w,b,f) is or not..
  댓글 수: 4
Walter Roberson
Walter Roberson 2015년 6월 8일
Each frame of a video is represented by a 3D array -- height, width, and color channel (R, G, B). You can store multiple frames in the same array by using the 4th dimension, making the array height, width, channel, frames
IM(13,5,2,14)
is frame 14, channel 2 (Green), pixel row 13, pixel column 5.
asmi
asmi 2015년 6월 8일
Thanx Walter Roberson..

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2015년 6월 6일
Height, Width, Color Plane, Frame Number, where Color Plane is in the order Red, Green, Blue

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by