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

COLOR_QUANJ

COLOR_QUANJ

Name


      COLOR_QUANJ

Purpose


      Combines Red, Green, Blue components into a color image.

Category


Calling Sequence


      c = color_quanj(red, grn, blu, r, g, b)

Inputs


      red, grn, blu = Red, green, and blue images. in

Keyword Parameters


Keywords


        COLORS=n Number of colors to have in final image
          (def=number of available colors).
        /DITHER Combined using dithering.
        /DISPLAY Display resulting image.
        /ORDER Display image with first line at top.

Outputs


      r,g,b = Color table for combined color image. out
      c = Resulting color image. out

Common Blocks


Notes


      Notes: This routine uses another color combining method
        then color_quan, it writes the image to a JPEG file and
        then reads it back. This gives better results than
        color_quan in some cases.

Modification History


      R. Sterner, 1995 Nov 24
      R. Sterner, 2010 May 03 --- Converted arrays from () to [].
  Copyright (C) 1995, 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