笔者用DM365连接14M image sensor,
笔者的image是V4L2抓取之后直接存储的raw image,
sensor的大小为4416×3312
1. S_FMT设为4416×3312, S_CROP设为4416×3312, 影像数据都为0
2. S_FMT设为4416×3312, S_CROP设为1920×1080, 影像数据正常
3. S_FMT设为4416×3312, S_CROP设为4224×490, 影像数据正常
4. S_FMT设为4416×3312, S_CROP设为4416×1080, 影像数据都为0
请问各位先进, 是哪边设定有问题吗?
Tuff Li:
DM365 视频采集的行大小有限制:
4.2.8 Horizontal Pixel Decimator (Downsizer)
The image pipe input is limited to 2176 pixels per horizontal line due to line memory width restrictions in
the various filtering blocks. In order to support sensors that output greater than 2176 pixels per line, a line
width decimator can be enabled (CFG1.DECM) to downsample the input lines to a width equal to or less
than the 2176 pixel maximum. The resize ratio can be configured by programming the RSZ register to be
within the range from 16 to 112, to give a resampling range from 1x to 1/7x (16/RSZ).
请参考DM36x IPNC 5MP采集的代码