JuliaImages / ImageSegmentation.jl

Partitioning images into meaningful regions
Other
47 stars 23 forks source link

Watershed example not working #22

Closed Red-Portal closed 5 years ago

Red-Portal commented 6 years ago

image This is the suggested result,

running

using ImageView
imshow(labels_map(segments))

leads to image

Is this result correct?

bioimage-analysis commented 6 years ago

I'm just starting with Julia but I though I could help, although it's a pretty old post. The result is good, you are just missing a step. You need to mask the area that are not part of the beads as so:

imshow(labels_map(segments).* ~bw)
Red-Portal commented 6 years ago

Thanks for the answer. I think we'll have to update the example documentation sometime

bioimage-analysis commented 6 years ago

I guess it's a lot of work but I usually work with scikit-image and their Gallery is extremely useful. I'm actually in the process of trying several juliaimages function and compare them side by side with scikit-image just to be sure that I'm consistent when I work with Julia. Also to see if Julia function are any faster.

Red-Portal commented 6 years ago

That's really great. I think you could also compare with opencv-python and matlab. These are also really popular tools in the imaging community

timholy commented 5 years ago

Is this fixed or do the docs still need updating? (Note it's almost trivial to do this yourself, see https://help.github.com/articles/editing-files-in-another-user-s-repository/)

I just added a "landing page" for demos that's directly inspired by scikit-image's page (see #29), as well as instructions in the README about how to add more demos. I'd love to receive contributions.