>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  OPFIT2D
Libraries

OPFIT2D

OPFIT2D

Name


      OPFIT2D

Purpose


      Calculate orthonormal polynomial fit for 2-d data.

Category


Calling Sequence


      zfit = opfit2d( z, xdeg, ydeg, [x, y, c, px, py])

Inputs


      z = Image to fit. in
      xdeg = Degree of polynomial to use in X direction. in
      ydeg = Degree of polynomial to use in Y direction. in
        X and Y degrees must be greater than 1.
      x = optional vector of independant variable values. in
      y = optional vector of independant variable values. in

Keyword Parameters


Outputs


      c = opt. matrix of orthonormal polynomial coef. out
      px = optional vector of orthonormal polynomial values. out
      py = optional vector of orthonormal polynomial values. out
      zfit = 2-d fit to original image. out

Common Blocks


Notes


      Notes: Method is based on Forsythe, J. Soc. Indust.
        Appl. Math. 5, 74-88,1957.

Modification History


      19-MAR-85 -- Initial entry by RBH@APL
      R. Sterner, 29 Mar, 1990 --- converted to SUN.
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
  Copyright (C) 1990, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us