Package gov.nih.mipav.model.algorithms
Class SphericalConformalMap
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.model.algorithms.AlgorithmBase
-
- gov.nih.mipav.model.algorithms.SphericalConformalMap
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.awt.event.WindowListener,java.lang.Runnable,java.util.EventListener
public class SphericalConformalMap extends AlgorithmBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classSphericalConformalMap.indexValueComparatorprivate classSphericalConformalMap.indexValueItemclassSphericalConformalMap.sparseMatrix
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringfileDirprivate java.lang.StringfileName-
Fields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, destImage, image25D, mask, maxProgressValue, minProgressValue, multiThreadingEnabled, nthreads, progress, progressModulus, progressStep, runningInSeparateThread, separable, srcImage, threadStopped
-
-
Constructor Summary
Constructors Constructor Description SphericalConformalMap()SphericalConformalMap(java.lang.String fileName, java.lang.String fileDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) double[]angle_distortion(double[][] vorig, int[][] f, double[][] maporig)(package private) double[]area_distortion(double[][] vorig, int[][] f, double[][] maporig)(package private) double[]area_map(int[][] f, SuperLU.doublecomplex[] z, double[] x)(package private) SuperLU.doublecomplex[]beltrami_coefficient(double[][] v, int[][] f, double[][] map)(package private) SphericalConformalMap.sparseMatrixcotangent_laplacian(double[][] v, int[][] f)(package private) doubled_area(int[][] f, SuperLU.doublecomplex[] z, double[] x, double[] area_v)(package private) double[]face_area(int[][] f, double[][] v)(package private) doublefinitemean(double[] A)(package private) double[][]linear_beltrami_solver(double[][] v, int[][] f, SuperLU.doublecomplex[] mu, int[] landmark, double[][] target)(package private) double[][]mobius_area_correction(double[] x, double[][] v, int[][] f, double[][] map)voidrunAlgorithm()Actually runs the algorithm.private double[][]spherical_conformal_map(double[][] v, int[][] f)(package private) double[][]spherical_tutte_map(int[][] f, int bigtri)(package private) double[][]stereographic(double[][] u)voidtestRoutine()-
Methods inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
actionPerformed, addListener, addProgressChangeListener, calculateImageSize, calculatePrincipleAxis, computeElapsedTime, computeElapsedTime, convertIntoFloat, delinkProgressToAlgorithm, delinkProgressToAlgorithmMulti, displayError, errorCleanUp, finalize, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, fireProgressStateChanged, generateProgressValues, getDestImage, getElapsedTime, getMask, getMaxProgressValue, getMinProgressValue, getNumberOfThreads, getProgress, getProgressChangeListener, getProgressChangeListeners, getProgressModulus, getProgressStep, getProgressValues, getSrcImage, isCompleted, isImage25D, isMultiThreadingEnabled, isRunningInSeparateThread, isThreadStopped, linkProgressToAlgorithm, linkProgressToAlgorithm, makeProgress, notifyListeners, removeListener, removeProgressChangeListener, run, setCompleted, setImage25D, setMask, setMaxProgressValue, setMinProgressValue, setMultiThreadingEnabled, setNumberOfThreads, setProgress, setProgressModulus, setProgressStep, setProgressValues, setProgressValues, setRunningInSeparateThread, setSrcImage, setStartTime, setThreadStopped, startMethod, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
testRoutine
public void testRoutine()
-
runAlgorithm
public void runAlgorithm()
Description copied from class:AlgorithmBaseActually runs the algorithm. Implemented by inheriting algorithms.- Specified by:
runAlgorithmin classAlgorithmBase
-
spherical_conformal_map
private double[][] spherical_conformal_map(double[][] v, int[][] f)
-
linear_beltrami_solver
double[][] linear_beltrami_solver(double[][] v, int[][] f, SuperLU.doublecomplex[] mu, int[] landmark, double[][] target)
-
beltrami_coefficient
SuperLU.doublecomplex[] beltrami_coefficient(double[][] v, int[][] f, double[][] map)
-
spherical_tutte_map
double[][] spherical_tutte_map(int[][] f, int bigtri)
-
cotangent_laplacian
SphericalConformalMap.sparseMatrix cotangent_laplacian(double[][] v, int[][] f)
-
face_area
double[] face_area(int[][] f, double[][] v)
-
area_distortion
double[] area_distortion(double[][] vorig, int[][] f, double[][] maporig)
-
stereographic
double[][] stereographic(double[][] u)
-
mobius_area_correction
double[][] mobius_area_correction(double[] x, double[][] v, int[][] f, double[][] map)
-
d_area
double d_area(int[][] f, SuperLU.doublecomplex[] z, double[] x, double[] area_v)
-
area_map
double[] area_map(int[][] f, SuperLU.doublecomplex[] z, double[] x)
-
finitemean
double finitemean(double[] A)
-
angle_distortion
double[] angle_distortion(double[][] vorig, int[][] f, double[][] maporig)
-
-