Package stitching
Class CommonFunctions
java.lang.Object
stitching.CommonFunctions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidaddHyperLinkListener(ij.gui.MultiLineLabel text, String myURL) static voidcomplexConjugate(float[] complex) static FloatArray2DcomputeFFT(FloatArray2D img) static FloatArray3DcomputeFFT(FloatArray3D img) static float[]computePhaseCorrelationMatrix(float[] fft1, float[] fft2, boolean inPlace) static FloatArray2DcomputePhaseCorrelationMatrix(FloatArray2D fft1, FloatArray2D fft2, int width) static FloatArray3DcomputePhaseCorrelationMatrix(FloatArray3D fft1, FloatArray3D fft2, int width) static final floatgetPixelMin(int imageType, Object[] imageStack, int width, int height, int depth, int x, int y, int z, double min) static final int[]getPixelMinRGB(Object[] imageStack, int width, int height, int depth, int x, int y, int z, double min) static floatgetPixelValueRGB(int rgb, int rgbType) static final double[]getPlanePosition(loci.formats.IFormatReader r, loci.formats.meta.MetadataRetrieve retrieve, int series, int t) static final double[]getPlanePosition(loci.formats.IFormatReader r, loci.formats.meta.MetadataRetrieve retrieve, int series, int t, boolean invertX, boolean invertY, boolean ignoreZStage) static ij.ImagePlusstatic ij.ImagePlusstatic float[]multiply(float[] complexA, float[] complexB, boolean overwriteA) static floatmultiplyComplexImg(float a, float b, float c, float d) static floatmultiplyComplexReal(float a, float b, float c, float d) static Thread[]static Thread[]newThreads(int numThreads) static voidnormalizeComplexVectorsToUnitVectors(float[] complex) static ij.ImagePlusopenLOCIImagePlus(String path, String fileName, int seriesNumber) static ij.ImagePlusopenLOCIImagePlus(String path, String fileName, int seriesNumber, String rgb) static ij.ImagePlusopenLOCIImagePlus(String path, String fileName, int seriesNumber, String rgb, int from, int to) static FloatArray2Dpffft2D(FloatArray2D values, boolean scale) static FloatArray3Dpffft3DMT(FloatArray3D values, boolean scale) static FloatArray2DpffftInv2D(FloatArray2D values, int nfft) static FloatArray3DpffftInv3DMT(FloatArray3D values, int nfft) static voidquicksort(Quicksortable[] data, int left, int right) static voidstartAndJoin(Thread[] threads) static voidstatic FloatArray2DzeroPad(FloatArray2D ip, int width, int height) static FloatArray3DzeroPad(FloatArray3D ip, int width, int height, int depth) static FloatArray2D[]zeroPadImages(FloatArray2D img1, FloatArray2D img2) static FloatArray3D[]zeroPadImages(FloatArray3D img1, FloatArray3D img2)
-
Field Details
-
methodList
-
AVG
public static final int AVG- See Also:
-
LIN_BLEND
public static final int LIN_BLEND- See Also:
-
MAX
public static final int MAX- See Also:
-
MIN
public static final int MIN- See Also:
-
RED_CYAN
public static final int RED_CYAN- See Also:
-
NONE
public static final int NONE- See Also:
-
methodListCollection
-
rgbTypes
-
colorList
-
fusionMethodList
-
fusionMethodListSimple
-
fusionMethodListGrid
-
timeSelect
-
cpuMemSelect
-
-
Constructor Details
-
CommonFunctions
public CommonFunctions()
-
-
Method Details
-
loadImage
-
loadImage
-
addHyperLinkListener
-
openLOCIImagePlus
public static ij.ImagePlus openLOCIImagePlus(String path, String fileName, int seriesNumber, String rgb) -
openLOCIImagePlus
-
openLOCIImagePlus
public static ij.ImagePlus openLOCIImagePlus(String path, String fileName, int seriesNumber, String rgb, int from, int to) -
getPixelValueRGB
public static float getPixelValueRGB(int rgb, int rgbType) -
zeroPad
-
zeroPadImages
-
zeroPad
-
zeroPadImages
-
quicksort
-
pffft2D
-
pffftInv2D
-
pffft3DMT
-
computePhaseCorrelationMatrix
public static FloatArray2D computePhaseCorrelationMatrix(FloatArray2D fft1, FloatArray2D fft2, int width) -
computeFFT
-
computePhaseCorrelationMatrix
public static FloatArray3D computePhaseCorrelationMatrix(FloatArray3D fft1, FloatArray3D fft2, int width) -
computeFFT
-
computePhaseCorrelationMatrix
public static float[] computePhaseCorrelationMatrix(float[] fft1, float[] fft2, boolean inPlace) -
normalizeComplexVectorsToUnitVectors
public static void normalizeComplexVectorsToUnitVectors(float[] complex) -
complexConjugate
public static void complexConjugate(float[] complex) -
multiplyComplexReal
public static float multiplyComplexReal(float a, float b, float c, float d) -
multiplyComplexImg
public static float multiplyComplexImg(float a, float b, float c, float d) -
multiply
public static float[] multiply(float[] complexA, float[] complexB, boolean overwriteA) -
pffftInv3DMT
-
startTask
-
newThreads
-
newThreads
-
startAndJoin
-
getPixelMinRGB
public static final int[] getPixelMinRGB(Object[] imageStack, int width, int height, int depth, int x, int y, int z, double min) -
getPixelMin
public static final float getPixelMin(int imageType, Object[] imageStack, int width, int height, int depth, int x, int y, int z, double min) -
getPlanePosition
public static final double[] getPlanePosition(loci.formats.IFormatReader r, loci.formats.meta.MetadataRetrieve retrieve, int series, int t) -
getPlanePosition
public static final double[] getPlanePosition(loci.formats.IFormatReader r, loci.formats.meta.MetadataRetrieve retrieve, int series, int t, boolean invertX, boolean invertY, boolean ignoreZStage)
-