Select your language
U.S. English
Chinese (Simplified)
Japanese
Save
Renesas Engineering Community
Search Community
User
Join or sign in
Site
Search Community
User
Renesas Engineering Community
FAQ
Help
More
Cancel
Forums & Groups
English Community
Japanese Community
More
Cancel
中文论坛
团体和论坛
Vault Archive (CN)
2020 NUEDC AITIC
Cancel
2020 NUEDC AITIC
2020NUEDC交流讨论区
关于摄像头裁剪的问题
2020NUEDC交流讨论区
Mentions
Sub-Groups
Tags
More
Cancel
New
Replies
2 replies
Subscribers
2 subscribers
Views
113 views
Users
0 members are here
RZA2M
Options
Share
More
Cancel
Related
关于摄像头裁剪的问题
Always
over 4 years ago
我发现不同的例程中摄像头裁剪不一样,即使在camera_imx219_b.h中文件内容一样
请问如果要修改的话是修改
另外两个regdata的内容吗
George
over 4 years ago
如果要改变imx219的输出分辨率,需要修改camera_mipi_imx219_b_regdata.c
例如2D barcode例程camera_mipi_imx219_b_regdata.c里面
/* signal range */
{0x01, 0x6C, 0x05}, //1344
{0x01, 0x6D, 0x40},
{0x01, 0x6E, 0x04}, //1080
{0x01, 0x6F, 0x38},
它的输出分辨率是1344x1080。
在camera_imx219_b.h里面定义了Capture多大的画面到内存,Capture的窗口位置等
/* VIN capture setting */
#define CAM_VIN_PRECLIP_START_Y ( 0u) /* Start line of pre clip area */
#define CAM_VIN_PRECLIP_WIDTH_Y (720u) /* Line width of pre clip area */
#define CAM_VIN_PRECLIP_START_X ( 0u) /* Start pixel of pre clip area */
#define CAM_VIN_PRECLIP_WIDTH_X (1280u)
如果你需要capture的图像是1344x1080画面里面的一部分,可以不用修改camera_mipi_imx219_b_regdata.c,只修改
camera_imx219_b.h的参数调整画面大小和中心点。
但如果你想要比1344x1080更大的图像,就需要修改camera_mipi_imx219_b_regdata.c,让它输出更大的画面。
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
Always
over 4 years ago
了解了,谢谢,也就是说camera_imx219_b.h的参数调整画面大小和中心点,就不用调整camera_mipi_imx219_b_regdata内的X range 和Y range部分了
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel