public class SimilarityTile2D extends AbstractAffineTile2D<SimilarityModel2D>
patch, virtualMatches
connectedTiles, cost, matches, model
Constructor and Description |
---|
SimilarityTile2D(Patch patch) |
SimilarityTile2D(SimilarityModel2D 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 SimilarityTile2D(SimilarityModel2D model, Patch patch)
public SimilarityTile2D(Patch patch)
protected void initModel()
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()
initModel
in class AbstractAffineTile2D<SimilarityModel2D>
Copyright © 2015–2021 Fiji. All rights reserved.