Class Transform_MovingLeastSquaresMesh

java.lang.Object
  extended by mpicbg.ij.InteractiveMapping
      extended by Transform_MovingLeastSquaresMesh
All Implemented Interfaces:
ImageListener, PlugIn, KeyListener, MouseListener, MouseMotionListener, EventListener

public class Transform_MovingLeastSquaresMesh
extends InteractiveMapping

Smooth image deformation using landmark based deformation by means of Moving Least Squares as described by \citet{SchaeferAl06} inspired by the implementation of Johannes Schindelin. BibTeX:

Version:
0.2b
Author:
Stephan Saalfeld

Field Summary
static String man
           
protected  MovingLeastSquaresMesh<? extends AbstractModel<?>> mesh
           
static String NL
           
 
Fields inherited from class mpicbg.ij.InteractiveMapping
handles, hooks, imp, interpolate, m, mapping, p, painter, pleaseRepaint, q, showIllustration, showPreview, source, target, targetIndex
 
Constructor Summary
Transform_MovingLeastSquaresMesh()
           
 
Method Summary
protected  void addHandle(int x, int y)
           
protected  void createMapping()
           
 void init()
           
protected  void updateHandles(int x, int y)
           
protected  void updateIllustration()
           
protected  void updateMapping()
           
 
Methods inherited from class mpicbg.ij.InteractiveMapping
imageClosed, imageOpened, imageUpdated, keyPressed, keyReleased, keyTyped, modifiers, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, run, updateRoi
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NL

public static final String NL

man

public static final String man

mesh

protected MovingLeastSquaresMesh<? extends AbstractModel<?>> mesh
Constructor Detail

Transform_MovingLeastSquaresMesh

public Transform_MovingLeastSquaresMesh()
Method Detail

createMapping

protected final void createMapping()
Specified by:
createMapping in class InteractiveMapping

updateMapping

protected final void updateMapping()
                            throws NotEnoughDataPointsException,
                                   IllDefinedDataPointsException
Specified by:
updateMapping in class InteractiveMapping
Throws:
NotEnoughDataPointsException
IllDefinedDataPointsException

addHandle

protected final void addHandle(int x,
                               int y)
Specified by:
addHandle in class InteractiveMapping

updateHandles

protected final void updateHandles(int x,
                                   int y)
Specified by:
updateHandles in class InteractiveMapping

init

public final void init()
Overrides:
init in class InteractiveMapping

updateIllustration

protected final void updateIllustration()
Specified by:
updateIllustration in class InteractiveMapping


Copyright © 2007-2016 Fiji. All Rights Reserved.