How can I log image frames to disk with a 12-bit camera?
1 次查看(过去 30 天)
显示 更早的评论
I am trying to log an avi file on disk using the following commands:
logfile = avifile('hello.avi)
logfile.Colormap = gray(256);
but I receive the following errors:
??? Error using ==> avifile.set>setColormap
Colormap must no more than 256 entries.
Error in ==> avifile.set at 43
obj = feval(paramSetFcns{match},obj,values{i});
Error in ==> avifile.subsasgn at 14
obj = set(obj,param,value);
采纳的回答
MathWorks Support Team
2011-6-20
This enhancement has been incorporated in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:
The ability to log 12-bit video feeds from the Image Acquisition Toolbox to an AVI file on disk is not possible.
The workaround is to log the frames to memory and then write to disk using IMWRITE.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GigE Vision Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!