推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
damngoto

ImageData 边缘检测算法

  •  
  •   damngoto · May 13, 2023 · 2971 views
    This topic created in 1098 days ago, the information mentioned may be changed or developed.

    现在有个 ImageData ,内容就是一个识别出的物体的半透明的遮罩层,现在要检测边缘,画出边框。 看到一个方法就是检测每个非零点的上下左右位置是否为 0 ,还有没有更好的办法。

    3 replies    2023-05-13 18:33:29 +08:00
    raycool
        1
    raycool  
       May 13, 2023
    facebook 前段时间开源的 segment anything
    https://segment-anything.com/
    zjhzxhz
        2
    zjhzxhz  
       May 13, 2023
    什么叫半透明遮罩层?是指半透明区域的 Mask 吗?
    这个是不是应该用 Image Matting ?
    可以考虑用 LFPNet: https://github.com/QLYoo/LFPNet
    效果可以参见 Publications 里的第二个图: https://infinitescript.com/about/#publications
    damngoto
        3
    damngoto  
    OP
       May 13, 2023
    @raycool 对,我就是想实现这个。官方开源的 demo 里面没有实现已发布的效果。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5951 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 03:02 · PVG 11:02 · LAX 20:02 · JFK 23:02
    ♥ Do have faith in what you're doing.