找回密码
 注册
搜索
查看: 1001|回复: 5

[讨论] ov2640求助

[复制链接]
发表于 2009-11-12 19:10:03 | 显示全部楼层 |阅读模式
<img src="attachments/dvbbs/2009-11/200911121963173499.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="" />
预览时左边多一条是什么原因呢?而且这一条不断地在跳动

之前是正常的,改了尺寸后就出现这个问题了.但是我检查了一下现在的尽寸设置,应该也没有问题.是不是一定要成整数比例呢?

之前:
source:800*600
preview:240*200(ISP截取左右各40像素后缩小)
之后
source:800*600,
preview:240*180
发表于 2009-11-13 09:16:53 | 显示全部楼层
应该要改一下尺寸和位置,一般为16的整数倍
点评回复

使用道具 举报

 楼主| 发表于 2009-11-14 23:22:58 | 显示全部楼层
先暂时把预览图片调成之前的方案,然后在调拍摄模式。
当我进入C通道(拍照通道)后,当图片很小时(240*200),图像一切正常,当图片调大时(480*400),图像的色彩就有明显的错位,同时,有时Y分量也会出现偏移。
我的平台是三星2440+wince 5.0, ov2640

请大家帮我看一下,谢谢!

<img src="attachments/dvbbs/2009-11/2009111423224073499.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/2009-11/2009111423225073499.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="" />
[em03][em03][em03]
点评回复

使用道具 举报

 楼主| 发表于 2009-11-16 11:43:11 | 显示全部楼层
自己顶一下
点评回复

使用道具 举报

发表于 2009-11-17 16:03:06 | 显示全部楼层
你这是保存的图片还是显示出来的?
点评回复

使用道具 举报

 楼主| 发表于 2009-11-17 23:18:38 | 显示全部楼层
第一幅小的是预览的
后面是C通道得到的YUV数据
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

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

GMT+8, 2024-9-30 03:56 , Processed in 0.056323 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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