jjil.algorithm
Class GrayVertAvg

java.lang.Object
  extended by jjil.algorithm.GrayVertAvg

public class GrayVertAvg
extends java.lang.Object

Forms the one-dimensional vector that is the vertical average of the input gray image. Not a pipeline stage. The class may not be instantiated; all members are static.

Author:
webb

Method Summary
static byte[] push(Gray8Image image)
          Form the one-dimensional byte vector that is the vertical average of the input gray image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

push

public static byte[] push(Gray8Image image)
Form the one-dimensional byte vector that is the vertical average of the input gray image.

Parameters:
image - the input image.
Returns:
a byte vector of length equal to the image width. element i of this vector is the average of column i in the image.