Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: 2D image - applying a filter bank to patches
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Francisco Seixas

Posts: 6
Registered: 11/23/12
2D image - applying a filter bank to patches
Posted: May 17, 2013 12:34 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi there,

I have an image that I'd like to convolve with a filter bank of 38 filters. However, for every pixel I must apply the filters to a patch surrouding said pixel, I can't apply the filters to the whole image at once. This is because I need to normalize (zero mean and unit standard deviation) each patch before applying the filter bank.

This means that, for a 512x512 image, I'd have 512*512*38 convolutions - that's almost 10^7. Each pixel is taking 200ms to process, so we're looking at over 14 hours for a single image! What can I do better?

I'm currently generating the patches manually (no blockproc) and applying the filters using imfilter. The filters are 31x31 pixels and the patches are 71x71 (plus padding to get correct filter responses at the edges).

Thanks,
FS



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.