|
JAI ImageIO plugins for ImageJ - API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ij.jaiio.JAIReader
Read image files using JAI image I/O codec (http://developer.java.sun.com/developer/sampsource/jai/) and convert them to Image/J representation.
| Nested Class Summary | |
static class |
JAIReader.ImageInfo
|
| Method Summary | |
static ij.ImagePlus[] |
read(java.io.File file)
Open image in the file using registered codecs. |
static ij.ImagePlus[] |
read(java.io.File file,
int[] pageIndex)
Open image in the file using registered codecs. |
static JAIReader.ImageInfo |
readFirstImageAndInfo(java.io.File file)
Read only the first image in the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static JAIReader.ImageInfo readFirstImageAndInfo(java.io.File file)
throws UnsupportedImageFileFormatException,
UnsupportedImageModelException,
java.io.IOException
file.
file - Image file.
UnsupportedImageFileFormatException - If file is not in a supported image format
java.io.IOException - In case of I/O error.
UnsupportedImageModelException
public static ij.ImagePlus[] read(java.io.File file)
throws java.lang.Exception
file - File to open image from.
java.lang.Exception - when unable to read image from the specified file.
public static ij.ImagePlus[] read(java.io.File file,
int[] pageIndex)
throws java.lang.Exception
file - File to open image from.pageIndex - Description of Parameter
java.lang.Exception - when unable to read image from the specified file.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||