>  Docs Center  >  Libraries  >  JBIU  >  TRUEIFY
Libraries

TRUEIFY

TRUEIFY

Name


    TRUEIFY

Purpose


    Turn an indexed image into an RGB-decomposed image based on the
    current colour table.

Category


    Plot

Calling Sequence


    Result = TRUEIFY(Image)

Inputs


    Image: A 2d byte array image.

Outputs


    An RGB-decomposed version of Image based on the current colour
    table. If Image is MxN, Result is 3xMxN.

Example


    image = TVRD()
    decompimage = TRUEIFY(image)
    WRITE_PNG, 'image.png', decompimage

Modification History


    Written by: Jeremy Bailin
    12 June 2008 Public release in JBIU



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