[REQ] Inverse Tone Mapping

Feature requests, bug reports and related discussion
Post Reply
10 posts • Page 1 of 1
User avatar
Caronte
Posts: 61
Joined: Tue May 01, 2007 7:17 am
Location: Valencia, Spain

[REQ] Inverse Tone Mapping

Post by Caronte » Tue Jun 26, 2007 6:20 am

This new technique use standar LDRI images to get a kind of HDRI illumination. :shock:
It's very cool, because a huge amount of environment maps are simply jpg
http://www.banterle.com/Francesco/itmo.html
Would be nice if Indigo could use a panorama JPG (from photos) to illuminate the scene ;)
Sorry about my poor english ;)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Jun 26, 2007 9:02 pm

-> also an idea to get kinda-HDR-textured Emitters :D
I already wondered,why such a thing doesn't exist.

mrCarnivore
Posts: 517
Joined: Sun Mar 04, 2007 6:20 am
Location: Stuttgart, Germany

Post by mrCarnivore » Tue Jun 26, 2007 11:12 pm

You could also convert the ldr into hdr using hdrshop or photoshop and then simply use it in indigo....

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Wed Jun 27, 2007 1:15 am

yes, that's what I meant. but theefore, you first need to convert your jpg to ldr

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Post by StompinTom » Wed Jun 27, 2007 1:46 am

Kram1032 wrote:yes, that's what I meant. but theefore, you first need to convert your jpg to ldr
ldr=low dynamic range
which is basically any 8 bit image (jpg, png, bmp, etc etc) because you cant have much of a dynamic range within 8 bits.

hdr=high dynamic range=way more bits per pixels(=bigger file size)

that conversion technique is cool, but as you see in one of the test images, any smooth transition is lost and instead you end up with a bunch of hard shadows. its easier to get rid of unneeded data than to try to interpolate data from nothing.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Wed Jun 27, 2007 2:53 am

oh, ok... hum... But this converts ldr to more accurate (not entirely accurate) hdr.
it bleaches out bright spots, makes dark spots brighter and reverse.
In the three pics, you can see, that the only problem is, that the shadow is too hard, but else, it's just great.
You can't do that with simply renaming (more or less) a jpg to exr...

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Post by StompinTom » Wed Jun 27, 2007 5:29 am

true, cuz AFAIK all it does is 'stretches' the 8 bits into something higher like 32, thereby creating those stepped transitions. its like taking a really dark image into photoshop and clipping its levels real low.

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Thu Jun 28, 2007 8:45 am

Hereanother interesting Paper.
polygonmanufaktur.de

banty
Posts: 1
Joined: Thu Jun 28, 2007 7:57 am

Post by banty » Thu Jun 28, 2007 10:49 am

Hello everybody!
I'm the first authour of the first paper.
true, cuz AFAIK all it does is 'stretches' the 8 bits into something higher like 32, thereby creating those stepped transitions. its like taking a really dark image into photoshop and clipping its levels real low.
It's true the inverse tone mapping is a kind of strechting, however the interpolation using the exand map is meant to avoid big step transitions. Using a larger radius (25%) in the density map for creating the expand map you can attenuate hard shadows, it's not 100% perfect as in using an HDRI but it's quite near. I've just updated my website with new results if you want to check it out:
http://www.banterle.com/francesco/itmo.html

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Wed Jul 18, 2007 11:11 pm

@banty:
do you think, it would be possible, to use an adaptive radius, to get even better results? :D

(No idea, how to, but maybe, the brighter, the wider, or something, like that...)

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests