Bwareaopen in Julia?

Hi, I’ve searched (basically, googled it) but could not find one, thought I’m convinced that id does exist. Anyone knows how to do what Matlab’s bwareaopen does?

Thanks.

That looks really similar to the remove_small_objects function in SciKit-Image that I’ve used for doing watershed segmentation. Maybe ImageSegmentation.jl will have a similar function?

Thanks, but can’t find one there.

You can use the functions from ImageMorphology and here especially the area_opening function

https://juliaimages.org/ImageMorphology.jl/stable/reference/#ImageMorphology.area_opening

1 Like

Thanks, that’s indeed what I was looking for.