【图像检测】基于计算机视觉实现地质断层结构的自动增强和识别附matlab代码

1 内容介绍

在本文中,我们提出了一个用于自动增强和识别活动海断层的框架,通常使用测深图像与地震活动相关联。 据我们所知,基于图像分析方法的海断层自动识别问题尚属首次。 首先,我们计算 Slope 和 Aspect 图像以及它们的导数,然后我们有效地结合旋转和尺度不变滤波器和像素标记方法,提供对海断层的稳健检测。 近海真实地形图像的实验结果及其与近期地震活动的相关性表明所提出方案的可靠性能。​

2 仿真代码

% Computes the slope (Slope and Aspect (Asp) array according to arcGIS method 

% Slope \in [0,90] degrees

% Aspect \in [0, 360] degrees

function [Slope] = getSlopeOfAspect(Data,x_cell_size,y_cell_size)

lines = size(Data,1);

cols = size(Data,2);

Slope = zeros(lines,cols);

for i1=2:lines-1,

    for i2=2:cols-2,

        n = Data(i1-1:i1+1,i2-1:i2+1);

        a = n(1,1);

        b = n(1,2);

        c = n(1,3);

        d = n(2,1);

        %e = n(2,2);

        f = n(2,3);

        g = n(3,1);

        h = n(3,2);

        i = n(3,3);

        

        dz_dx = ((c + 2*f + i) - (a + 2*d + g));

        dz_dy = ((g + 2*h + i) - (a + 2*b + c));

        dz_dx = abs(rem(dz_dx,360));

        dz_dy = abs(rem(dz_dy,360));

        if dz_dx > 180,

            dz_dx = abs(dz_dx-360);

        end

        if dz_dy > 180,

            dz_dy = abs(dz_dy-360);

        end

        

        dz_dx = dz_dx / (8*x_cell_size);

        dz_dy = dz_dy / (8*y_cell_size);

        rise_run = sqrt(dz_dx^2 + dz_dy^2);

        slope_degrees = atan(rise_run)*57.29578;

        

        Slope(i1,i2) = slope_degrees;

    end

end

3 运行结果

4 参考文献

[1] Panagiotakis C ,  Kokinou E . Automatic Enhancement and Detection of Active Sea Faults from Bathymetry[C]// International Conference on Pattern Recognition. IEEE Computer Society, 2014.

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。

部分理论引用网络文献,若有侵权联系博主删除。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

matlab科研助手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值