[shlug][OT]寻实现多张图片无缝拼接的算法

51 views
Skip to first unread message

Giant Y

unread,
Sep 16, 2014, 9:34:32 AM9/16/14
to shlug
组内是否有从事数字图像处理的朋友?

现在有一个任务,需要获取一张清晰的电路板照片。但是,手头上只有一台像素非常低的傻瓜相机。如果拍摄一张完整的电路板照片,那么画面会非常模糊,电路板上的丝印会看不清楚。所以,我打算拍多张局部的清晰的照片,然后用软件合成一张完整的清晰的照片。目前找到的解决方案是使用Photoshop中的image merge(如果没记错名字的话)功能。

可是Photoshop很贵……

况且我对亲手写一个实现这个功能的算法比较感兴趣。了解下来,GNU Octave的image工具箱可以用作数字图像处理,网上也找到一些简单的入门教程,可是对我有直接帮助的资料还没有找到。

组内的高手可否帮忙推荐一些图像拼贴方面的资料,论文、教程都可以,语言不限。如果是用MATLAB实现的也是可以的。

-> posted by  Giant Y

david pu

unread,
Sep 16, 2014, 9:46:55 PM9/16/14
to sh...@googlegroups.com
自己写的话基于OpenCv现成的sample就可以了。这玩意学名叫image stitching,手机上拍全景图经常用到Opencv来实现和加速。
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
> 要查看更多选项,请访问https://groups.google.com/d/optout



--
() ASCII Ribbon Campaign
/\ Keep it simple!

david pu

unread,
Sep 16, 2014, 9:48:37 PM9/16/14
to sh...@googlegroups.com

none_nobody

unread,
Sep 16, 2014, 10:54:30 PM9/16/14
to sh...@googlegroups.com
你要的是完成一次图片拼接的工作任务,而不是跳进图像处理的坑里。

确实,PS 很贵,难道你不知道还有个叫 gimp 的免费软件么? 功能一点不比 PS 差, 对付你当前这种属于鸡毛小菜。


如果你坚持要图像拼接的资料,祝你一切顺利。


On Tuesday, September 16, 2014 9:34:32 PM UTC+8, Giant Y wrote:
组内是否有从事数字图像处理的朋友?

Clay wang

unread,
Sep 16, 2014, 11:33:19 PM9/16/14
to sh...@googlegroups.com

还有个叫hugin的东东 不知有帮助否

--

Xi Shen

unread,
Sep 17, 2014, 1:02:16 AM9/17/14
to Shanghai Linux User Group

Ashi

unread,
Sep 17, 2014, 5:17:58 AM9/17/14
to SHLUG
你可以随便找一台扫描仪扫一下,效果挺不错的。卙比专业的PCB缺陷检测设备。扫的时候可以把DPI调到最高:)

图像拼接基本上是先找两图的特征点做匹配(SIFT?),然后得到一个旋转平移变换后给其中一图做一下变换再合起来。理论方面,随便搜了个综述,可以参考参考:
http://research.microsoft.com/pubs/75695/Szeliski-FnT06.pdf

Giant Y

unread,
Sep 17, 2014, 8:42:38 AM9/17/14
to shlug
谢谢各位!

我很多次提议领导买一台扫描仪——至少买一台牛逼一点的相机,可是领导不愿花这个钱。可把我害惨了。


-> posted by  Giant Y

Giant Y

unread,
Sep 17, 2014, 8:46:16 AM9/17/14
to shlug
2014-09-17 9:46 GMT+08:00 david pu <pulq...@gmail.com>:
这玩意学名叫image stitching

​​一下子搜到很多有用的资料。非常感谢中科大的朋友!

Zoom.Quiet

unread,
Sep 17, 2014, 8:51:07 AM9/17/14
to shlug
像素低的话,什么算法都没有用的,,,

建议给 iPhone 配置个支架,再安装个拼图app ,
done
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛中的“Shanghai Linux User Group”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到shlug+un...@googlegroups.com
> 要查看更多选项,请访问https://groups.google.com/d/optout



--
人生苦短, Pythonic! 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization be learnning!
俺: http://zoomquiet.io
许: http://creativecommons.org/licenses/by-sa/2.5/cn/

Ben Luo

unread,
Sep 17, 2014, 8:51:22 AM9/17/14
to shlug

还在那里干什么,可以走了。

Giant Y

unread,
Sep 17, 2014, 8:55:07 AM9/17/14
to shlug

2014-09-17 20:51 GMT+08:00 Ben Luo <ben...@gmail.com>:
还在那里干什么,可以走了。

​等我解决了这个问题之后再说吧。

Alpha Cheng

unread,
Sep 17, 2014, 9:49:34 AM9/17/14
to sh...@googlegroups.com

2014-09-17 8:42 GMT-04:00 Giant Y <y560...@gmail.com>:
我很多次提议领导买一台扫描仪——至少买一台牛逼一点的相机,可是领导不愿花这个钱。可把我害惨了。

​跟领导商量商量,这玩意现在花不了几个钱,一直在用WF 3530光分2400dpi去年买只花了$一百多。

数据中心见到过有人用Montage做特大图拼接的,看起来不错​


Regards.

Afa.L Cheng
程方宁

Disclaimer:

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

Giant Y

unread,
Sep 19, 2014, 9:42:59 AM9/19/14
to shlug

On Wed, Sep 17, 2014 at 9:48 PM, Alpha Cheng <hmast...@gmail.com> wrote:
跟领导商量商量,这玩意现在花不了几个钱,一直在用WF 3530光分2400dpi去年买只花了$一百多。

数据中心见到过有人用Montage做特大图拼接的,看起来不错​

​呃……主要是用来扫描电路板的。这台扫描仪可以扫描有厚度的物体吗?

Alpha Cheng

unread,
Sep 19, 2014, 12:13:20 PM9/19/14
to sh...@googlegroups.com

2014-09-19 9:42 GMT-04:00 Giant Y <y560...@gmail.com>:
这台扫描仪可以扫描有厚度的物体吗?

​是个多功能打印机,扫描可以不盖盖子。商业产品在这里不多讲了​,国内似乎也没见到有卖的,就是举个例子现在好用的扫描仪也不值几个钱。


Regards.

Afa.L Cheng

Reply all
Reply to author
Forward
0 new messages