public class CommonFunctions extends Object
Modifier and Type | Field and Description |
---|---|
static int |
AVG |
static String[] |
colorList |
static String[] |
cpuMemSelect |
static String[] |
fusionMethodList |
static String[] |
fusionMethodListGrid |
static String[] |
fusionMethodListSimple |
static int |
LIN_BLEND |
static int |
MAX |
static String[] |
methodList |
static String[] |
methodListCollection |
static int |
MIN |
static int |
NONE |
static int |
RED_CYAN |
static String[] |
rgbTypes |
static String[] |
timeSelect |
Constructor and Description |
---|
CommonFunctions() |
Modifier and Type | Method and Description |
---|---|
static void |
addHyperLinkListener(MultiLineLabel text,
String myURL) |
static void |
complexConjugate(float[] complex) |
static FloatArray2D |
computeFFT(FloatArray2D img) |
static FloatArray3D |
computeFFT(FloatArray3D img) |
static float[] |
computePhaseCorrelationMatrix(float[] fft1,
float[] fft2,
boolean inPlace) |
static FloatArray2D |
computePhaseCorrelationMatrix(FloatArray2D fft1,
FloatArray2D fft2,
int width) |
static FloatArray3D |
computePhaseCorrelationMatrix(FloatArray3D fft1,
FloatArray3D fft2,
int width) |
static float |
getPixelMin(int imageType,
Object[] imageStack,
int width,
int height,
int depth,
int x,
int y,
int z,
double min) |
static int[] |
getPixelMinRGB(Object[] imageStack,
int width,
int height,
int depth,
int x,
int y,
int z,
double min) |
static float |
getPixelValueRGB(int rgb,
int rgbType) |
static double[] |
getPlanePosition(IFormatReader r,
MetadataRetrieve retrieve,
int series,
int t) |
static double[] |
getPlanePosition(IFormatReader r,
MetadataRetrieve retrieve,
int series,
int t,
boolean invertX,
boolean invertY,
boolean ignoreZStage) |
static ij.ImagePlus |
loadImage(String directory,
String file,
int seriesNumber) |
static ij.ImagePlus |
loadImage(String directory,
String file,
int seriesNumber,
String rgb) |
static float[] |
multiply(float[] complexA,
float[] complexB,
boolean overwriteA) |
static float |
multiplyComplexImg(float a,
float b,
float c,
float d) |
static float |
multiplyComplexReal(float a,
float b,
float c,
float d) |
static Thread[] |
newThreads() |
static Thread[] |
newThreads(int numThreads) |
static void |
normalizeComplexVectorsToUnitVectors(float[] complex) |
static ij.ImagePlus |
openLOCIImagePlus(String path,
String fileName,
int seriesNumber) |
static ij.ImagePlus |
openLOCIImagePlus(String path,
String fileName,
int seriesNumber,
String rgb) |
static ij.ImagePlus |
openLOCIImagePlus(String path,
String fileName,
int seriesNumber,
String rgb,
int from,
int to) |
static FloatArray2D |
pffft2D(FloatArray2D values,
boolean scale) |
static FloatArray3D |
pffft3DMT(FloatArray3D values,
boolean scale) |
static FloatArray2D |
pffftInv2D(FloatArray2D values,
int nfft) |
static FloatArray3D |
pffftInv3DMT(FloatArray3D values,
int nfft) |
static void |
quicksort(Quicksortable[] data,
int left,
int right) |
static void |
startAndJoin(Thread[] threads) |
static void |
startTask(Runnable run,
int numThreads) |
static FloatArray2D |
zeroPad(FloatArray2D ip,
int width,
int height) |
static FloatArray3D |
zeroPad(FloatArray3D ip,
int width,
int height,
int depth) |
static FloatArray2D[] |
zeroPadImages(FloatArray2D img1,
FloatArray2D img2) |
static FloatArray3D[] |
zeroPadImages(FloatArray3D img1,
FloatArray3D img2) |
public static String[] methodList
public static final int AVG
public static final int LIN_BLEND
public static final int MAX
public static final int MIN
public static final int RED_CYAN
public static final int NONE
public static String[] methodListCollection
public static String[] rgbTypes
public static String[] colorList
public static String[] fusionMethodList
public static String[] fusionMethodListSimple
public static String[] fusionMethodListGrid
public static String[] timeSelect
public static String[] cpuMemSelect
public static ij.ImagePlus loadImage(String directory, String file, int seriesNumber, String rgb)
public static final void addHyperLinkListener(MultiLineLabel text, String myURL)
public static ij.ImagePlus openLOCIImagePlus(String path, String fileName, int seriesNumber, String rgb)
public static ij.ImagePlus openLOCIImagePlus(String path, String fileName, int seriesNumber)
public static ij.ImagePlus openLOCIImagePlus(String path, String fileName, int seriesNumber, String rgb, int from, int to)
public static float getPixelValueRGB(int rgb, int rgbType)
public static FloatArray3D zeroPad(FloatArray3D ip, int width, int height, int depth)
public static FloatArray3D[] zeroPadImages(FloatArray3D img1, FloatArray3D img2)
public static FloatArray2D zeroPad(FloatArray2D ip, int width, int height)
public static FloatArray2D[] zeroPadImages(FloatArray2D img1, FloatArray2D img2)
public static void quicksort(Quicksortable[] data, int left, int right)
public static FloatArray2D pffft2D(FloatArray2D values, boolean scale)
public static FloatArray2D pffftInv2D(FloatArray2D values, int nfft)
public static FloatArray3D pffft3DMT(FloatArray3D values, boolean scale)
public static FloatArray2D computePhaseCorrelationMatrix(FloatArray2D fft1, FloatArray2D fft2, int width)
public static FloatArray2D computeFFT(FloatArray2D img)
public static FloatArray3D computePhaseCorrelationMatrix(FloatArray3D fft1, FloatArray3D fft2, int width)
public static FloatArray3D computeFFT(FloatArray3D img)
public static float[] computePhaseCorrelationMatrix(float[] fft1, float[] fft2, boolean inPlace)
public static void normalizeComplexVectorsToUnitVectors(float[] complex)
public static void complexConjugate(float[] complex)
public static float multiplyComplexReal(float a, float b, float c, float d)
public static float multiplyComplexImg(float a, float b, float c, float d)
public static float[] multiply(float[] complexA, float[] complexB, boolean overwriteA)
public static FloatArray3D pffftInv3DMT(FloatArray3D values, int nfft)
public static void startTask(Runnable run, int numThreads)
public static Thread[] newThreads()
public static Thread[] newThreads(int numThreads)
public static void startAndJoin(Thread[] threads)
public static final int[] getPixelMinRGB(Object[] imageStack, int width, int height, int depth, int x, int y, int z, double min)
public static final float getPixelMin(int imageType, Object[] imageStack, int width, int height, int depth, int x, int y, int z, double min)
public static final double[] getPlanePosition(IFormatReader r, MetadataRetrieve retrieve, int series, int t)
public static final double[] getPlanePosition(IFormatReader r, MetadataRetrieve retrieve, int series, int t, boolean invertX, boolean invertY, boolean ignoreZStage)
Copyright © 2015–2021 Fiji. All rights reserved.