vnt

Class Batch_File

Implemented Interfaces:
PlugIn

public class Batch_File
extends VascularNetworkToolkit
implements PlugIn

Processes an image with the VNT. Batch_File will perform the following in the given order:
  1. grayscale
  2. lighting correction
  3. segmentation
  4. skeletonization
  5. endpoint pruning and outline generation
  6. perform graph theoretic analysis on the skeleton

After it is complete, Batch_File leaves all images open for user inspection. An alternative is Batch_Folder, which will perform this process on all the images in the given folder, but it will close all the images generated by the process.

Version:
1.0
Author:
Michael Miller - Truman State University
Since:
1.0
See Also:
Batch_Folder

Method Summary

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.
void
run(String arg)
This is called at the beginning of the PlugIn.

Method Details

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.


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 image.

Parameters:
arg - Required by the interface. The argument, if any (may be blank).