Skip to content

Instantly share code, notes, and snippets.

View rendicahya's full-sized avatar
🎯
Focusing

Randy Cahya Wihandika rendicahya

🎯
Focusing
  • Kumamoto, JP
  • 14:32 (UTC +09:00)
View GitHub Profile
@rendicahya
rendicahya / gist:3872597
Created October 11, 2012 14:13
ImageJ Problem
File file = new File(path);
if (file.exists()) {
ImagePlus image = IJ.openImage(file.getAbsolutePath());
ImagePlus[] split = ChannelSplitter.split(image);
if (split != null) {
System.out.println("SPLIT OK");
} else {
System.err.println("SPLIT NULL");