stereo.algorithms
Class Cyclopian
java.lang.Object
stereo.algorithms.Cyclopian
public class Cyclopian
- extends java.lang.Object
|
Method Summary |
static float[] |
compute(float[] left_image,
float[] right_image,
float[] map,
int width)
Computes the cyclopian image as a combination of two images. |
static float[] |
compute(float[] left_image,
float[] right_image,
int samples,
float radius,
java.awt.geom.Point2D.Float c,
float[] map,
int mapwidth)
Computes the cyclopian image between two images that are in polar coordinates. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cyclopian
public Cyclopian()
compute
public static float[] compute(float[] left_image,
float[] right_image,
float[] map,
int width)
- Computes the cyclopian image as a combination of two images. The
combination is done in the horizontal direction using a map. This is
intended for use with stereo images where the map is derived from "depth
from stereo".
- Parameters:
left_image - right_image - map - width -
- Returns:
- resultant cyclopian image
compute
public static float[] compute(float[] left_image,
float[] right_image,
int samples,
float radius,
java.awt.geom.Point2D.Float c,
float[] map,
int mapwidth)
- Computes the cyclopian image between two images that are in polar coordinates.
- Parameters:
left_image - right_image - radius - the radius used to transform the two imagessamples - number of samples usedc - center point used to transform the two imagesmap - the map between the two images in x-y coordinateswidth - of the map
- Returns:
- resultant cyclopian image