简体   繁体   English

我如何编写自己的 matlab 代码以通过大气湍流来降低图像 function

[英]How can i write my own matlab code to degrade an image by atmospheric turbulence function

How can I write a degradation function in Matlab to yield a degraded image?如何在 Matlab 中写入降级 function 以产生降级图像?

But I want a degraded image by atmospheric turbulence.但我想要一张因大气湍流而退化的图像。

Here below is the function下面是 function

H(u,v)=e^(-k(u^2 + v^2)^5/6)

so how can I express this in Matlab?那么如何在 Matlab 中表达这一点?

Perhaps you can try some Matlab functions which allow you to blur the image using a define filter.也许您可以尝试一些 Matlab 函数,这些函数允许您使用定义过滤器模糊图像。 You can try fspecial() to define your combination of filters.您可以尝试fspecial()来定义您的过滤器组合。 And use imfilter() to apply the filter to your image.并使用imfilter()将过滤器应用于您的图像。

If you want to do with your own script, you can use these functions to get an idea, but it will be difficult.如果你想用自己的脚本来做,你可以使用这些函数来获得一个想法,但这会很困难。 Likely, you will have to apply some convolution and transformations.很可能,您将不得不应用一些卷积和转换。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM