j2d.gui.menu
Class FilterMenu

java.lang.Object
  extended by j2d.gui.menu.FilterMenu

public class FilterMenu
extends java.lang.Object

Copyright 2005, DocJava, Inc. User: dlyon Date: Nov 2, 2005 Time: 5:47:28 PM

Anne MacIlvain - Modified to do correlation, for the final. Notes: 1) I've tried several variations on a theme, and I'm leaving all of the code intact, even if I end up not using it, so you'll see that I have expended time and energy on this. 2) My final incorporates 4 methods of convolution: 1) FFT 2) PFA 3) Time domain - based on formula from internet link 4) Time domain Try2 (which is really a variation on the FFT method, but which extracts just the template, then zero pads it out to match the image) 3) To verify the algorithms, I first used the "UTK" image (which I created and have included as part of my final) then used the baboon. I tried the space shuttle, but it didn't correlate well, no matter which method was applied to it. 4) I believe the FFT and PFA methods are working, but the Time domain and Time domain Try2 methods don't work. Extensive debugging has failed to find the bugs and fix them. :-(


Constructor Summary
FilterMenu()
           
 
Method Summary
static RunMenu getFilterMenu(Main main)
           
static RunMenu getHpMenu(Main main)
           
static RunMenu getLpMenu(Main main)
           
static float[][] shortMatrixToFloat(short[][] sm)
           
static void zeroPadImage(ShortImageBean sibImage, ShortImageBean sibTemplate)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterMenu

public FilterMenu()
Method Detail

getFilterMenu

public static RunMenu getFilterMenu(Main main)

zeroPadImage

public static void zeroPadImage(ShortImageBean sibImage,
                                ShortImageBean sibTemplate)

getHpMenu

public static RunMenu getHpMenu(Main main)

getLpMenu

public static RunMenu getLpMenu(Main main)

shortMatrixToFloat

public static float[][] shortMatrixToFloat(short[][] sm)