using getframe to separate frames from a video...need easy code.
显示 更早的评论
Fractogene is the name of my video....
I tried:
for frame = 1:number
fractogene(frame)= getframe;
end
fractogene(117)
ans =
cdata: [240x320 uint16]
colormap: [0x3 double]
As you can see, I got a value...Does this mean anything at all?
How can I plot it, as I didn't get a plot...
采纳的回答
更多回答(1 个)
Image Analyst
2011-10-16
0 个投票
No that doesn't mean anything. You're getting the data in an axes but you haven't loaded anything into the axes, at least not in the code you've shown.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!