[patch] Separable filter

Jules Bergmann jules at codesourcery.com
Mon Nov 5 14:07:27 UTC 2007


This patch implements a subset of separable filter functionality, along 
with a unit test and a benchmark.

Overall, this follows our image processing API draft:

https://intranet.codesourcery.com/VSIPLImageProcessing

This is in the vsip_csl::img namespace.

I also added a new support type: support_min_zeropad.  It computes the 
same support as support_min, however it produces an image the same size 
as the input, zero-filling outputs not computed (i.e. zero-padding the 
image border).

This support type matches how the registration code uses its separable 
filter.  It also matches with IPP's separable filter implementation.

Such a support type would also let us extend Convolution to use SAL's 
f3x3 and f5x5 functions, which essentially compute a min-support result 
with zero-padding around the edges.

On verona, performance is poor with the generic BE (260 MF/s at 
1024x1024 image with 7x7 filter) and very good with the IPP BE (8413 MF/s).

Ok to apply?

				-- Jules

-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sfilt.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20071105/e90afe35/attachment.ksh>


More information about the vsipl++ mailing list