mpicbg.ij.plugin
Class MSEGaussianFlow

java.lang.Object
  extended by mpicbg.ij.plugin.MSEGaussianFlow
All Implemented Interfaces:
PlugIn, KeyListener, EventListener

public class MSEGaussianFlow
extends Object
implements PlugIn, KeyListener

Transfer an image sequence into an optic flow field

Flow fields are calculated for each pair (t,t+1) of the sequence independently. The motion vector for each pixel in image t is estimated by searching the most similar looking pixel in image t+1. The similarity measure is the sum of differences of all pixels in a local vicinity. The local vicinity is defined by a Gaussian. Both the standard deviation of the Gaussian (the size of the local vicinity) and the search radius are parameters of the method.

Version:
0.1b
Author:
Stephan Saalfeld and Pavel Tomancak

Field Summary
protected static GaussianBlur filter
           
protected static byte maxDistance
           
protected static boolean showColors
           
protected static float sigma
           
 
Constructor Summary
MSEGaussianFlow()
           
 
Method Summary
protected static void colorCircle(ColorProcessor ip)
           
 void keyPressed(KeyEvent e)
           
 void keyReleased(KeyEvent e)
           
 void keyTyped(KeyEvent e)
           
protected static int pingPong(int a, int mod)
           
 void run(String args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sigma

protected static float sigma

maxDistance

protected static byte maxDistance

showColors

protected static boolean showColors

filter

protected static final GaussianBlur filter
Constructor Detail

MSEGaussianFlow

public MSEGaussianFlow()
Method Detail

pingPong

protected static final int pingPong(int a,
                                    int mod)

colorCircle

protected static final void colorCircle(ColorProcessor ip)

run

public final void run(String args)
Specified by:
run in interface PlugIn

keyPressed

public void keyPressed(KeyEvent e)
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent e)
Specified by:
keyReleased in interface KeyListener

keyTyped

public void keyTyped(KeyEvent e)
Specified by:
keyTyped in interface KeyListener


Copyright © 2007-2016 Fiji. All Rights Reserved.