|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grelf.image.FITS
public class FITS
For loading and saving images as files in FITS format.
Loading will create an object implementing the interface net.grelf.image.Image.
Notes:
| Constructor Summary | |
|---|---|
FITS()
|
|
| Method Summary | |
|---|---|
java.util.List<Image> |
loadImage(java.io.File file)
Version not using any third party packages, to avoid creating unnecessary intermediate data arrays. |
static java.lang.String |
padTo(int paddedLength,
java.lang.String s)
Appends space characters (code 32) to a String. |
static java.lang.StringBuffer |
padTo(int paddedLength,
java.lang.StringBuffer sb)
Appends space characters (code 32) to a StringBuffer. |
static java.lang.String |
rJustified20(int n)
Makes n into a right-justified String of length 20. |
void |
saveImage(java.lang.String filePath,
Image image)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FITS()
| Method Detail |
|---|
public void saveImage(java.lang.String filePath,
Image image)
public static java.lang.String padTo(int paddedLength,
java.lang.String s)
public static java.lang.StringBuffer padTo(int paddedLength,
java.lang.StringBuffer sb)
public static java.lang.String rJustified20(int n)
public java.util.List<Image> loadImage(java.io.File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||