vnt
Class Batch_Folder
- PlugIn
public class Batch_Folder
extends VascularNetworkToolkit
implements PlugIn
Batch processes an entire folder of images.
Batch_Folder will do the following:
- grayscale
- lighting correction
- segmentation
- skeletonization
- endpoint pruning and outline generation
- perform graph theoretic analysis on the skeleton
After it is complete, Batch_Folder closes all images.
An alternative is Batch_Filde, which will perform this process on only one
specific image, but it will leave all the images generated by the process
open for user inspection.
- Michael Miller - Truman State University
private void | cleanUpAfterProcess() - This is called after a particular image has been processed by the VNT.
|
private void | mainProcess() - This is called when a particular image is open and it needs to be processed.
|
private void | recursiveProcessFolder(String directoryName, boolean goDeeper)
|
void | run(String arg) - This is called at the beginning of the PlugIn.
|
cleanUpAfterProcess
private void cleanUpAfterProcess()
This is called after a particular image has been processed by the VNT.
Pre: An image has been opened and processed by the VNT.
Post: All open files are closed, and [temp files may be deleted].
mainProcess
private void mainProcess()
This is called when a particular image is open and it needs to be processed.
Pre: An image is open and ready to be processed by the VNT.
Post: A batch process is performed on a currently active image.
recursiveProcessFolder
private void recursiveProcessFolder(String directoryName,
boolean goDeeper)
run
public void run(String arg)
This is called at the beginning of the PlugIn.
Pre: ImageJ is open and the plugin was called.
Post: A batch process is performed on a selected folder.
arg
- Required by the interface. The argument, if any (may be blank).