简体   繁体   English

哪个Gabor方向是“水平的”

[英]Which Gabor Orientation is “Horizontal”

I am attempting to implement a Gabor filter in Matlab in such a way that it discriminates "vertical" textures. 我试图以一种区分“垂直”纹理的方式在Matlab中实现Gabor滤波器。 Vertical textures means structures that run from top to bottom in the image. 垂直纹理是指从图像的顶部到底部延伸的结构。 If this is difficult to visualize, picture a white wall with windows on it. 如果难以形象地看到,请在白色墙壁上画上窗户。 I want to find the sides of the window frames, not the tops or bottoms. 我想找到窗框的侧面,而不是顶部或底部。 My understanding is that this should be described as a horizontal variation in contrast. 我的理解是,这应该描述为对比度的水平变化。 Please correct any error in nomenclature. 请更正术语中的任何错误。 What I am trying to determine is whether this search for "vertical textures" calls for an orientation of 0 or 90. When I check the documentation for the gabor function it says this: 我要确定的是,对“垂直纹理”的搜索是否要求方向为0或90。当我查看gabor函数文档时,它说:

the orientation is defined as the normal direction to the sinusoidal plane wave. 方向定义为正弦平面波的法线方向。

But I cannot seem to grok that. 但是我似乎无法接受。

PS I know that other methods like find edge or difference of gaussians can do this too but suffice to say that I want to use gabor. 附言:我知道其他方法(例如,找到边缘或高斯差分)也可以做到这一点,但足以说我要使用gabor。

If you run the second example in the gabor documentation: 如果您在gabor文档中运行第二个示例:

https://www.mathworks.com/help/images/ref/gabor.html https://www.mathworks.com/help/images/ref/gabor.html

The direction of oscillation of the gabor kernel is the same as the direction of maximum response of periodic/texture content. gabor核的振荡方向与周期性/纹理含量的最大响应方向相同。 So, 0 degrees would be activated by vertically oriented texture of the same wavelength as the gabor kernel. 因此,与gabor内核波长相同的垂直定向纹理将激活0度。

90 Degrees would be activated be horizontally oriented texture of the same wavelength. 90度将被激活为相同波长的水平方向纹理。

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

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