admin管理员组

文章数量:1123647

I try to calculate area and perimeters of labeled regions of binary image in Julia.

For example:

using Images, ImageView, ImageSegmentation, 
TestImages, IndirectArrays, ImageMorphology
img = testimage("blobs")
# f = AdaptiveThreshold(window_size = 512)
f = Otsu()
imgbin = binarize(img, f);

seg = fast_scanning(imgbin, 0.2);
labels_map(seg);

Maybe, this question is trivial, but in offical docs and other post in stackoverflow I couldn’t find answer of this topic.

How to evalute this regions geometrical propertires?

References for libs in Julia:

Images .watershed

ImageMorphology .jl/stable/

本文标签: computer visionFind area and perimeters of labeled segments for binary image in JuliaStack Overflow