Azzera filtri
Azzera filtri

Why do cameras update ROIPosition value to multiples of 4 or 8?

2 visualizzazioni (ultimi 30 giorni)
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?

Risposte (0)

Categorie

Scopri di più su MATLAB Support Package for IP Cameras in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by