JAI ImageIO plugins for ImageJ - API

net.sf.ij.jaiio
Class JaiioUtil

java.lang.Object
  extended bynet.sf.ij.jaiio.JaiioUtil

public class JaiioUtil
extends java.lang.Object


Method Summary
static void centerOnScreen(java.awt.Window window, boolean packFrame)
          Center window on screen.
static boolean isBinary(ij.process.ImageProcessor ip)
          Return true if this image color map has only two entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isBinary

public static boolean isBinary(ij.process.ImageProcessor ip)
Return true if this image color map has only two entries.


centerOnScreen

public static void centerOnScreen(java.awt.Window window,
                                  boolean packFrame)
Center window on screen.

Parameters:
window -
packFrame - if true call window's pack() method before centering.

SourceForge.net Logo