简体   繁体   English

如何将Gabor小波应用于3D体积?

[英]How to apply Gabor wavelet to a 3d volume?

I'm looking for a way to apply the Gabor wavelet function to a volume to extract small veins from it. 我正在寻找一种将Gabor小波函数应用于体积以从中提取小静脉的方法。

I've got a 3D Gabor filter creator from here . 这里我有一个3D Gabor滤镜创建器。

These are my parameters: 这些是我的参数:

gabor3_fwb([1 1], [pi/4 pi/4], 10, 0, 20);

Also my image is 150x150x150 double 另外我的图片是150x150x150的两倍

This is my filter: 这是我的过滤器:

Gabor图片

Given your image image and your Gabor kernel kernel , you simply convolve the two to obtain a filtered image: 给定您的图像image和Gabor内核kernel ,您只需将两者卷积即可获得过滤后的图像:

 result = convn(image, kernel, 'same');

Since kernel is complex-valued (if it is not, your Gabor generator is wrong), result will be complex-valued too. 由于kernel是复数值的(如果不是,则表明您的Gabor生成器是错误的), result也将是复数值的。 One typically uses the magnitude of the result: 通常使用结果的大小:

result = abs(result);

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

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