找回密码
 注册
搜索
查看: 5040|回复: 4

[讨论] OV7740出现水波纹,请教如何设置?

[复制链接]
发表于 2013-1-26 10:08:05 | 显示全部楼层 |阅读模式
OV7740出现水波纹,请教如何设置?

使用ACD See顺序查看图片的时候,条纹明显。使用的主控是ARM11:SSD1938,XCLK=12MHz。寄存器的配置参数是从网上找到的,然后自行修改为60fps了。




/ const static struct ov7740_reg ov7740_vga_set[] = {
struct ov7740_reg ov7740_vga_set[] = {
//QXGA -> XGA
// OV7740 YCbCr VGA (640x480)
// 30fps at 24MHz input clock, 16x gain ceiling
// Version: R-2
// Date: 05/19/2010

{0x12, 0x80},
{0x13, 0x00},

// {0x11, 0x01}, //00/01/03/07 for 60/30/15/7.5fps
{0x11, 0x00},
// {0x11, 0x01},
{0x55, 0xC0},

{0x12, 0x00},
{0xd5, 0x10},
{0x0c, 0x12},
{0x0d, 0x34},
{0x17, 0x25},
{0x18, 0xa0},
{0x19, 0x03},
{0x1a, 0xf0},
{0x1b, 0x89},
{0x1e, 0x13},
{0x22, 0x03},
{0x29, 0x17},
{0x2b, 0xf8},
{0x2c, 0x01},
{0x31, 0xa0},
{0x32, 0xf0},
{0x33, 0xc4},

// {0x3a, 0xb4}, //<= 30fps //42 35 05 //60fps
{0x35, 0x05},

{0x36, 0x3f},

{0x04, 0x60},
{0x27, 0x80},
// {0x3d, 0x0f}, //08/0f/0f/0f for 60/30/15/7.5fps
{0x3d, 0x08},

{0x3e, 0x82},
{0x3f, 0x40},
{0x40, 0x7f},
{0x41, 0x6a},
{0x42, 0x29},
// {0x44, 0xe5}, //f5/e5/e5/e5 for 60/30/15/7.5fps
{0x44, 0xf5},

{0x45, 0x41},
{0x47, 0x42},
{0x48, 0x00},
{0x49, 0x61},
{0x4a, 0xa1},
{0x4b, 0x46},
{0x4c, 0x18},
{0x4d, 0x50},
{0x4e, 0x13},
{0x64, 0x00},
{0x67, 0x88},
{0x68, 0x1a},

{0x14, 0x38},
{0x24, 0x3c},
{0x25, 0x30},
{0x26, 0x72},

// {0x50, 0x97}, //2e/97/4c/26 for 60/30/15/7.5fps
{0x50, 0x2e},
// {0x51, 0x7e}, //fc/7e/3f/20 for 60/30/15/7.5fps
{0x51, 0xfc},
// {0x52, 0x00}, //10/00/00/00 for 60/30/15/7.5fps
{0x52, 0x10},

{0x53, 0x00},
{0x20, 0x00},
// {0x21, 0x23}, //01/23/57/cf for 60/30/15/7.5fps
{0x21, 0x01},

{0x38, 0x14},
{0xe9, 0x00},
{0x56, 0x55},
{0x57, 0xff},
{0x58, 0xff},
{0x59, 0xff},
{0x5f, 0x04},
// {0x13, 0xff},

{0x80, 0x7d},
{0x81, 0x3f},
{0x82, 0x32},
{0x83, 0x03},
{0x38, 0x11},
{0x84, 0x70},
{0x85, 0x00},
{0x86, 0x03},
{0x87, 0x01},
{0x88, 0x05},
{0x89, 0x30},
{0x8d, 0x30},
{0x8f, 0x85},
{0x93, 0x30},
{0x95, 0x85},
{0x99, 0x30},
{0x9b, 0x85},

{0x9c, 0x08},
{0x9d, 0x12},
{0x9e, 0x23},
{0x9f, 0x45},
{0xa0, 0x55},
{0xa1, 0x64},
{0xa2, 0x72},
{0xa3, 0x7f},
{0xa4, 0x8b},
{0xa5, 0x95},
{0xa6, 0xa7},
{0xa7, 0xb5},
{0xa8, 0xcb},
{0xa9, 0xdd},
{0xaa, 0xec},
{0xab, 0x1a},

{0xce, 0x78},
{0xcf, 0x6e},
{0xd0, 0x0a},
{0xd1, 0x0c},
{0xd2, 0x84},
{0xd3, 0x90},
{0xd4, 0x1e},

{0x5a, 0x24},
{0x5b, 0x1f},
{0x5c, 0x88},
{0x5d, 0x60},

{0xac, 0x6e},
{0xbe, 0xff},
{0xbf, 0x00},

//50/60Hz auto detection is XCLK dependent
//the following is based on XCLK = 24MHz
{0x70, 0x00},
{0x71, 0x34},
{0x74, 0x28},
{0x75, 0x98},
{0x76, 0x00},
{0x77, 0x08},
{0x78, 0x01},
{0x79, 0xc2},
{0x7d, 0x02},
{0x7a, 0x9c},
{0x7b, 0x40},
{0xec, 0x02}, //02/82 for manual/auto
{0x7c, 0x0c},

// {0x00, 0xFF},
// {0x00, 0xEF},
// {0x00, 0xCF},

// {0x00, 0xB0},

// {0x00, 0x80},
// {0x00, 0x0F},
// {0x14, 0x48},




// 2012-11-16 04:46下午 偏色设置
{0x01, 0x40},
{0x02, 0x48},
{0x03, 0x30},

{0x00, 0xFF},

// {0x13, 0xFF},
};<img src="attachments/dvbbs/2013-1/2013126107529828.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261071035102.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261071596938.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261072254999.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261072613822.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261073023600.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261073580141.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261073963081.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261074350211.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
<img src="attachments/dvbbs/2013-1/20131261074787767.jpg" border="0" onclick="zoom(this)" onload="if(this.width>document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2013-3-6 10:05:24 | 显示全部楼层
专业做镁光,OV,SONY sensor感光芯片,OV全系列产品包括技术支持这块,有需要请联系我,小蔡,13510531636  QQ:951388908
点评回复

使用道具 举报

发表于 2013-3-5 20:17:11 | 显示全部楼层
改banding filter就好了
点评回复

使用道具 举报

发表于 2013-5-13 11:43:03 | 显示全部楼层
本公司专做OV/镁光 ov3620 ov3610 ov5620 ov5610 ov7725 ov7670 MI5100 MI1310 MI2010 MT9P001 MT9M001 OV3640 OV5640 OV3642 OV5653 OV5650 大量现货,价格优惠 联系人:蔡先生 联系电话:1 5 8 1 4 0 0 4 2 4 7 QQ:953298030 随时欢迎你的来电咨询
点评回复

使用道具 举报

发表于 2019-1-25 23:42:43 | 显示全部楼层
改好没?没下文了?banding filter是啥?
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-4-28 22:50 , Processed in 0.060809 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表