mpicbg.ij.plugin
Class MSEBlockFlow

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

public class MSEBlockFlow
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 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.

Version:
0.1a
Author:
Stephan Saalfeld

Field Summary
protected static int blockRadius
           
protected static byte maxDistance
           
protected static boolean showColors
           
 
Constructor Summary
MSEBlockFlow()
           
 
Method Summary
protected static void colorCircle(ColorProcessor ip)
           
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

blockRadius

protected static int blockRadius

maxDistance

protected static byte maxDistance

showColors

protected static boolean showColors
Constructor Detail

MSEBlockFlow

public MSEBlockFlow()
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


Copyright © 2007-2016 Fiji. All Rights Reserved.