public class SegmentationModel extends Object
Modifier and Type | Field and Description |
---|---|
ImageEnergyType |
energyType |
Constructor and Description |
---|
SegmentationModel() |
Modifier and Type | Method and Description |
---|---|
void |
addFrameListener(FrameListener listener) |
void |
addMeshListener(FrameListener listener) |
void |
addMeshToTrack(int f,
DeformableMesh3D mesh,
Track track) |
void |
addMeshTrack(Track track) |
void |
calculateActinIntensity() |
void |
calculateInterfaceLineScan(int index,
List<Track> tracks) |
void |
calculateInterfaceLineScan(Track track) |
void |
calculateInterfaceLineScans() |
void |
calculateLineScans() |
void |
calculateVolume() |
void |
createBinaryImage() |
void |
createEnergyImage() |
void |
createMosaicImage() |
DeformableMesh3D |
createSubMesh(DeformableMesh3D mesh,
Set<Triangle3D> triangles) |
void |
deformMesh(DeformableMesh3D mesh)
Deforms the provided mesh using the prepared energies and values.
|
void |
deformMesh(int count) |
void |
deformMeshes(List<DeformableMesh3D> meshes,
int steps)
A generic method for deforming all of the meshes provided.
|
void |
exportAsPly(File f) |
void |
exportAsStl(File f) |
void |
exportAsWireframeStl(File f) |
void |
externalEnergies() |
ExternalEnergy |
generateImageEnergy(DeformableMesh3D mesh) |
List<Track> |
getAllTracks() |
double |
getAlpha() |
double |
getBeta() |
Box3D |
getBounds() |
double |
getCortexThickness() |
int |
getCurrentFrame() |
long |
getDeformationCount() |
int |
getDivisions() |
List<ExternalEnergy> |
getExternalEnergies()
returns a list of all the external energies, except 'ring energy' affecting the currently selected mesh.
|
List<ExternalEnergy> |
getExternalEnergies(DeformableMesh3D selectedMesh) |
double |
getGamma() |
double |
getImageWeight() |
File |
getLastSavedFile() |
int |
getNChannels() |
double |
getNormalizeWeight() |
int[] |
getOriginalStackDimensions() |
double |
getPressure() |
RingController |
getRingController() |
DeformableMesh3D |
getSelectedMesh(int frame) |
Track |
getSelectedTrack() |
String |
getShortImageName() |
double |
getStericNeighborWeight() |
double[] |
getSurfaceOffsets() |
double |
getZToYScale() |
boolean |
hasNextFrame() |
boolean |
hasSelectedMesh() |
boolean |
isHardBoundaries() |
void |
load3DFurrows(File f) |
void |
measureAllVolumes() |
void |
measureSelectedMesh() |
void |
nextFrame() |
void |
notifyMeshListeners() |
void |
previousFrame() |
void |
removeFrameListener(FrameListener listener) |
void |
removeMeshFromTrack(int frame,
DeformableMesh3D mesh,
Track track) |
void |
removeMeshListener(FrameListener listener) |
void |
removeMeshTrack(Track track) |
void |
saveFurrows(File f) |
void |
saveMeshes(File f) |
void |
selectMeshTrack(Track track) |
void |
selectNextTrack() |
void |
selectPreviousTrack() |
void |
selectTrackWithMesh(DeformableMesh3D mesh) |
void |
setAlpha(double alpha) |
void |
setBeta(double beta) |
void |
setCortexThickness(double d) |
void |
setDivisions(int i) |
void |
setFrame(int i) |
void |
setGamma(double gamma) |
void |
setHardBoundaries(boolean hardBoundaries) |
void |
setImageEnergyType(ImageEnergyType i)
The energy type will be used to decide which image energy is add during deformations.
|
void |
setLastSavedFile(File lastSavedFile) |
void |
setMeshes(List<Track> meshes) |
void |
setNormalizerWeight(double d) |
void |
setOriginalPlus(ij.ImagePlus plus)
Sets the backing image plus, defaulting the channel to 0 and the frame to the current frame.
|
void |
setOriginalPlus(ij.ImagePlus plus,
int channel)
Sets the current backing image to the provided image at the selected channel and the
current frame.
|
void |
setOriginalPlus(ij.ImagePlus plus,
int frame,
int channel) |
void |
setPressure(double p) |
void |
setRingController(RingController ringController) |
void |
setStericNeighborWeight(double d) |
void |
setWeight(double d) |
void |
showCurvature() |
void |
showFurrowValues()
Creates a text window with the current furrow values scaled to the image units.
|
void |
showStress() |
Track |
startEmptyTrack()
Starts a track that is not used but has a name unique to the existing tracks.
|
Track |
startMeshTrack(int frame,
DeformableMesh3D freshMesh) |
void |
stopRunning() |
public ImageEnergyType energyType
public long getDeformationCount()
public void deformMesh(int count)
public void deformMeshes(List<DeformableMesh3D> meshes, int steps)
meshes
- public void deformMesh(DeformableMesh3D mesh)
mesh
- public void stopRunning()
public void setGamma(double gamma)
public void setAlpha(double alpha)
public void setBeta(double beta)
public double getBeta()
public double getGamma()
public double getAlpha()
public void showStress()
public void setOriginalPlus(ij.ImagePlus plus)
plus
- public void setOriginalPlus(ij.ImagePlus plus, int channel)
plus
- channel
- public void setOriginalPlus(ij.ImagePlus plus, int frame, int channel)
public void nextFrame()
public void setFrame(int i)
public void previousFrame()
public void setNormalizerWeight(double d)
public void setPressure(double p)
public double getPressure()
public void setStericNeighborWeight(double d)
public double getStericNeighborWeight()
public void saveMeshes(File f) throws IOException
IOException
public void exportAsStl(File f) throws IOException
IOException
public void exportAsWireframeStl(File f) throws IOException
IOException
public DeformableMesh3D getSelectedMesh(int frame)
public int getCurrentFrame()
public Track getSelectedTrack()
public void calculateVolume()
public void load3DFurrows(File f)
public void saveFurrows(File f)
public void notifyMeshListeners()
public Track startEmptyTrack()
public Track startMeshTrack(int frame, DeformableMesh3D freshMesh)
public void calculateActinIntensity()
public void setCortexThickness(double d)
public double getCortexThickness()
public void calculateLineScans()
public void showCurvature()
public void setWeight(double d)
public double getImageWeight()
public void setDivisions(int i)
public int getDivisions()
public ExternalEnergy generateImageEnergy(DeformableMesh3D mesh)
public void setImageEnergyType(ImageEnergyType i)
i
- public void setRingController(RingController ringController)
public RingController getRingController()
public void externalEnergies()
public List<ExternalEnergy> getExternalEnergies(DeformableMesh3D selectedMesh)
public List<ExternalEnergy> getExternalEnergies()
public String getShortImageName()
public double getNormalizeWeight()
public void createBinaryImage()
public void createEnergyImage()
public void createMosaicImage()
public boolean hasSelectedMesh()
public void selectTrackWithMesh(DeformableMesh3D mesh)
public void removeMeshFromTrack(int frame, DeformableMesh3D mesh, Track track)
public void addMeshToTrack(int f, DeformableMesh3D mesh, Track track)
public void selectNextTrack()
public void selectPreviousTrack()
public List<Track> getAllTracks()
public void addFrameListener(FrameListener listener)
public void addMeshListener(FrameListener listener)
public void removeMeshListener(FrameListener listener)
public double[] getSurfaceOffsets()
public double getZToYScale()
public int[] getOriginalStackDimensions()
public Box3D getBounds()
public void measureAllVolumes()
public void measureSelectedMesh()
public boolean hasNextFrame()
public void showFurrowValues()
public void exportAsPly(File f) throws IOException
IOException
public File getLastSavedFile()
public void setLastSavedFile(File lastSavedFile)
public boolean isHardBoundaries()
public void setHardBoundaries(boolean hardBoundaries)
public void calculateInterfaceLineScan(Track track)
public void calculateInterfaceLineScans()
public DeformableMesh3D createSubMesh(DeformableMesh3D mesh, Set<Triangle3D> triangles)
public void removeMeshTrack(Track track)
public void addMeshTrack(Track track)
public void removeFrameListener(FrameListener listener)
public void selectMeshTrack(Track track)
public int getNChannels()
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.