フィルターのクリア

How can I get RAW capture with webcam function(without Image Acqusitio Toolbox)?

16 ビュー (過去 30 日間)
Chanyong Park
Chanyong Park 2024 年 5 月 13 日
回答済み: Jacob Mathew 2024 年 5 月 21 日
Hi,
I'm developing a depth camera and the camera using UVC(= webcam).
The output of the camera is not YUV or RGB but RAW16.
I tested that it is working with 'webcam' function in Matlab.
However, webcam function can only deliver the RGB image format with 'snapshot',(480x640x3(uint8)).
Can I get the RAW16(uint16) data using webcam/snapthot function?
I cannot find any options to do this.
BR,
Chanyong.

回答 (1 件)

Jacob Mathew
Jacob Mathew 2024 年 5 月 21 日
Hey Chanyong, I also faced a similar issue where if I took a snapshot with the webcam, the output is in uint8 RGB. This seems to be the default behavioras mentioned in the “snapshot” command documentation. You can refer to that here:
A possible solution is to try using the “Image Acquisition Explorer App” to check if MATLAB detects the camera’s ability to record in RAW16. To try this, first ensure that the “Image Acquisition Toolbox” is installed. You can refer to the following guide to install it:
Once it is installed, we can launch it using the command:
imageAcquisitionExplorer
If you do not see the desired camera, click on “Don’t see your device?” and install the necessary plugins to recognise your camera:
Once your camera is recognised, click on it to open the Image Acquisition App, and click on the “Configure Format” in the tool strip under the “Explorer” Tab:
If MATLAB recognises the camera, then RAW should show up as an option.

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by