Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/plugin/filter/AVI_Writer.html
Дата изменения: Thu Dec 2 23:03:10 2010 Дата индексирования: Mon Oct 1 23:25:18 2012 Кодировка: Поисковые слова: m 13 |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.plugin.filter.AVI_Writer
public class AVI_Writer
This plugin saves stacks in AVI format. Supported formats: Uncompressed 8-bit (gray or indexed color), 24-bit (RGB). JPEG and PNG compression. 16-bit and 32-bit (float) images are converted to 8-bit. The plugin is based on the FileAvi class written by William Gandler. The FileAvi class is part of Matthew J. McAuliffe's MIPAV program, available from http://mipav.cit.nih.gov/. 2008-06-05 Support for jpeg and png-compressed output and composite images by Michael Schmid.
Field Summary | |
---|---|
static int |
JPEG_COMPRESSION
|
static int |
NO_COMPRESSION
|
static int |
PNG_COMPRESSION
|
Fields inherited from interface ij.plugin.filter.PlugInFilter |
---|
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING |
Constructor Summary | |
---|---|
AVI_Writer()
|
Method Summary | |
---|---|
void |
run(ImageProcessor ip)
Asks for the compression type and filename; then saves as AVI file |
int |
setup(java.lang.String arg,
ImagePlus imp)
This method is called once when the filter is loaded. |
void |
writeImage(ImagePlus imp,
java.lang.String path,
int compression,
int jpegQuality)
Writes an ImagePlus (stack) as AVI file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_COMPRESSION
public static final int JPEG_COMPRESSION
public static final int PNG_COMPRESSION
Constructor Detail |
---|
public AVI_Writer()
Method Detail |
---|
public int setup(java.lang.String arg, ImagePlus imp)
PlugInFilter
For Plugin-filters specifying the FINAL_PROCESSING flag, the setup method will be called again, this time with arg = "final" after all other processing is done.
setup
in interface PlugInFilter
public void run(ImageProcessor ip)
run
in interface PlugInFilter
public void writeImage(ImagePlus imp, java.lang.String path, int compression, int jpegQuality) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |