mpicbg.trakem2.align
Class SimilarityTile2D

java.lang.Object
  extended by mpicbg.models.Tile<A>
      extended by mpicbg.trakem2.align.AbstractAffineTile2D<mpicbg.models.SimilarityModel2D>
          extended by mpicbg.trakem2.align.SimilarityTile2D

public class SimilarityTile2D
extends AbstractAffineTile2D<mpicbg.models.SimilarityModel2D>


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
SimilarityTile2D(Patch patch)
           
SimilarityTile2D(mpicbg.models.SimilarityModel2D 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

SimilarityTile2D

public SimilarityTile2D(mpicbg.models.SimilarityModel2D model,
                        Patch patch)

SimilarityTile2D

public SimilarityTile2D(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 Similarity, otherwise the results will not be what you might expect. This means, that:
   AffineTransform.getScaleX() == AffineTransform.getScaleY()
   AffineTransform.getShearX() == -AffineTransform.getShearY()
 

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