Why do cameras update ROIPosition value to multiples of 4 or 8?
1 次查看(过去 30 天)
显示 更早的评论
While troubleshooting the following warning during video collection with the Image Acquisition Toolbox,
vid.ROIPosition = [775 675 400 400] % The region of interest I wanted
preview(vid)
Warning: ROIPosition property modified to nearest values acceptable to camera.
vid.ROIPosition
ans =
772 672 400 400 % The region of interest the camera chose
I found this answer which states "Commonly, devices [like cameras] will require the size of offset values [in the ROI] to be multiples of four or eight." Any idea why? Could this be because of binning?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!