tempusSystem Class FpaProcessing2
FpaProcessing2 is part of the WaveTrain system class library

As of release v2007A FpaProcessing2 is redundant to FpaProcessing. It is provided for bakwavrds compatibility, because some modelers have used FpaProcessing2 instead of the original FpaProcessing because of a slight implementation difference. Modelers should substitute each use of FpaProcessing2 with FpaProcessing when it is convenient.

FpaProcessing is used process the output of a focal plane sensor, such as a Camera or a TargetBoard, at runtime; after applying a specified threshold, it computes the centroid, max intensity, on-axis intensity, x, y, and azimuthally averaged slices, power-in-bucket as a function of bucket radius, and, optionally, an n-frame average image every n frames. Of course all of these things could be computed in postprocessing if we stored the individual images, but with FpaProcessing it often becomes unnecessary to store the individual images, greatly reducing the total storage requirements. When running large jobs on a remote device, minimizing the storage used can be crucial.

Tempus Block Diagram Editor Snapshot
Parameters
nx  int   x dimension of image grid to be used in computation, which need not match grid of input image   
ny  int   y dimension of image grid to be used in computation, which need not match grid of input image   
dx  float   x spacing of image grid to be used in computation (m), which need not match grid of input image   
dy  float   y spacing of image grid to be used in computation (m), which need not match grid of input image   
relativeThreshold  float   Relative threshold, expressed as a fraction of the maximum value in the image.   
typeOfThreshold  int   Type of threshold: 1 = subtract, then set negative values to zero. 2 = set values below the threshold to zero.   
n_per_average  int   Number of frames (consecutive images) to use in computing average image (0 means don't compute average image)   0
Inputs
image  Grid<float>   Input image   
Outputs
xc  float   x centroid (m)   
yc  float   y centroid (m)   
onAxisIntensity  float   On axis intensity (value of image at origin)   
maxIntensity  float   Maximum intensity (maximum value of image)   
xavg  Vector<float>   Average slice through image in the x direction (averaged over y)   
yavg  Vector<float>   Average slice through image in the y direction (averaged over x)   
ravg  Vector<float>   Average radial slice through image (averaged over slice angle)   
pib  Vector<float>   Integrated power in the bucket, as a function of bucket radius   
averageImage  Grid<float>   The average of the first n images, the second n images, and so forth, where n = n_per_average (a parameter)   
Subsystems


Last Saved: Thu Feb 21 12:45:47 MST 2008 by TVE version 2007B