public class MSEBlockFlow extends Object implements ij.plugin.PlugIn
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 square differences of all pixels in a local
vicinity. The local vicinity is defined by a block and is calculated using
an IntegralImage
. Both the size of the block and the search radius
are parameters of the method.
Modifier and Type | Field and Description |
---|---|
protected static int |
blockRadius |
protected static byte |
maxDistance |
protected static boolean |
showColors |
Constructor and Description |
---|
MSEBlockFlow() |
Modifier and Type | Method and Description |
---|---|
protected static void |
colorCircle(ij.process.ColorProcessor ip) |
protected static int |
pingPong(int a,
int mod) |
void |
run(String args) |
protected static int blockRadius
protected static byte maxDistance
protected static boolean showColors
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
Copyright © 2015–2021 Fiji. All rights reserved.