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

More details in augmentation would be appreciated #6

Open
ghost opened this issue Sep 26, 2018 · 2 comments
Open

More details in augmentation would be appreciated #6

ghost opened this issue Sep 26, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 26, 2018

Hello Changha Shin.
In the paper, you mentioned that methods such as randomly converting color to gray scale from [0,1] is used. However, by reviewing the "epinet_fun/func_makeinput.py" I notice that it've already converted the image into gray scale before returning the data.
Is the training data all gray or just part of it?
Is this function only applied in the test process or in the training as well?
More details in augmentation would be appreciated.
Thank you for your great work.

@chshin10
Copy link
Owner

Yes, training data is also all gray scale.
We use a randomly gray-scale conversion.
img_gray=random0to1_R*img_Red+ random0to1_G *img_Green+ random0to1_B *img_Blue
(Constraint: random0to1_R +random0to1_G+random0to1_B = 1, min(img_gray)=0 , max(img_gray)=1 )

I found that gray-scale conversion improves overall performance quite significantly perhaps because it reduces the overall complexity while conserving the light field structure.

@ghost
Copy link
Author

ghost commented Sep 28, 2018

That'll explain it. Thank you!

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

1 participant