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

PIXSPLIT

PIXSPLIT

Name


      PIXSPLIT

Purpose


      Bilinearly split given pixels between surrounding pixels.

Category


Calling Sequence


      pixsplit, img, ix, iy, val

Inputs


      ix,iy = x and y indices of new pixels. in
          Will be fractional in general.
      val = Values of new pixels. in

Keyword Parameters


Keywords


        /NN means use nearest neighbor method instead.
          NN=0 Bilinear pixel split.
          NN=1 Nearest neighbor (loses energy).
          NN=2 Nearest neighbor summed over values.
          NN=3 Nearest neighbor histogram method.

Outputs


Common Blocks


Notes


      Note: ix,iy,val may all be arrays. Must be same length.
        Useful for adding a curve to an array. Curve
        coordinates may be fractional.

Modification History


      R. Sterner, 2004 Jun 16
      R. Sterner, 2004 Jun 29 --- Fixed loop limit.
      R. Sterner, 2004 Jul 22 --- Added NN=2 option.
      R. Sterner, 2004 Jul 23 --- Added NN=3 option.
  Copyright (C) 2004, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us