MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions             mlibImageHistogram(3MLIB)



NAME
     mlibImageHistogram - histogram

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     mlibstatus mlibImageHistogram(mlibs32 **histo, const mlibimage *img);


DESCRIPTION
     The mlibImageHistogram() function creates a histogram.  The
     data  type  of  the  image  can  be  MLIBYTE,  MLIBSHORT,
     MLIBUSHORT, or MLIBINT.

PARAMETERS
     The function takes the following arguments:

     histo    Pointer to histogram. The format of  the  histogram
              is   histo[channel][index].   The   MLIBYTE  type
              entries are indexed from 0 to 255.  The  MLIBSHORT
              type  entries  are  indexed from -32768 to -1, then
              from 0 to 32767. The MLIBUSHORT type  entries  are
              indexed  from 0 to 65535. The MLIBINT type entries
              are indexed from -2147483648 to -1, then from 0  to
              2147483647.


     img      Pointer to source image.


RETURN VALUES
     The function returns MLIBSUCES if  successful.  Otherwise
     it returns MLIBFAILURE.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

















SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions             mlibImageHistogram(3MLIB)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     mlibImageHistogram2(3MLIB), attributes(5)












































SunOS 5.11           Last change: 2 Mar 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™