A creative chat with Developers, Photographers, and CG Artists
Welcome, Guest. Please
› Tile sizes.
Tile sizes. (Read 1489 times)
09/11/10 at 12:39:27
I have finally got around to rewriting my bilateral/noise reduction filter so that it works on tiles rather than complete images.
The motivation was to reduce the number of cache misses when working on large pictures, but one side effect is that I am left with some code that could almost be squeezed into the picturenaut plugin framework.
Unfortunately I need some behaviour from pn that it isn't obvious how to get from the sdk examples.
Basically what I need to do is have input and output tiles of different sizes.
For the sake of argument I have a 1024x1024 image. It may be reasonable want to split this into 16 256x256 tiles.
If I am applying a filter with radius r then I need the input tile to be larger. (256+(2*r))*(256+(2*r)) = the output tile area + a border of width r.
The same thing applies for most local tone mapping algorithms, but it's not obvious how to achieve it.
Back to top
Top of this page
» Powered by
YaBB Forum Software
© 2000-2017. All Rights Reserved.