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

question about the over range of output #1

Open
guilinwang opened this issue Nov 19, 2020 · 1 comment
Open

question about the over range of output #1

guilinwang opened this issue Nov 19, 2020 · 1 comment

Comments

@guilinwang
Copy link

I am a graphic processing lover and have lively interest in the exposure fusion. when i run your code in matlab2013, the result blows my mind.however, i am puzzled by a problem that the final output of fusion is over range from 0 to 1(or 0~255).For instance,the maximum of the example output ‘house’ is 1.3534 and the minimum is -0.3767(In my opinion,this may be look as a high dynamic range image).Which could cause a truncation and loss some information of the original output because we can only save the picture in range from 0 to 1.
If we use only two image that one has high exposure and another has low exposure to merge,we will find some totally dark region that is not be zero before fusion and some over exposure region because it bigger than the maximum gray.
Additionally,I find a solution that using a compress by someone else.
The solution code is as follow:
min_i = min(R(:)); max_i = max(R(:)); Output = (R - min_i) / (max_i - min_i);
This code will compress R to the range [0,1],but make the result have a dim perception because reduced contrast.
I tried to use a solution as same as the tone mapping to compress the range but got an imperfect result.Now,I don't know how to deal this problem that ramain all the fusion imformation in the over range and have a greater result.
I'd be grateful if you have any idea about it.
with best wishes

@Henrike96
Copy link

I have the same question/issue!
Just hoping that someone might reply when I push this issue.
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

2 participants