public class ImageParser extends ContextCommand implements Parser
Modifier and Type | Field and Description |
---|---|
protected ij.measure.Calibration |
cal |
protected ShollPoint |
center |
protected int |
channel |
protected int |
frame |
protected ij.ImagePlus |
imp |
protected double |
lowerT |
protected int |
maxX |
protected int |
maxY |
protected int |
maxZ |
protected int |
minX |
protected int |
minY |
protected int |
minZ |
protected Profile |
profile |
protected Properties |
properties |
protected ArrayList<Double> |
radii |
protected boolean |
running |
protected long |
start |
protected StatusService |
statusService |
protected double |
upperT |
protected double |
voxelSize |
protected int |
xc |
protected int |
yc |
protected int |
zc |
HEMI_EAST, HEMI_NONE, HEMI_NORTH, HEMI_SOUTH, HEMI_WEST, INTG_MEAN, INTG_MEDIAN, INTG_MODE, KEY_2D3D, KEY_CALIBRATION, KEY_CENTER, KEY_CHANNEL_POS, KEY_FRAME_POS, KEY_HEMISHELLS, KEY_ID, KEY_NSAMPLES, KEY_NSAMPLES_INTG, KEY_SLICE_POS, KEY_SOURCE, KEY_THRESHOLD_RANGE, SRC_IMG, SRC_TABLE, SRC_TRACES, UNSET
Modifier | Constructor and Description |
---|---|
protected |
ImageParser(ij.ImagePlus imp)
Deprecated.
|
protected |
ImageParser(ij.ImagePlus imp,
Context context) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkUnsetFields() |
protected void |
checkUnsetFields(boolean includeThreshold) |
protected void |
clearStatus() |
int[][] |
getCircumferencePoints(int cx,
int cy,
int radius) |
double |
getIsotropicVoxelSize() |
ij.ImagePlus |
getMask() |
ij.process.ImageProcessor |
getMaskProcessor(boolean floatProcessor,
double[] maskValues)
Creates a 2D 'Sholl heatmap' by applying measured values to the foreground
pixels of a copy of the analyzed image.
|
Profile |
getProfile() |
boolean |
isRetrieveIntDensitiesSet() |
double |
maxPossibleRadius() |
void |
parse() |
void |
reset() |
void |
run() |
void |
setCenter(double x,
double y,
double z) |
void |
setCenterFromROI() |
void |
setCenterPx(int x,
int y,
int z) |
void |
setHemiShells(String flag) |
protected void |
setPosition(int channel,
int frame) |
void |
setRadii(double[] radiiArray) |
void |
setRadii(double startRadius,
double step,
double endRadius) |
void |
setRetrieveIntDensities(boolean retrieveIntDensities) |
void |
setThreshold(double lower,
double upper) |
boolean |
successful() |
void |
terminate() |
protected boolean |
withinBounds(int x,
int y,
int z) |
protected boolean |
withinThreshold(double value) |
protected boolean |
withinXYbounds(int x,
int y) |
protected boolean |
withinZbounds(int z) |
cancel, getCancelReason, isCanceled
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
protected StatusService statusService
protected Profile profile
protected Properties properties
protected ShollPoint center
protected final ij.ImagePlus imp
protected final ij.measure.Calibration cal
protected final double voxelSize
protected double lowerT
protected double upperT
protected int channel
protected int frame
protected int minX
protected int maxX
protected int minY
protected int maxY
protected int minZ
protected int maxZ
protected int xc
protected int yc
protected int zc
protected long start
protected volatile boolean running
@Deprecated protected ImageParser(ij.ImagePlus imp)
protected ImageParser(ij.ImagePlus imp, Context context)
public double getIsotropicVoxelSize()
public void setCenterFromROI()
public void setCenterPx(int x, int y, int z)
public void setCenter(double x, double y, double z)
public void setThreshold(double lower, double upper)
public void setRadii(double[] radiiArray)
public void setRadii(double startRadius, double step, double endRadius)
public double maxPossibleRadius()
public void setRetrieveIntDensities(boolean retrieveIntDensities)
public boolean isRetrieveIntDensitiesSet()
protected void checkUnsetFields(boolean includeThreshold)
protected void checkUnsetFields()
public void setHemiShells(String flag)
public int[][] getCircumferencePoints(int cx, int cy, int radius)
public ij.ImagePlus getMask()
public ij.process.ImageProcessor getMaskProcessor(boolean floatProcessor, double[] maskValues)
floatProcessor
- if true, a FloatProcessor is returned, if false, a
ShortProcessor is returnedmaskValues
- the mask valuesprotected void setPosition(int channel, int frame)
protected boolean withinThreshold(double value)
protected boolean withinXYbounds(int x, int y)
protected boolean withinZbounds(int z)
protected boolean withinBounds(int x, int y, int z)
protected void clearStatus()
public Profile getProfile()
getProfile
in interface Parser
public boolean successful()
successful
in interface Parser
public void reset()
Copyright © 2015–2021 Fiji. All rights reserved.