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:
ActionListener,WindowListener,Runnable,EventListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classclassNested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class gov.nih.mipav.model.algorithms.AlgorithmBase
destFlag, destImage, image25D, mask, maxProgressValue, minProgressValue, multiThreadingEnabled, nthreads, progress, progressModulus, progressStep, runningInSeparateThread, separable, srcImage, threadStoppedFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(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) voidActually 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) voidMethods 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, windowOpenedMethods 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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
fileName
-
fileDir
-
-
Constructor Details
-
SphericalConformalMap
public SphericalConformalMap() -
SphericalConformalMap
-
-
Method Details
-
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
-
spherical_tutte_map
double[][] spherical_tutte_map(int[][] f, int bigtri) -
cotangent_laplacian
-
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
-
area_map
-
finitemean
double finitemean(double[] A) -
angle_distortion
double[] angle_distortion(double[][] vorig, int[][] f, double[][] maporig)
-