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

Program stops working #2

Closed
hongyann opened this issue Jul 31, 2019 · 9 comments
Closed

Program stops working #2

hongyann opened this issue Jul 31, 2019 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@hongyann
Copy link

TIM图片20190731184250
TIM图片20190731184259

Hello, I want to ask some help. My original data is from Lytro Illum. The setting part is shown in the figure. Micro image patch size: 7; refocusing range: -2, 4. But After the progress bar of Light filed aligment reaches 76%, it stoped. I am confused . Can you give me some suggestions?

@hahnec
Copy link
Owner

hahnec commented Jul 31, 2019

Sure! Your probably found a bug :) Can you pls provide a link to your *.lfr and *.tar file? Then I can reproduce the issue on my side.

@hongyann
Copy link
Author

hongyann commented Aug 20, 2019 via email

@hahnec
Copy link
Owner

hahnec commented Aug 21, 2019

hey hongyann,

i have good news! i was able to reproduce the issue on my machine and did a fix which made the program run through without errors. your images revealed a problem in my centroid sort algorithm which i never encountered with my data. so, thanks for providing yours!

as of now (until i make a new release), the fixed version is only available in the develop branch. to get this working on your side, you need to clone/download from the develop branch which is found here:

https://github.com/hahnec/plenopticam/tree/develop

then, cd to the download directory, install with python3 setup.py install and run the tool with plenopticam -g from the command line. let me know if you come across further issues.

on a side note: with this version, i have added a feature to monitor errors by saving a file (err_log.txt) to the output folder next to your lfr file. this error report can be copy/pasted here and may help to trace issues in future.

@hahnec hahnec added the bug Something isn't working label Aug 21, 2019
@hahnec hahnec self-assigned this Aug 21, 2019
@hahnec hahnec changed the title have some question Program stops working Aug 21, 2019
@hongyann
Copy link
Author

the problem has been resolved. thank you!

@hahnec
Copy link
Owner

hahnec commented Aug 23, 2019

coolio

@hahnec hahnec closed this as completed Aug 23, 2019
@hongyann
Copy link
Author

I still have a question, that is, the generated refocused images are generally darker. Is this normal? or have problems with my settings?

@hahnec
Copy link
Owner

hahnec commented Aug 27, 2019

Can you pls post images/screenshots to illustrate the problem in the referenced issue #3

@hongyann
Copy link
Author

TIM图片20190828155649
TIM图片20190828160148
left image is produce by your work, the right one is produce by another. I found the left image is more darker than another. Is it normal?

@hahnec
Copy link
Owner

hahnec commented Aug 30, 2019

As this issue is closed, can you please re-post your above reply in issue #3 ? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants