Imp
[using it]
Interface Manipulation Package v4.0 (2008-06-25) a-projector ©copyright Author


imp.ima.util
Class Momenta

java.lang.Object
  extended by imp.ima.util.Momenta
Direct Known Subclasses:
Momenta.Blob

public class Momenta
extends Object

Calculates the 1st and 2nd order intensity momenta of the image blue channel.


Nested Class Summary
static class Momenta.Blob
          Defines these momenta from a blob from an image, a region with the blue channel above a threshold.
static class Momenta.Filter
          Defines an image filter to calculate momenta.
 
Field Summary
 int[] abscissa
          Pixel's projection on the horizontal axis: array if size width with values between 0 and 256 x height
 Rectangle bounds
          oo momenta: bounds.
 Point g
          1st order momenta center of gravity.
 double[] L
          2nd order largest length L[0] and smallest length L[1] in pixel.
 double[] m
          1st order momenta m = (m[0], m[1]), average location.
 double[] M
          2nd order momenta M = ((M[0], M[2]),(M[2], M[1])), covariance/inertia.
 double n
          0st order momentum, intensity mean.
 int[] ordinates
          Pixel's projection on the vertical axis: array if size height with values between 0 and 256 x width
 int size
          0st order momentum, blob size.
 double theta
          2nd order orientation.
 
Constructor Summary
Momenta()
          Constructs an intensity momenta estimator.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

abscissa

public int[] abscissa
Pixel's projection on the horizontal axis: array if size width with values between 0 and 256 x height


bounds

public Rectangle bounds
oo momenta: bounds.


g

public Point g
1st order momenta center of gravity.


L

public double[] L
2nd order largest length L[0] and smallest length L[1] in pixel.


m

public double[] m
1st order momenta m = (m[0], m[1]), average location.


M

public double[] M
2nd order momenta M = ((M[0], M[2]),(M[2], M[1])), covariance/inertia.


n

public double n
0st order momentum, intensity mean.


ordinates

public int[] ordinates
Pixel's projection on the vertical axis: array if size height with values between 0 and 256 x width


size

public int size
0st order momentum, blob size.


theta

public double theta
2nd order orientation.

Constructor Detail

Momenta

public Momenta()
Constructs an intensity momenta estimator.