更改数组中半径的元素。 (朱莉娅)

时间:2020-07-17 12:38:49

标签: arrays image image-processing julia blob

我有一幅图像,该图像具有使用blob_LoG检测到的圆点。现在,我要为这些点创建一个蒙版。

blobs_log = blob_LoG(img, [10])

blobs2 = filter(x -> (x.amplitude >= 1.6 && x.amplitude <= 10), blobs_log)

imshow(img, vmin=0,vmax=100)

for blobs in blobs2
    coord = blobs.location
    scatter(coord[2],coord[1],s=15,facecolors="r", edgecolors="r")
end

我希望将此散点图转换为与图像大小相同的蒙版。您能建议一种快速的方法吗?

谢谢!

0 个答案:

没有答案
相关问题