-
-
Save miura/3872805 to your computer and use it in GitHub Desktop.
ImageJ Problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File file = new File(path); | |
if (file.exists()) { | |
ImagePlus image = IJ.openImage(file.getAbsolutePath()); | |
System.out.println(image.getTitle()); | |
ImagePlus[] split = ChannelSplitter.split(image); | |
if (split != null) { | |
System.out.println("SPLIT OK"); | |
} else { | |
System.err.println("SPLIT NULL"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment