mpicbg.trakem2.align
Class TranslationTile2D

java.lang.Object
  extended by mpicbg.models.Tile<A>
      extended by mpicbg.trakem2.align.AbstractAffineTile2D<mpicbg.models.TranslationModel2D>
          extended by mpicbg.trakem2.align.TranslationTile2D

public class TranslationTile2D
extends AbstractAffineTile2D<mpicbg.models.TranslationModel2D>


Field Summary
 
Fields inherited from class mpicbg.trakem2.align.AbstractAffineTile2D
patch, virtualMatches
 
Fields inherited from class mpicbg.models.Tile
connectedTiles, cost, matches, model
 
Constructor Summary
TranslationTile2D(Patch patch)
           
TranslationTile2D(mpicbg.models.TranslationModel2D model, Patch patch)
           
 
Method Summary
protected  void initModel()
          Initialize the model with the parameters of the AffineTransform of the Patch.
 
Methods inherited from class mpicbg.trakem2.align.AbstractAffineTile2D
addVirtualMatch, clearVirtualMatches, commonPointMatches, createAffine, createMaskedByteImage, getHeight, getPatch, getVirtualMatches, getWidth, intersects, makeVirtualConnection, pairOverlappingTiles, pairOverlappingTiles, pairTiles, pairTiles, removeVirtualMatch, updatePatch
 
Methods inherited from class mpicbg.models.Tile
addConnectedTile, addMatch, addMatches, apply, connect, findConnectedTile, fitModel, getConnectedTiles, getCost, getDistance, getMatches, getModel, identifyConnectedGraphs, removeConnectedTile, removeMatch, traceConnectedGraph, update, update, updateCost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationTile2D

public TranslationTile2D(mpicbg.models.TranslationModel2D model,
                         Patch patch)

TranslationTile2D

public TranslationTile2D(Patch patch)
Method Detail

initModel

protected void initModel()
Initialize the model with the parameters of the AffineTransform of the Patch. The AffineTransform should be a Translation, otherwise the results will not be what you might expect. This means, that:
   AffineTransform.getScaleX() == AffineTransform.getScaleY() == 1
   AffineTransform.getShearX() == AffineTransform.getShearY() == 0
 

Specified by:
initModel in class AbstractAffineTile2D<mpicbg.models.TranslationModel2D>