public class Graph_Cut<T extends RealType<T> & NativeType<T>> extends Object implements ij.plugin.PlugIn
Constructor and Description |
---|
Graph_Cut() |
Modifier and Type | Method and Description |
---|---|
void |
batchProcessImages()
Apply graph cut to several images
|
ij.ImagePlus |
createSequenceImage(ij.ImagePlus imp,
ij.ImagePlus edge,
float dataStart,
float dataStop,
float dataStep,
float pottsWeight,
float edgeWeight) |
ij.ImagePlus |
processSingleChannelImage(ij.ImagePlus imp,
ij.ImagePlus edge,
float dataWeight,
float pottsWeight,
float edgeWeight)
Processes a single channel image.
|
void |
processSingleChannelImage(ij.ImagePlus imp,
ij.ImagePlus edge,
float dataWeight,
float pottsWeight,
float edgeWeight,
ij.ImagePlus seg)
Processes a single channel image.
|
void |
run(String arg) |
public void run(String arg)
run
in interface ij.plugin.PlugIn
public ij.ImagePlus processSingleChannelImage(ij.ImagePlus imp, ij.ImagePlus edge, float dataWeight, float pottsWeight, float edgeWeight)
imp
- The image to processedge
- An edge image that increases the likelihood for cuts
between certain pixels (can be null).pottsWeight
- Isotropic edge weights.edgeWeight
- The influence of the edge image.public void processSingleChannelImage(ij.ImagePlus imp, ij.ImagePlus edge, float dataWeight, float pottsWeight, float edgeWeight, ij.ImagePlus seg)
imp
- The image to processedge
- An edge image that increases the likelihood for cuts
between certain pixels (can be null).pottsWeight
- Isotropic edge weights.edgeWeight
- The influence of the edge image.seg
- A grayscale image to store the binary result.public ij.ImagePlus createSequenceImage(ij.ImagePlus imp, ij.ImagePlus edge, float dataStart, float dataStop, float dataStep, float pottsWeight, float edgeWeight)
public void batchProcessImages()
Copyright © 2015–2021 Fiji. All rights reserved.