Brand new way to kill hot pixels

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
User avatar
kivig
Licensed Customer
Posts: 152
Joined: Fri Apr 09, 2010 10:42 pm
Contact:

Thread
Some sample:

Before:
Image
After:
Image
Last edited by kivig on Sun Jul 04, 2010 10:32 am, edited 1 time in total.
http://www.visnevskis.com
Vista64/Ubuntu, GTX470/580
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

tomas_p wrote:The litle imprecision of both these technics ( masking and darken blending ) is the fact that in very noisy parts of renders ist the result a bit darker as the corect result.
Darken really acts as a mask, it doesn't produce a darker result than would be correct.

Imagine two pixels on layer 1: RGB 60, 60, 60 and RGB 255, 255, 255 (the hot pixel)
Imagine two pixels on layer 2: RGB 255, 255, 255 (the hot pixel is on the left in this render) and RGB 75, 75, 75

Layer 2 sits above layer 1. If you use darken on layer 2 it will not replace the left pixel (because 255, 255, 255 is brighter than 60, 60, 60). However, it will replace the right pixel (because 75, 75, 75 is darker than 255, 255, 255).

You will end up with the correct two pixels: RGB 60, 60, 60 and RGB 75, 75, 75. The hot pixel of either render does not show up in the result at all.
User avatar
kivig
Licensed Customer
Posts: 152
Joined: Fri Apr 09, 2010 10:42 pm
Contact:

tomas_p wrote: Darken really acts as a mask, it doesn't produce a darker result than would be correct.
Actually it does. Every of two pictures has random shift from what's "right" (noise) up and down. And darken takes only the lowest values. Easy to check - take two very noisy fast rendered images and compare to single enough sampled.

Btw anybody knows where do hot pixels come from?
I suspect they are not a defect at all. Just too low sampling for some small, bright object. If I leave render long enough I always can find the source of that light and it seems logical.
http://www.visnevskis.com
Vista64/Ubuntu, GTX470/580
sam75
Licensed Customer
Posts: 207
Joined: Sat Jan 16, 2010 9:03 pm
Location: Paris

so you are all using rayepsillon to make variations ?
Win7 x64 - I7 920@4Ghz - 6Go DDR3 - GTX470
Chris_TC
Licensed Customer
Posts: 153
Joined: Tue Jun 01, 2010 10:38 am

kivig wrote:Actually it does. Every of two pictures has random shift from what's "right" (noise) up and down. And darken takes only the lowest values. Easy to check - take two very noisy fast rendered images and compare to single enough sampled.
I stand corrected, no need to try it out because what you say makes perfect sense.

Can the program you posted be used for animations?
Btw anybody knows where do hot pixels come from?
This I'm curious about as well.

Strangely enough, the longer you render the more fireflies seem to pop up. I had rendered an image for 1 hour and saved it to disk. Then I let it render for an additional 30 minutes and saved that to disk. Upon comparing the two images, the one that rendered longer had considerably more fireflies.
tomas_p
Licensed Customer
Posts: 188
Joined: Sun Mar 14, 2010 7:38 pm
Location: Slovakia

Exist a way how to remove darker parts from the result. You need not 2 renders but 4.

You need 4 renders wit other noise and each with 25 percents of desired number of samples (A, B, C, D). Make two couples (A, B) and (C, D). At each couple apply the masking proces and at these two results (AB_result and CD_result, now both without fireflies) apply the same proces, only the mask must be invert (you need remowe the darker pixels not the brighter).

The one problem of these methodes is how to make 2 or 4 renders with other noise without rayepsilion changing. As the rayepsilion changing can make problems.
Win Vista 64 | Phenom II X4 905e |Gigabyte GTX690 and zotac Geforce GTX260 | 8GB
User avatar
kivig
Licensed Customer
Posts: 152
Joined: Fri Apr 09, 2010 10:42 pm
Contact:

Chris_TC wrote: Can the program you posted be used for animations?
Yes. It's not tested well yet though. There's some sort of instruction if you follow the link.

Edit: It has to be frame sequence (png, jpg, tif, bmp) with six digit frame before extension (like Octane creates automatically).
http://www.visnevskis.com
Vista64/Ubuntu, GTX470/580
sam75
Licensed Customer
Posts: 207
Joined: Sat Jan 16, 2010 9:03 pm
Location: Paris

tomas_p wrote:Exist a way how to remove darker parts from the result. You need not 2 renders but 4.

You need 4 renders wit other noise and each with 25 percents of desired number of samples (A, B, C, D). Make two couples (A, B) and (C, D). At each couple apply the masking proces and at these two results (AB_result and CD_result, now both without fireflies) apply the same proces, only the mask must be invert (you need remowe the darker pixels not the brighter).

The one problem of these methodes is how to make 2 or 4 renders with other noise without rayepsilion changing. As the rayepsilion changing can make problems.
what kind of problems ?
Win7 x64 - I7 920@4Ghz - 6Go DDR3 - GTX470
tomas_p
Licensed Customer
Posts: 188
Joined: Sun Mar 14, 2010 7:38 pm
Location: Slovakia

hi sam75

what kind of problems ?

Problems like this...

On picture below is a bottle with shaped label. The label si maped on tubus with bitmap controled transparency. If is rayepsilion 0,0000 it works good, if is 0,0001 the material unedr tubus has no samples on large area. Or if you have doublesided glass, you use hdri background and the rayepsilion is to higher, the view behind the glass is is wrong (scaled or shifted)
Attachments
RE.jpg
Win Vista 64 | Phenom II X4 905e |Gigabyte GTX690 and zotac Geforce GTX260 | 8GB
sam75
Licensed Customer
Posts: 207
Joined: Sat Jan 16, 2010 9:03 pm
Location: Paris

tomas_p wrote:hi sam75

what kind of problems ?

Problems like this...

On picture below is a bottle with shaped label. The label si maped on tubus with bitmap controled transparency. If is rayepsilion 0,0000 it works good, if is 0,0001 the material unedr tubus has no samples on large area. Or if you have doublesided glass, you use hdri background and the rayepsilion is to higher, the view behind the glass is is wrong (scaled or shifted)
thanks for the explanation, could you try by changing rrprob value (eg 0.1) rather than rayepsilon ? It works too but I don't know which one is better.
Win7 x64 - I7 920@4Ghz - 6Go DDR3 - GTX470
Post Reply

Return to “General Discussion”