title: Applying a bank of image filters in Matlab
body: <p>I need to filter an image using a bank of filters in Matlab.  My first attempt was to use a simple for loop to repeatedly call the "imfilter" function for each filter in the bank.  </p>
  
  <p>I will need to repeat this process many times for my application, so I need to this step to be as efficient as possible.  Therefore, I was wondering if there was any way this operation could be vectorized to speed up the process.  In an effort to simplify things, all of my filter kernels are the same size (9x9).</p>
  
  <p>As an example of what I am going for, my filters are set up in a 9x9x32 element block, which needs to be applied to my image.  I thought about replicating the image into a block (e.g. 100x100x32), but I'm not sure if there's a way to apply an operation like convolution without resorting to loops.  Does anyone have suggestions for a good way of tackling this problem?</p>