Acquired IR image using videoinput seems to be wrong
1 回表示 (過去 30 日間)
古いコメントを表示
I want to retrieve an image from an thermal camera (Optris PI400). This fails, see the attached picture.
imaqreset
device = imaqhwinfo('winvideo', 2);
vidobj = videoinput('winvideo', 2);
img = getsnapshot(vidobj);
figure
imagesc(img)
For device I get this:
This is the picture I get:
Does anybody know, what might be the problem?
1 件のコメント
Walter Roberson
2019 年 5 月 29 日
You are displaying a YUY2 image as if it were RGB.
If it were a normal YUY2 image then I would suggest https://www.mathworks.com/help/imaq/returnedcolorspace.html but with it being IR, you probably need to do some other kind of processing of the panes, such as displaying them separately.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!