public class PathStraightener extends Object
| Constructor and Description |
|---|
PathStraightener(Path path,
ij.ImagePlus imp)
Instantiates a new PathStraightener
|
PathStraightener(Path path,
SNT snt)
Instantiates a new PathStraightener
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
setWidth(int width) |
ij.ImagePlus |
straighten() |
ij.process.ImageProcessor |
straighten(int channel) |
public PathStraightener(Path path, ij.ImagePlus imp) throws IllegalArgumentException
path - the Path to be 'straightened'imp - the image from which pixel intensities will be retrieved. Note
that no effort is made to ensure that the image is suitableIllegalArgumentExceptionpublic PathStraightener(Path path, SNT snt) throws IllegalArgumentException
path - the Path to be 'straightened'snt - the SNT instance providing the image to from which pixel
intensities will be retrieved.IllegalArgumentExceptionpublic ij.ImagePlus straighten()
public ij.process.ImageProcessor straighten(int channel)
throws IllegalArgumentException
channel - the channel to bes straightenedIllegalArgumentExceptionpublic void setWidth(int width)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.