public class MSEGaussianFlow extends Object implements ij.plugin.PlugIn, KeyListener
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.
Modifier and Type | Field and Description |
---|---|
protected static ij.plugin.filter.GaussianBlur |
filter |
protected static byte |
maxDistance |
protected static boolean |
showColors |
protected static float |
sigma |
Constructor and Description |
---|
MSEGaussianFlow() |
Modifier and Type | Method and Description |
---|---|
protected static void |
colorCircle(ij.process.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) |
protected static float sigma
protected static byte maxDistance
protected static boolean showColors
protected static final ij.plugin.filter.GaussianBlur filter
protected static final int pingPong(int a, int mod)
protected static final void colorCircle(ij.process.ColorProcessor ip)
public final void run(String args)
run
in interface ij.plugin.PlugIn
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
Copyright © 2015–2021 Fiji. All rights reserved.