Indigo image quality.

Feature requests, bug reports and related discussion
User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

Indigo image quality.

Post by tungee » Thu Apr 05, 2007 12:40 am

Hi ono,which image sampling you use for Indigo?
is it gaussian?, i heard that mitchell-netravali is much more better than gaussian, this means much sharper without aliasing.
in some cases the indigo images looks bit blured with and without the post.
Music has the right to children!

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Fri Apr 06, 2007 6:26 pm

Indigo uses a Gaussian sampling filter.
Mitchell Netravali is a bit sharper, but it's a subjective matter which is better.
If you use a super sample factor > 1, the images will be pretty sharp even with a Gaussian filter.

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

Post by tungee » Thu Apr 26, 2007 8:42 am

Hi ONO,
would it be hard to implement the mitchell netravali filter in Indigo? i have seen some sunflow pics , they are really very sharp and crisp.

http://www.cs.cornell.edu/Courses/cs465 ... tes-v2.pdf


http://www.blackwell-synergy.com/doi/pd ... 06.00919.x
Music has the right to children!

tinman999
Posts: 23
Joined: Tue Apr 17, 2007 1:29 pm
Location: UK
Contact:

Post by tinman999 » Thu Apr 26, 2007 9:17 am

IMO mitchell netravali filter is not good for filtering global illumination image, and indeed any filter which uses negative weights unless you apply the filter after you tonemapped your global illumination image. This is because the negative weights of the mitchell netravali can cause black edges (for example at the edges of light source) this dues to float point rounding error.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Thu Apr 26, 2007 10:12 am

tinman999 wrote:IMO mitchell netravali filter is not good for filtering global illumination image, and indeed any filter which uses negative weights unless you apply the filter after you tonemapped your global illumination image. This is because the negative weights of the mitchell netravali can cause black edges (for example at the edges of light source) this dues to float point rounding error.
I agree a priori, this was the cause of a sampling issue in mental ray with Final Gather, known as the "black spots" issue IIRC.

What about elliptical filtering ? It's quite renowned I believe...
obsolete asset

IanT
Posts: 153
Joined: Fri Aug 25, 2006 3:13 am

Post by IanT » Fri Apr 27, 2007 4:19 am

tinman999 wrote:IMO mitchell netravali filter is not good for filtering global illumination image, and indeed any filter which uses negative weights unless you apply the filter after you tonemapped your global illumination image. This is because the negative weights of the mitchell netravali can cause black edges (for example at the edges of light source) this dues to float point rounding error.
Exactly matches my own experience. Supersampling can actually reduce the "black edge" effect of the MN filter but it still doesn't totally disappear :?

Ian.

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Fri Apr 27, 2007 7:04 am

I'm going to vote for simple gaussian, too.

If your results seem less sharp.. sharpen 'em. :P No reason to cause every render to have a higher relative error, for some sharpness.

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

Post by Kram1032 » Fri Apr 27, 2007 7:11 am

It really doesn't matter, to me, as long, as it wont entirely slows indigo down and/or there is a reasonable effect.

User avatar
tungee
Posts: 482
Joined: Mon Jul 03, 2006 8:17 pm
Location: Gießen Germany

Post by tungee » Sat Apr 28, 2007 7:09 pm

what about catmull-rom Filter?
I dont like to postsharp because of antialiasing.
thanx for da replies
Music has the right to children!

IanT
Posts: 153
Joined: Fri Aug 25, 2006 3:13 am

Post by IanT » Sun Apr 29, 2007 12:00 am

what about catmull-rom Filter?

That has a negative lobe too sadly :? It's also bloody slow to evaluate (even slower than MN)

Ian.

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Sun Apr 29, 2007 4:49 am

If you're seeing aliasing when you do post-sharpening, you're doing it wrong.

IanT
Posts: 153
Joined: Fri Aug 25, 2006 3:13 am

Post by IanT » Sun Apr 29, 2007 5:36 am

zsouthboy wrote:If you're seeing aliasing when you do post-sharpening, you're doing it wrong.
Yes, good point. Try decomposing into HSV or equivalent, sharpen only the luminance channel and then recompose.

Sharpening can make aliasing worse but only if you have it there in the first place. Using Indigo's supersampling at render time will prevent that.

Ian.

User avatar
Xman
Posts: 202
Joined: Sat Jun 24, 2006 9:56 pm
Location: Guangdong-China

Post by Xman » Mon Apr 30, 2007 6:44 pm

For building render,the Gaussian sampling it's OK.
but for industry design render,sharpen sampling is necessary.

PS.in fact, I much more hope indigo can own two different samples.
Intel i7-920,RAM 3G ,GeForce 9800GTX+.

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Mon Apr 30, 2007 11:09 pm

Xman wrote:PS.in fact, I much more hope indigo can own two different samples.
That would make sense. For instance, mental ray has five sampling filters:

Box, Triangle, Gaussian, Mitchell, Lanczos. The two latters are clipped to avoid negative values.
mr docs wrote:Because “plain” Lanczos and Mitchell may produce negative values the new filter types are “clipped” variants to ensure positive values. The filtered result samples are clipped to the min/max range of input samples. The final pixel in the image will therefore not contain any out-of-range values _produced by the filter_, as might be the case for regular Mitchell and Lanczos filters.
Additionally, the filter size is not fixed but set by hand (has default value for each type).
obsolete asset

IanT
Posts: 153
Joined: Fri Aug 25, 2006 3:13 am

Post by IanT » Mon Apr 30, 2007 11:30 pm

That's a strange way of doing it ... it's exactly the negative lobe of these filters that gives them their edge-enhancement properties :?

Ian.

Post Reply
17 posts

Who is online

Users browsing this forum: No registered users and 5 guests