stereo.algorithms
Class Cyclopian

java.lang.Object
  extended by stereo.algorithms.Cyclopian

public class Cyclopian
extends java.lang.Object


Constructor Summary
Cyclopian()
           
 
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
 

Constructor Detail

Cyclopian

public Cyclopian()
Method Detail

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 images
samples - number of samples used
c - center point used to transform the two images
map - the map between the two images in x-y coordinates
width - of the map
Returns:
resultant cyclopian image