Package ij.plugin
Class FolderOpener
java.lang.Object
ij.plugin.FolderOpener
- All Implemented Interfaces:
PlugIn
Implements the File/Import/Image Sequence command, which
opens a folder of images as a stack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
excludedFileType
(String name) static String[]
getFilteredList
(String[] list, String filter, String title) static ImagePlus
Opens the images in the specified directory as a stack.void
openAsVirtualStack
(boolean b) openFolder
(String path) Opens the images in the specified directory as a stack.void
This method is called when the plugin is loaded.String[]
sortFileList
(String[] list) Sorts file names containing numerical components.void
sortFileNames
(boolean b) String[]
trimFileList
(String[] rawlist) Removes names that start with "." or end with ".db", ".txt", ".lut", "roi", ".pty", ".hdr", ".py", etc.
-
Constructor Details
-
FolderOpener
public FolderOpener()
-
-
Method Details
-
open
Opens the images in the specified directory as a stack. Displays directory chooser and options dialogs if the argument is null. -
openFolder
Opens the images in the specified directory as a stack. Displays directory chooser and options dialogs if the argument is null. -
run
Description copied from interface:PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. -
getFilteredList
-
trimFileList
Removes names that start with "." or end with ".db", ".txt", ".lut", "roi", ".pty", ".hdr", ".py", etc. -
excludedFileType
-
openAsVirtualStack
public void openAsVirtualStack(boolean b) -
sortFileNames
public void sortFileNames(boolean b) -
sortFileList
Sorts file names containing numerical components.- See Also:
-