Manao: Good moaning, erh, morning ...
Quote:
Originally posted by redfordxx
Well, honestly, I didn't expect the solution is so complicated...
(I mean the idea is nice. Probably more CPU time demanding than I thought...)
|
A specialised plugin could do the job in a fraction of the time. We just don't have such a one.
Basically, BilinearResize would do the very same thing. But if it were coded so as to average every 2*2 pixels (as you need here), then the resizer would shift the frame around during downsizing+upsizing combos. For a resizer, that's of course not acceptable.
Quote:
Kernel=the matrix in "", isn't it?
|
Yes. The string "1 2 3 4 5 6 7 8 9" in DEdgeMask normally would be written
BTW, in case you want to get the average out of 8*8 blocks, the simplest way is to use Tom's DCTFilter() with
DCFilter(1,0,0,0,0,0,0,0)