|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vwp.awt.image.StereoImage
public class StereoImage
This class can be used to create stereoscopic images (mainly anaglyphs) out of two images. These images should represent the same picture but with different angles of view according to the two human eyes. The calculation of the resulting image is started directly after the image for the right eye was set. The StereoImage itself is resized automatically so that its width and height is equal to the dimension of the both incoming images
| Field Summary | |
|---|---|
static int |
MODE_STEREO_NONE
This value can be used to specify that no stereo calculation has to be performed. |
static int |
MODE_STEREO_REDGREEN
This constant causes a calculation of standard anaglyphs which use red/green separation with resulting black and white images |
static int |
MODE_STEREO_REDGREEN_COLOR
This constant causes a red/green anaglyph calculation too but here it is tried to get a result which is coloured instead of black and white only. |
| Constructor Summary | |
|---|---|
StereoImage(int StereoMode)
Constructs a new StereoImage object which is able to create a stereoscopic representation |
|
| Method Summary | |
|---|---|
BufferedImage |
getLastStereoImage()
Returns the last stereo image which was created. |
void |
setLeftImage(BufferedImage left)
First the image for the left eye has to be set |
BufferedImage |
setRightImage(BufferedImage right)
After calling setLeftImage() the image for the right eye has to be set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MODE_STEREO_NONE
public static final int MODE_STEREO_REDGREEN
public static final int MODE_STEREO_REDGREEN_COLOR
| Constructor Detail |
|---|
public StereoImage(int StereoMode)
StereoMode - the stereo image calculation mode| Method Detail |
|---|
public void setLeftImage(BufferedImage left)
left - the left eyes imagepublic BufferedImage setRightImage(BufferedImage right)
right - the right eyes image
public BufferedImage getLastStereoImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||