MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions          mlibImageClearEdgeFp(3MLIB)



NAME
     mlibImageClearEdgeFp  -  sets  edges  of  an  image  to  a
     specific color

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

     mlibstatus mlibImageClearEdgeFp(mlibimage *img, mlibs32 dx,
          mlibs32 dy, const mlibd64 *color);


DESCRIPTION
     The mlibImageClearEdgeFp() function sets edges of an image
     to  a  specific color. This function can be used in conjunc-
     tion with the convolve and other spatial functions  to  fill
     in  the  pixel  values along the edges. The data type of the
     image can be MLIBFLOAT or MLIBDOUBLE.

PARAMETERS
     The function takes the following arguments:

     img      Pointer to an image.


     dx       Number of columns on the left and  right  edges  of
              the image to be cleared.


     dy       Number of rows at the top and bottom edges  of  the
              image to be cleared.


     color    Array of color values by channel. color[i] contains
              the value for channel i.


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          mlibImageClearEdgeFp(3MLIB)



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


SEE ALSO
     mlibImageClear(3MLIB),          mlibImageClearEdge(3MLIB),
     mlibImageClearEdgeFp(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 ™