Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/io/ImageReader.html
Дата изменения: Thu Dec 2 23:03:10 2010 Дата индексирования: Mon Oct 1 21:49:51 2012 Кодировка: Поисковые слова: п п п п п п р п р п р п р п р п р п р п |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.io.ImageReader
public class ImageReader
Reads raw 8-bit, 16-bit or 32-bit (float or RGB) images from a stream or URL.
Field Summary | |
---|---|
double |
max
|
double |
min
|
Constructor Summary | |
---|---|
ImageReader(FileInfo fi)
Constructs a new ImageReader using a FileInfo object to describe the file to be read. |
Method Summary | |
---|---|
byte[] |
lzwUncompress(byte[] input)
Utility method for decoding an LZW-compressed image strip. |
byte[] |
packBitsUncompress(byte[] input,
int expected)
Based on the Bio-Formats PackbitsCodec written by Melissa Linkert. |
java.lang.Object |
readPixels(java.io.InputStream in)
Reads the image from the InputStream and returns the pixel array (byte, short, int or float). |
java.lang.Object |
readPixels(java.io.InputStream in,
long skipCount)
Skips the specified number of bytes, then reads an image and returns the pixel array (byte, short, int or float). |
java.lang.Object |
readPixels(java.lang.String url)
Reads the image from a URL and returns the pixel array (byte, short, int or float). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double min
public double max
Constructor Detail |
---|
public ImageReader(FileInfo fi)
FileInfo
Method Detail |
---|
public java.lang.Object readPixels(java.io.InputStream in)
public java.lang.Object readPixels(java.io.InputStream in, long skipCount)
public java.lang.Object readPixels(java.lang.String url)
public byte[] lzwUncompress(byte[] input)
public byte[] packBitsUncompress(byte[] input, int expected)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |