public class InteractiveIntegral extends Object implements ij.plugin.PlugIn
Modifier and Type | Class and Description |
---|---|
protected class |
InteractiveIntegral.EnableListener |
protected class |
InteractiveIntegral.FinishButtonListener |
protected class |
InteractiveIntegral.FrameListener |
protected class |
InteractiveIntegral.ImagePlusListener |
protected class |
InteractiveIntegral.MaxListener |
protected class |
InteractiveIntegral.MinListener |
protected class |
InteractiveIntegral.Radius1Listener |
protected class |
InteractiveIntegral.Radius2Listener |
protected class |
InteractiveIntegral.ThresholdListener |
static class |
InteractiveIntegral.ValueChange |
Constructor and Description |
---|
InteractiveIntegral() |
InteractiveIntegral(ij.ImagePlus imp) |
InteractiveIntegral(ij.ImagePlus imp,
int channel) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(Frame parent,
SliceObserver sliceObserver,
ij.ImagePlus imp) |
static void |
computeDifferencOfMeanSlice(Image<LongType> integralImg,
Image<FloatType> sliceImg,
int z,
int sx1,
int sy1,
int sz1,
int sx2,
int sy2,
int sz2,
float min,
float max) |
Image<LongType> |
computeIntegralImage(Image<FloatType> img) |
static int |
computeRadius2(int radius1) |
protected static int |
computeScrollbarPositionFromValue(float radius,
float min,
float max,
int scrollbarSize) |
protected static float |
computeValueFromScrollbarPosition(int scrollbarPosition,
float min,
float max,
int scrollbarSize) |
static Image<FloatType> |
convertToFloat(ij.ImagePlus imp,
int channel,
int timepoint)
Normalize and make a copy of the
ImagePlus into an Image >FloatType< for faster access when copying the slices |
protected void |
displaySliders()
Instantiates the panel for adjusting the paramters
|
static ArrayList<SimplePeak> |
findPeaks(Image<FloatType> laPlace,
float minValue) |
Image<FloatType> |
getConvertedImage() |
boolean |
getLookForMaxima() |
boolean |
getLookForMinima() |
int |
getRadius1() |
int |
getRadius2() |
boolean |
getRadius2WasAdjusted() |
double |
getThreshold() |
boolean |
isFinished() |
protected static DifferenceOfGaussian.SpecialPoint |
isSpecialPoint(LocalNeighborhoodCursor<FloatType> neighborhoodCursor,
float centerValue) |
static void |
main(String[] args) |
void |
run(String arg) |
void |
setInitialRadii(int r1,
int r2) |
void |
setInitialRadius(int r1) |
void |
setLookForMaxima(boolean lookForMaxima) |
void |
setLookForMinima(boolean lookForMinima) |
void |
setMaxIntensityImage(double max) |
void |
setMinIntensityImage(double min) |
void |
setRadiusMax(int radiusMax) |
void |
setThreshold(float value) |
protected void |
updatePreview(InteractiveIntegral.ValueChange change)
Updates the Preview with the current parameters (radius, threshold, roi, slicenumber)
|
boolean |
wasCanceld() |
public InteractiveIntegral(ij.ImagePlus imp, int channel)
public InteractiveIntegral(ij.ImagePlus imp)
public InteractiveIntegral()
public boolean isFinished()
public boolean wasCanceld()
public void setInitialRadii(int r1, int r2)
public void setInitialRadius(int r1)
public int getRadius1()
public int getRadius2()
public double getThreshold()
public void setThreshold(float value)
public boolean getRadius2WasAdjusted()
public boolean getLookForMaxima()
public boolean getLookForMinima()
public void setLookForMaxima(boolean lookForMaxima)
public void setLookForMinima(boolean lookForMinima)
public void setRadiusMax(int radiusMax)
public void setMinIntensityImage(double min)
public void setMaxIntensityImage(double max)
public void run(String arg)
run
in interface ij.plugin.PlugIn
public static final void computeDifferencOfMeanSlice(Image<LongType> integralImg, Image<FloatType> sliceImg, int z, int sx1, int sy1, int sz1, int sx2, int sy2, int sz2, float min, float max)
protected void updatePreview(InteractiveIntegral.ValueChange change)
change
- - what did changepublic static int computeRadius2(int radius1)
public static ArrayList<SimplePeak> findPeaks(Image<FloatType> laPlace, float minValue)
protected static final DifferenceOfGaussian.SpecialPoint isSpecialPoint(LocalNeighborhoodCursor<FloatType> neighborhoodCursor, float centerValue)
public static Image<FloatType> convertToFloat(ij.ImagePlus imp, int channel, int timepoint)
ImagePlus
into an Image
>FloatType< for faster access when copying the slicesimp
- - the ImagePlus
input imageprotected void displaySliders()
protected final void close(Frame parent, SliceObserver sliceObserver, ij.ImagePlus imp)
protected static float computeValueFromScrollbarPosition(int scrollbarPosition, float min, float max, int scrollbarSize)
protected static int computeScrollbarPositionFromValue(float radius, float min, float max, int scrollbarSize)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.