Welcome, Guest. Please Login or Register
Home Help Search Login Register
Page Index Toggle Pages: 1
Send Topic Print
Tile sizes. (Read 1549 times)
davidb
Senior Member
****
Offline


Irritant

Posts: 264
UK
Tile sizes.
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.

Any ideas?
Back to top
 
WWW davidb  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print