public class Profile extends Object implements ProfileProperties
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
Constructor and Description |
---|
Profile()
Instantiates a new empty profile.
|
Profile(double[][] sampledData)
Constructor accepting matrices.
|
Profile(List<Number> radii,
List<Number> sampledInters)
Default constructor.
|
Profile(Number[] radii,
Number[] sampledInters)
Legacy constructor accepting arrays.
|
public Profile()
public Profile(List<Number> radii, List<Number> sampledInters)
radii
- sampled radiisampledInters
- sampled intersection countspublic Profile(Number[] radii, Number[] sampledInters)
radii
- sampled radiisampledInters
- sampled intersection countspublic Profile(double[][] sampledData)
sampledData
- sampled data in [n][2] format, where n = number of points
(radii: [n][0]; sampledInters: [n][1])public String identifier()
public void setIdentifier(String identifier)
public Profile duplicate()
public double[] radiiAsArray()
public double[] countsAsArray()
public ArrayList<Set<ShollPoint>> points()
public double getCountAtRadius(double radius)
public void trimZeroCounts()
public void trimNaNCounts()
public void scale(double xScale, double yScale, double zScale)
public SortedSet<ProfileEntry> entries()
public String source()
public int nDimensions()
public boolean is2D()
public void setNDimensions(int twoDthreeD)
public boolean scaled()
public boolean hasPoints()
public ShollPlot plot()
public ShollPoint center()
public void setCenter(ShollPoint center)
public int size()
public double startRadius()
public double stepSize()
public double endRadius()
public ij.measure.Calibration spatialCalibration()
public void assignImage(ij.ImagePlus imp)
public void setSpatialCalibration(ij.measure.Calibration cal)
public Properties getProperties()
public void setProperties(Properties properties)
public Overlay getROIs()
public Overlay getROIs(ij.ImagePlus imp)
public boolean add(ProfileEntry entry)
public int zeroCounts()
public boolean isEmpty()
public void setIsIntDensityProfile(boolean isIntDensityProfile)
public boolean isIntDensityProfile()
Copyright © 2015–2021 Fiji. All rights reserved.