Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/plugin/CanvasResizer.html
Дата изменения: Thu Dec 2 23:03:10 2010
Дата индексирования: Mon Oct 1 22:35:34 2012
Кодировка:

Поисковые слова: star
CanvasResizer (ImageJ API)

ij.plugin
Class CanvasResizer

java.lang.Object
  extended by ij.plugin.CanvasResizer
All Implemented Interfaces:
PlugIn

public class CanvasResizer
extends java.lang.Object
implements PlugIn

This plugin implements the Image/Adjust/Canvas Size command. It changes the canvas size of an image or stack without resizing the image. The border is filled with the current background color.

Author:
Jeffrey Kuhn (jkuhn at ccwf.cc.utexas.edu)

Constructor Summary
CanvasResizer()
           
 
Method Summary
 ImageProcessor expandImage(ImageProcessor ipOld, int wNew, int hNew, int xOff, int yOff)
           
 ImageStack expandStack(ImageStack stackOld, int wNew, int hNew, int xOff, int yOff)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanvasResizer

public CanvasResizer()
Method Detail

run

public void run(java.lang.String arg)
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.

Specified by:
run in interface PlugIn

expandStack

public ImageStack expandStack(ImageStack stackOld,
                              int wNew,
                              int hNew,
                              int xOff,
                              int yOff)

expandImage

public ImageProcessor expandImage(ImageProcessor ipOld,
                                  int wNew,
                                  int hNew,
                                  int xOff,
                                  int yOff)