forked from jywarren/image-sequencer
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Focus stacking module implementation #1859
Comments
waridrox
changed the title
Focus stacking module addition
Focus stacking module implementation
Mar 25, 2021
i love this it'd be so cool!!!
…On Thu, Mar 25, 2021 at 3:45 PM Mohammad Warid ***@***.***> wrote:
The idea
Focus stacking (also known as focal plane merging and z-stacking or focus
blending) is a digital image processing technique which combines multiple
images taken at different focus distances to give a resulting image with a
greater depth of field (DOF) than any of the individual source images.Focus
stacking can be used in any situation where individual images have a very
shallow depth of field; macro photography and optical microscopy are two
typical examples. Focus stacking can also be useful in landscape
photography. *Source wiki <https://en.wikipedia.org/wiki/Focus_stacking>*
*Sample 1*
[image: Screenshot 2021-03-26 at 12 52 06 AM]
<https://user-images.githubusercontent.com/58583793/112533238-bf2bd680-8dcf-11eb-8dc7-8cb6b33a2485.png>
*Sample 2*
[image: Focus Stacking]
<https://user-images.githubusercontent.com/58583793/112533377-e2568600-8dcf-11eb-9ed9-07f362fe85e9.jpg>
Possible way of implementation
*CC: @jywarren <https://github.com/jywarren>*
I guess, one way to think about is:
a module which analyzes the sharpness of each pixel and replaces any
"blurry" pixel with an alpha transparent pixel.
we could then repeatedly import images (i.e. import-image module followed
by "overlay-sharpest" module, or something like that) and they'd "knock
out" blurry areas with higher contrast or higher sharpness data. The order
of operations might need tweaking.
I could imagine other ways to do this too, but that seems like a relatively
simple one.
Another idea would be a module which imports a video clip and makes each
frame available to requests from later modules. That would be a little wild
as a module, and maybe would be a separate project.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1859>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J6S5UUG4TMJBIR4NRLTFOHGTANCNFSM4Z2AIO3A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea
Focus stacking (also known as focal plane merging and z-stacking or focus blending) is a digital image processing technique which combines multiple images taken at different focus distances to give a resulting image with a greater depth of field (DOF) than any of the individual source images.Focus stacking can be used in any situation where individual images have a very shallow depth of field; macro photography and optical microscopy are two typical examples. Focus stacking can also be useful in landscape photography. Source wiki
Sample 1
Sample 2
Possible way of implementation
CC: @jywarren
The text was updated successfully, but these errors were encountered: