脊线检测算法学习,资料收集

#https://github.com/opencv/opencv_contrib/blob/4.x/modules/ximgproc/src/ridgedetectionfilter.cpp
#opencv 中的脊检测滤波

#https://www.ngui.cc/el/392223.html
#Halcon_二维测量_Angio lines_gauss 算子

#https://www.bilibili.com/video/BV17b4y167By
#图像处理 提取脊线(单像素边缘轮廓)(日盛sdk)

#https://zhuanlan.zhihu.com/p/61685241?from_voters_page=true
#https://imagej.net/plugins/ridge-detection
#https://github.com/thorstenwagner/ij-ridgedetection
#ImageJ 脊线检测插件

#https://gitlab.gwdg.de/mpi-dortmund/sphire/ridge_detection
#python翻译 ij-ridgedetection

GitHub - DarisaLLC/ridge_strands: Stegner's Ridge Detection in C++


【5.11】Hessian-steger-git-readme - melo11 - 博客园
TODO: #实现细节及理论学习

贴段无用的代码,仅因文章质量不佳!

def get_lines(self,in_img):
    """
    Look for the contours line in the image. It returns all the found line
    :param in_img: image
    :return:
    """
    try:
        cols, rows = in_img.shape
    except AttributeError:
        cols, rows = in_img.size

    self.check_sigma(cols, rows)

    imgpxls2 = np.reshape(in_img, cols*rows)

    #normalize the image to 0:255 that is the same as convert from 32bit to 8bit in imageJ
    if max(imgpxls2)>255 or min(imgpxls2)<0:
        imgpxls2 = normalizeImg(imgpxls2,new_min=INTEGER_8BIT_MIN,new_max=INTEGER_8BIT_MAX,return_Aslist=False)

    contours = list()           # = new Lines(in_img.getSliceNumber());
    detect_lines(image=imgpxls2, width=cols, height=rows, contours=contours, sigma=self.params.get_sigma(), low=self.params.get_lower_Threshold(),
                            high=self.params.get_upper_Threshold(), mode=self.params.get_darkline(), compute_width=self.params.get_estimate_width(),
                            correct_pos=self.params.get_correct_position(), extend_lines=self.params.get_doExtendLine(), junctions=self.junctions)

....

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值