You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: