public class TranslationTile2D extends AbstractAffineTile2D<TranslationModel2D>
patch, virtualMatches
connectedTiles, cost, matches, model
Constructor and Description |
---|
TranslationTile2D(Patch patch) |
TranslationTile2D(TranslationModel2D model,
Patch patch) |
Modifier and Type | Method and Description |
---|---|
protected void |
initModel()
Initialize the model with the parameters of the
AffineTransform
of the Patch . |
addVirtualMatch, clearVirtualMatches, commonPointMatches, createAffine, createMaskedByteImage, getHeight, getPatch, getVirtualMatches, getWidth, intersects, intersects, makeVirtualConnection, pairOverlappingTiles, pairOverlappingTiles, pairOverlappingTiles, pairOverlappingTiles, pairTiles, pairTiles, removeVirtualMatch, updatePatch
addConnectedTile, addMatch, addMatches, apply, apply, connect, findConnectedTile, fitModel, getConnectedTiles, getCost, getDistance, getMatches, getModel, identifyConnectedGraphs, removeConnectedTile, removeMatch, setModel, traceConnectedGraph, update, update, updateCost
public TranslationTile2D(TranslationModel2D model, Patch patch)
public TranslationTile2D(Patch patch)
protected void initModel()
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()
== 1AffineTransform.getShearX()
==AffineTransform.getShearY()
== 0
initModel
in class AbstractAffineTile2D<TranslationModel2D>
Copyright © 2015–2021 Fiji. All rights reserved.