|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rie.rieps.engine.image.SmallGrayImage
public class SmallGrayImage
This class generate Black and White image from a file.
| Field Summary | |
|---|---|
static int |
CONVERT_MODE_AVERAGE
to convert color image int o gray, this method is the most simplest. |
static int |
CONVERT_MODE_CIE_601
the 601 CIE (International Commission on Illumination), non-linear with gamma correction. |
static int |
CONVERT_MODE_CIE_709
The 709 CIE (International Commission on Illumination), true colors. |
| Constructor Summary | |
|---|---|
SmallGrayImage(int convert_mode)
If convert_mode is unknown value, it uses @see{CONVERT_MODE_AVERAGE}. |
|
| Method Summary | |
|---|---|
java.lang.StringBuffer |
getPSImage()
|
void |
load(java.awt.image.BufferedImage img)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CONVERT_MODE_AVERAGE
public static final int CONVERT_MODE_CIE_709
public static final int CONVERT_MODE_CIE_601
| Constructor Detail |
|---|
public SmallGrayImage(int convert_mode)
convert_mode - the convert color to gray mode.| Method Detail |
|---|
public void load(java.awt.image.BufferedImage img)
throws RiepsException
load in interface ImageRiepsException
public java.lang.StringBuffer getPSImage()
throws RiepsException
getPSImage in interface ImageRiepsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||