-
Notifications
You must be signed in to change notification settings - Fork 1
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
imfuse: finding good parameters for focus stacking #4
Comments
In the past I have used enfuse and got more or less good results with In the hope imfuse will be faster and/or provide better results I started working with imfuse. Until now I haven't found a parameter set for imfuse that produces a result as good as enfuse do. Any suggestion witch parameters should be combined or witch not? Greetings |
Your moth example has a black background. Likely the halos appear there?
Further examples with
Likely imfuse will forever be slower than enfuse. sigh
In areas with strong contrast imfuse gives pretty nice results with most provided mask options. |
An attempt to write a guidance that might result in a wiki article: Remove artefacts in low contrast areasCurrently there are basically two ways to handle low contrast areas with artefacts like halo and noise:
Strenghten weak foreground objectsSome objects in foreground like thin hairs might have less contrast significance than the main object behind.
General recommendations:
|
Thank you for showing your camera setup! Quite interesting. I have an unused microscope, maybe I'll build something similar, too, with one of the microscop objectives. Do you manually adjust the steps with the wheels? Thank you for sharing the imfuse results. They are quite unsatisfying, What does the shortcut |
Thank you the hints!
It might help if you add a gear wheel and rotate it with a gear spiral. (Not sure if I translated right: Zahnrad und Schnecke, beides von fischertechnik). Here a picture of my microscope; the spiral is driven by a stepper motor, the gear wheel is glued to the microscope fine tuning wheel. The glue is Heißkleber, strong enough but easy to remove. Or just one big wheel glued on the small knob of your slide would already allow finer rotation by hand, without using a spiral.
You could also use a cheap old microscope as macro slide. |
Thanks for this hints.
That's an interesting idea. The microscope I have needed to be cut (by saw). And the microscope stage is to small to mount a camera on. |
I've added two new options that reduce noise: Your stack above might give a good result with:
|
I've made a change in the mask generation that impacts |
I've made several changes the last few days, and meanwhile some commits had new introduced bugs; I should have checked better before uploading.
With current default values, this is the same as:
|
Yes, impressiv.
And I noticed, that I have to improve the lighting. At the moment I need two small LED lamps with curtain in front of to make the light softer. But I assume it's not soft enough. |
I am happy to hear this. :-)
Likely that can be fixed. Edit: pixelated areas can also be a result of .jpg quality loss, e.g. while resizing the image. I always convert to .tif first before doing any other image processing.
You might get slightly better light distribution with option Some setups can be found in www.focusstackingforum . They often use something like a semitransparent white tube around the object with light sources outsight of the tube. That results in diffuse light inside. |
It seems --soft is 100 by default. |
You can set values above 100, too. |
Ok, I thought that means percentage and 100 means 'all'. |
Percent value is right, but here allowing values above 100% and below 0% I've changed the argument handling of |
I am working on tutorials and examples in the wiki: https://github.com/mviereck/microscopy-tools/wiki |
This issue is opened to test, discuss, improve, ... the results of imfuse.
Many parameters are possible, many parameters can have arguments and some parameters can be combined reasonable and other not.
Some hints can be found here: https://github.com/mviereck/microscopy-tools/tree/master/fusesets
Suggestion for a workflow:
The text was updated successfully, but these errors were encountered: