Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Salvaggio  >  SRGB2LAB_IMAGE

SRGB2LAB_IMAGE

SRGB2LAB_IMAGE

Name


    SRGB2LAB_IMAGE

Purpose


    This function converts a provided sRGB color image to a CIE L*a*b*
    color space representation image assuming Illuminant D65. A
    non-linearity adjustment for the monitor response is applied to the
    provided color data.

Category


    Color Science.

Calling Sequence


    Result = SRGB2LAB_IMAGE( image )

Inputs


    image
      A 3xMxN array containing the 8-bit/color/pixel color image to be
      transformed.

Keyword Parametrs


    None

Return Value


    Result is 3xMxN array containing the CIE L*a*b* color space representation
    of the provided RGB color image (assuming Illuminant D65).

Side Effects


    None

Required


    SRGB2XYZ
    XYZ2LAB

Modification History


    Written by: Carl Salvaggio
    February 2010 Original code

Disclaimer


    This source code is provided "as is" and without warranties as to performance
    or merchantability. The author and/or distributors of this source code may
    have made statements about this source code. Any such statements do not
    constitute warranties and shall not be relied on by the user in deciding
    whether to use this source code.
    This source code is provided without any express or implied warranties
    whatsoever. Because of the diversity of conditions and hardware under which
    this source code may be used, no warranty of fitness for a particular purpose
    is offered. The user is advised to test the source code thoroughly before
    relying on it. The user must assume the entire risk of using the source code.



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