问题描述
我想在2d图像上使用各向异性扩散。
我想使用python但不介意使用matlab或c。
我们可以使用他们的任何库作为第一步吗?我对这个主题进行了谷歌搜索,发现了Panda3D和OpenGl。
基本上我想给一组图像让它应用过滤,然后将新图像输出到我想要的文件夹。
关于如何使用这些或者你认为更好的东西的任何提示?
I want to use anisotropic diffusion on 2d images.
I'd like to use python but don't mind using matlab or c. Are their any libraries I could use as a first step? I did a google search on the subject and found Panda3D and OpenGl.
Basically I want to give a set of images have it apply the filtering and then output the new image to a folder I want.
Any tips on how to use either of these or maybe something that you believe is better?
编辑:扩散对不起!
推荐答案
我的2D / 3D各向异性(Perona-Malik)扩散的Python / numpy实现。它不如C代码快,但它对我来说很好。
Here's my Python/numpy implementation of 2D and 3D anisotropic (Perona-Malik) diffusion. It's not quite as fast as C-code, but it did the job nicely for me.
这篇关于各向异性扩散2d图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!