method to convert 16bits generic data(IPU_PIX_FMT_GENERIC_16) to RGB Format

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

method to convert 16bits generic data(IPU_PIX_FMT_GENERIC_16) to RGB Format

跳至解决方案
1,471 次查看
ayyappadasps
Contributor II

hi all,

           I am using ov2710 parallel camera and pixel format  used is IPU_PIX_FMT_GENERIC_16 .

          I am able to capture an image,but it NOT coming in RGB format.

           could please help me to find a way to convert generic 16 pixel format to rgb pixel format

标签 (3)
1 解答
961 次查看
navinars
Contributor III

Hi,

  You can convert it online using the website rawpixels.net. 

I looked through the product info for OV2710 and saw that it supports only 8/10 bit raw data format. You will have to configure which stream the camera outputs by tweaking the camera registers. Assuming you are capturing 10-bit data, I think the format you should use for capturing is 0x30314742  (BG10)  GitHub - avafinger/cap-v4l2: capture frames from CMOS camera ov5640 / ov8865 using V4l2 and OpenCV. The pixel format should be V4L2_PIX_FMT_SBGGR10.

在原帖中查看解决方案

0 项奖励
3 回复数
961 次查看
ayyappadasps
Contributor II

hi  igorpadykov;

Thnx for your valuable replay.

Is there any external software tool to convert RAW image to RGB image format

0 项奖励
962 次查看
navinars
Contributor III

Hi,

  You can convert it online using the website rawpixels.net. 

I looked through the product info for OV2710 and saw that it supports only 8/10 bit raw data format. You will have to configure which stream the camera outputs by tweaking the camera registers. Assuming you are capturing 10-bit data, I think the format you should use for capturing is 0x30314742  (BG10)  GitHub - avafinger/cap-v4l2: capture frames from CMOS camera ov5640 / ov8865 using V4l2 and OpenCV. The pixel format should be V4L2_PIX_FMT_SBGGR10.

0 项奖励
961 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ayyappadas 

unfortunately ipu does not support convertion generic/raw format to rgb as answered on

https://community.nxp.com/message/309833#309833

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------