public class ColocImgLibGadgets<T extends RealType<T> & NativeType<T>> extends Object implements ij.plugin.PlugIn
Modifier and Type | Field and Description |
---|---|
protected Img<T> |
img1 |
protected Img<T> |
img2 |
Constructor and Description |
---|
ColocImgLibGadgets() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculatePearson() |
protected double |
calculatePearson(Cursor<T> cursor1,
double mean1,
Cursor<T> cursor2,
double mean2) |
protected Img<T> |
generateRandomImageStack(Img<T> img,
int[] blockDimensions)
To randomize blockwise we enumerate the blocks, shuffle that list and
write the data to their new position based on the shuffled list.
|
protected double |
getImageMean(Img<T> img) |
void |
run(String arg) |
public void run(String arg)
run
in interface ij.plugin.PlugIn
protected Img<T> generateRandomImageStack(Img<T> img, int[] blockDimensions)
protected double calculatePearson()
protected double calculatePearson(Cursor<T> cursor1, double mean1, Cursor<T> cursor2, double mean2)
Copyright © 2015–2021 Fiji. All rights reserved.