Package noduledistances.imagej
Class Skeletonize
java.lang.Object
noduledistances.imagej.Skeletonize
Class using Ling Dong's skeletonization algorithm. Used for finding a graph representation
of the root system.
- Author:
- Brandin Farris
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ij.ImagePlusscaleImage(ij.ImagePlus originalImage, double scaleFactor) Scales the image according to the scale factor.skeletonize(ij.ImagePlus imp) Uses Ling Dong's skeletonization algorithm to find the skeleton of the root system.
-
Constructor Details
-
Skeletonize
public Skeletonize()
-
-
Method Details
-
skeletonize
Uses Ling Dong's skeletonization algorithm to find the skeleton of the root system.- Parameters:
imp- : binary image with the root system segmented.- Returns:
- the skeleton of the root system.
-
scaleImage
public static ij.ImagePlus scaleImage(ij.ImagePlus originalImage, double scaleFactor) Scales the image according to the scale factor.- Parameters:
originalImage- : image to be scaled.scaleFactor- : factor to scale the image by.- Returns:
- a scaled version of the originla image.
-