congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ThinPlateR2LogRSplineKernelTransform.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
jitk.spline.ThinPlateR2LogRSplineKernelTransform
constructor

Best Java code snippets using jitk.spline.ThinPlateR2LogRSplineKernelTransform.<init> (Showing top 3 results out of 315)

origin: net.imglib2/imglib2-realtransform

final static private ThinPlateR2LogRSplineKernelTransform init( final double[][] p, final double[][] q )
{
  assert p.length == q.length;
  final ThinPlateR2LogRSplineKernelTransform tps = new ThinPlateR2LogRSplineKernelTransform( p.length, p, q );
  return tps;
}
origin: sc.fiji/trakem2-transform

tps = new ThinPlateR2LogRSplineKernelTransform(srcPts, aMtx, bVec, dMtxDat);
origin: sc.fiji/TrakEM2_

final static protected ThinPlateSplineTransform makeTPS( final Set< PointMatch > matches ) throws Exception
{
  final double[][] srcPts = new double[ 2 ][ matches.size() ];
  final double[][] tgtPts = new double[ 2 ][ matches.size() ];
  int i = 0;
  for ( final PointMatch match : matches ) {
    final double[] srcPt = match.getP1().getL();
    final double[] tgtPt = match.getP2().getW();
    srcPts[ 0 ][ i ] = srcPt[ 0 ];
    srcPts[ 1 ][ i ] = srcPt[ 1 ];
    tgtPts[ 0 ][ i ] = tgtPt[ 0 ];
    tgtPts[ 1 ][ i ] = tgtPt[ 1 ];
    ++i;
  }
  final ThinPlateR2LogRSplineKernelTransform tps = new ThinPlateR2LogRSplineKernelTransform(2, srcPts, tgtPts);
  return new ThinPlateSplineTransform( tps );
}
jitk.splineThinPlateR2LogRSplineKernelTransform<init>

Javadoc

Constructor with weighted point matches

Popular methods of ThinPlateR2LogRSplineKernelTransform

  • apply
    Transform a source vector pt into a target vector result. pt and result must NOT be the same vector.
  • getNumDims
  • jacobian
    Computes the jacobian of this tranformation around the point p. The result is stored in a new double
  • applyInPlace
    Transform pt in place.
  • buildDisplacements
  • closestTargetLandmarkAndDistance
    Returns the index of the target landmark closest to the input point as well as the distance to that
  • computeDeformationContribution
  • computeG
  • computeK
    Builds the K matrix from landmark points and G matrix.
  • computeL
  • computeP
  • computeReflexiveG
  • computeP,
  • computeReflexiveG,
  • computeW,
  • getAffine,
  • getKnotWeights,
  • getNumLandmarks,
  • getSourceLandmarks,
  • getTranslation,
  • initialGuessAtInverse

Popular in Java

  • Reactive rest calls using spring rest template
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Runner (org.openjdk.jmh.runner)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now