-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about "Extended Maxima" #47
Comments
Hi,
One way to consider things is to imagine the (morphological) reconstruction of the image, constrained by the same image minus the value of the dynamic. Then, a minima with a small dynamic will disappear after the reconstruction. So the criterium to remove minima/maxima is the value of the dynamic value uused to remove them. Hope this makes things more clear? Maybe I will eed to update the manual also!!! best, |
Thanks! |
I have started an illustration in 1D case. You can find it here: I have the book of Soille under the eyes, the workflow is as follow:
On the example, a value of two units was used for the dynamic. Note that the position of the maxima may change for larger value of dynamic. For example, using a dynamic of 1 unit results in same number of maxima, but smaller. Using a value of 3 units will make the left-most maxima disappear. It is possible to value the maxima depending on the dynamic value that make them disappear, but this is not (yet?) implemented in MLJ. |
@dlegland This is great! Thank you very much! |
you're welcome! Figure should be included in manual as well, but I'm currently fighting with LaTeX... Otherwise yes, you can reproduce with macro. The critical point is the reconstruction, but it is easily scriptable. best! |
@dlegland triggered by the discussion on the forum (https://forum.image.sc/t/call4help-3d-dense-nuclei-segmentation-challenge/23462/21) I had a look at MLJ.
I am confused about this function:
MorphoLibJ/src/main/java/inra/ijpb/morphology/MinimaAndMaxima3D.java
Line 299 in 26470aa
And this (corresponding?) menu entry:
Plugins › MorphoLibJ › Minima and Maxima › Extended Min & Max 3D
Reading the name ("Extended Min & Max 3D") of the menu entry I would expect that it takes all regional maxima and extends them, including all connected pixels with
v > (v_regional_max - dynamic)
.However, what it seems to do is to (also?) filter out some maxima, i.e. I am getting less maxima using the "Extended" vs. the "Regional" algorithm. Is that correct? If so, according to which criteria does the "Extended" version filter maxima?
The text was updated successfully, but these errors were encountered: