public class PMCCBlockFlow 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 Pearson Product-Moment Correlation Coefficient 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 int |
maxDistance |
protected static boolean |
showColors |
Constructor and Description |
---|
PMCCBlockFlow() |
Modifier and Type | Method and Description |
---|---|
protected static void |
colorCircle(ij.process.ColorProcessor ip) |
void |
run(String args) |
protected static int blockRadius
protected static int maxDistance
protected static boolean showColors
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.