フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

What in the %&$^ possessed MATLAB to replace a clean-working function with a sloppy one?

1 回表示 (過去 30 日間)
Dave
Dave 2014 年 11 月 13 日
閉鎖済み: John D'Errico 2014 年 11 月 13 日
Over the last several versions, the sample code for using VideoReader went from this:
obj = VideoReader('avi_file_name.avi');
your_movie = read(obj);
to this %&^*ing mess:
movobj = VideoReader(mov);
w = movobj.Width;
h = movobj.Height;
mov = struct('cdata', zeros(h, w, 3, 'uint8'), 'colormap', []);
k = 1;
while hasFrame(movobj)
mov(k).cdata = readFrame(movobj);
k = k + 1;
end
Seriously. What were you guys smoking? I just want to know why this went from SIMPLE and PRETTY to COMPLICATED and BUTT-UGLY.
  1 件のコメント
Andrew Reibold
Andrew Reibold 2014 年 11 月 13 日
編集済み: Andrew Reibold 2014 年 11 月 13 日
Do you have an actual question or are you just ranting.
It looks to me that there is now a lot more user customization demonstrated here making it a better sample (Thanks Mathworks!) , and its still simple enough that a highschooler (or maybe even a very smart monkey) that was taught matlab fundamentals could still figure it out
*shrug

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by