关于第三方载板对接RAW_MIPI_SC132M遇到的问题
-
我们正在计划在自行研发的Tx2Nx控制器上面使用RAW_MIPI_SC132M这个模块,目前在调试阶段已经调到可以出图了,但是出图不对,看图像数据也都是00和FF,不像是正常图像

这个是我们用v4l2命令导出后用vooya打开的图像,我们不太清楚是哪里的问题,想得到您的指点 -
- 是不是没有装镜头啊?
- 这个camera只有手动曝光模式,所以图像需要在装好镜头的情况下调节一下曝光时间。
- 请参考一下7.2.8,jetson平台为了处理效率,buffer做了64字节对齐。如果你的这张图片格式是GREY的,那么1080/64=16.875。
所以,jetson平台实际为每张图片申请的buffer,对应的图像宽度是17x64=1088。 你使用vooya打开图片的时候,要用1088x1280分辨率才可以。
为了前期使用简单起见。可以设置ROI为16x64=1024。
v4l2-ctl --set-ctrl roi_x=0 v4l2-ctl --set-ctrl roi_y=0 v4l2-ctl --set-fmt-video=width=1024,height=1280,pixelformat=GREY然后再启用qv4l2或者抓图,都可以省掉buffer对齐的烦恼。
-
@veye_xumm 是的,确实是未装镜头导致的,实际图像正常,感谢您的指点
-
@robot 不客气。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login