Skip to content
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

Whispyness in resultant stacked image #50

Open
cmodyssey opened this issue Jul 8, 2024 · 3 comments
Open

Whispyness in resultant stacked image #50

cmodyssey opened this issue Jul 8, 2024 · 3 comments

Comments

@cmodyssey
Copy link

Hi,

I have only started to use focusstack and I have noticed some unwanted white in the resulting stacked image.

The input and output file(s) are here https://drive.google.com/file/d/1C1yLMEZMAW0iUj_Phtpj4xr1uSeBaa-G/view?usp=drive_link

The AZTopAesub_0_118* files are the inputs and 118.jpg is the output, where I have used a red arrow to show the unwanted 'whispyness' (needs some zooming in to see).

There are loads of command line parameters for focus-stack that I really don't know where to start to try any settings to prevent this.

Version information of focus-stack:

C:\tools\3DScan\FocusStack>focus-stack\focus-stack.exe --version
focus-stack 1.0, git version 1.3-10-g8649bc7, built May 20 2022 07:15:58
Compiled with OpenCV version 4.5.5
Copyright (c) 2019 Petteri Aimonen

Is there a way of preventing this 'whispyness' from appearing please?

Thanks.

@PetteriAimonen
Copy link
Owner

Duplicate of #8.

The halo effect from bright objects over dark backgrounds is a big deficit of the algorithm used, but I haven't yet been able to figure out a good fix for it.

@cmodyssey
Copy link
Author

I can change the background, as it is a 3D printed backdrop. Any suggestion of colour?

@PetteriAimonen
Copy link
Owner

If the background can have a texture, that will usually help. Also if the lighting or exposure can be changed to avoid overexposure.

Overexposure causes particularly high halo, because if the white color is actually e.g. 1000 in brightness and gets saturated to 255, then the out-of-focus halo will still be way above the background brightness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants