Monday, March 2, 2009

Normalization working Normally

So after some diligent staring at our code, we discovered the issues with our DoG filter code and got that fixed up.  The mistakes were pretty good: first I had mixed up the height/width indexes, then we noticed that we weren't decrementing in a loop, and finally we had an off by one error due to using > instead of >=.  Programming is fun.

So on that note, our images look really nice now.  We can toggle between DoG and maximal suppression normalization and compare the results.  DoG filtering removes a lot of noise compared to the other method.  We perform a final round of normalization at the end of processing on the aggregate saliency map and opted to not use DoG there because it was removing a bit too much from the image.

Our normalization now looks like: DoG on all subroutine steps, then one maximal suppresion normalization at the end to highlight the salient areas.  This also allows you to see any noise in the final map, which DoG would near completely eliminate (along with potentially interesting features).  We think this is a good compromise and will be sticking with it.

Normalization is an area that a lot could be done with - it drastically affects the results of our algorithm.

Unfortunately we still haven't completed the symmetry feature map code yet.  We're working on it though!  It really is a lot of work to translate into OpenCV but it's making our code a lot better because of various improvements we are making along the way.  Symmetry is the last big "to do" item on our list, as well as a simple survey before our final report.  We should have symmetry done this weekend, after which we can perform our survey.

Our current ideas about how to present the maps in order for people to judge them is simply threshold the maps then filter images based upon these thresholded maps.  Anything not black will be seen.  The survey will show the original image and then three variants of it: RGB saliency map, LAB saliency map, and LAB saliency map with symmetry.

Here are some pictures of the new filter in action (ordering is input, LAB, RGB) (no symmetry):













No comments:

Post a Comment