mpicbg.ij.plugin
Class PMCCBlockFlow

java.lang.Object
  extended by mpicbg.ij.plugin.PMCCBlockFlow
All Implemented Interfaces:
PlugIn

public class PMCCBlockFlow
extends Object
implements PlugIn

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 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.

Version:
0.1a
Author:
Stephan Saalfeld

Field Summary
protected static int blockRadius
           
protected static int maxDistance
           
protected static boolean showColors
           
 
Constructor Summary
PMCCBlockFlow()
           
 
Method Summary
protected static void colorCircle(ColorProcessor ip)
           
 void run(String args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockRadius

protected static int blockRadius

maxDistance

protected static int maxDistance

showColors

protected static boolean showColors
Constructor Detail

PMCCBlockFlow

public PMCCBlockFlow()
Method Detail

colorCircle

protected static final void colorCircle(ColorProcessor ip)

run

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


Copyright © 2007-2016 Fiji. All Rights Reserved.