Comments (4)
Well, sort of.. The AHDRNet and all similar models merge 3 photos into one, where pixel values have range far greater than 256 (the HDR), which also means you cannot visualize it easily - your image viewer will probably just trim the values and you'll get a very dark image. So you need some kind of tone mapping (from high range to 256 values) - either do it manually in a Photoshop-like editor, or develop an algorithm (or another neural model). The authors here use a very primitive tone mapping operator, this one:
output = torch.log(1 + 5000 * output.cpu()) / torch.log(Variable(torch.from_numpy(np.array([1+5000])).float()))
Every other paper that used this operator with this dataset reported similar washed-out colored pictures, except for one - it had vivid colors, but the authors explicitly stated that they used image editor afterwards, so I guess it's safe to say that the authors of the AHDRNet did the same thing.
from ahdrnet.
Sincerely appreciate your answer : ) , I have solved this problem on MATLAB with tonemap function[tonemap(data,'AdjustLightness',[0,1],'AdjustSaturation',6)]. And I got a similar effect to the author's. My supervisor reminded me to read the paper carefully, I should have realized this problem earlier. Thank you again! Love from CN ❤️
from ahdrnet.
I encountered the same situation as you, did you solve it?
from ahdrnet.
Huh, well that makes at least two of us, can't believe i missed this :D
I remember i used some openCV functions instead, but maybe this one is better :)
from ahdrnet.
Related Issues (19)
- will you release the training code and the dataset? looking forward~ HOT 2
- 正在尝试训练你的网络,能告诉下训练时输入数据的rgb值压缩到了多大吗 HOT 2
- Can you upload the dataset or ./matlab_script? thanks a lot. HOT 3
- Can you upload the dataset or ./matlab_script and train code? thanks a lot.
- I tried to test your model but don't seems to work HOT 2
- done
- exposure time
- When can you upload the training code?
- training code HOT 1
- Can you give more train details or release train code
- done
- Can you please publish the ./matlab_script?
- can you please upload training code and the code for your job published in IJCV HOT 2
- Using the given model,PSNR-u is lower than the cvpr repoerted HOT 6
- some functions for test are missing HOT 2
- how to show the attention maps
- CUDA out of memory HOT 2
- How to get qualitative results in this paper ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ahdrnet.