Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astraluma/refocus
mirror of the tool by ebina1 from http://lightfield-forum.com/forum/?mingleforumaction=viewtopic&t=39
https://github.com/astraluma/refocus
Last synced: about 1 month ago
JSON representation
mirror of the tool by ebina1 from http://lightfield-forum.com/forum/?mingleforumaction=viewtopic&t=39
- Host: GitHub
- URL: https://github.com/astraluma/refocus
- Owner: AstraLuma
- Created: 2015-04-23T03:19:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-25T04:39:51.000Z (over 9 years ago)
- Last Synced: 2024-05-01T19:40:21.667Z (7 months ago)
- Language: C
- Size: 141 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
refocus program.
Read a raw data file as generated by lfpsplitter when run on the .lfp file from your lytro camera. So first parameter is image.raw. Second parameter is the focus that you want on the image. Ren Ng's dissertation has a focusing formula of
u(1 - 1/a), v(1 - 1/a) where a is the alpha value. That alpha value is the third parameter to refocus. So "refocus image.raw 1.0" would show you the image focused on the camera's true focus plane. To move the focus plane further from the camera, a has to decrease towards 0.0. Likewise to focus towards the camera, you start at -1.0, and the closer you get to -0.0 the closer your focus plane is to the camera.version 1.1 - very minor bug fix.