MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions    mlibImageSConvKernelConvert(3MLIB)



NAME
     mlibImageSConvKernelConvert - kernel conversion for  separ-
     able convolution

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

     mlibstatus mlibImageSConvKernelConvert(mlibs32 *ihkernel,
          mlibs32 *ivkernel, mlibs32 *iscale, const mlibd64 *fhkernel,
          const mlibd64 *fvkernel, mlibs32 m, mlibs32 n, mlibtype type);


DESCRIPTION
     The  mlibImageSConvKernelConvert()  function   converts   a
     floating-point  separable  convolution  kernel to an integer
     kernel with its scaling factor, which is suitable to be used
     in separable convolution functions.

PARAMETERS
     The function takes the following arguments:

     ihkernel    Pointer to integer horizontal kernel.


     ivkernel    Pointer to integer vertical kernel.


     iscale      Scaling factor of the integer  convolution  ker-
                 nel.


     fhkernel    Pointer to floating-point horizontal kernel.


     fvkernel    Pointer to floating-point vertical kernel.


     m           Width of the convolution kernel. m  must  be  an
                 odd number larger than 1.


     n           Height of the convolution kernel. n must  be  an
                 odd number larger than 1.


     type        The image type.


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



SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions    mlibImageSConvKernelConvert(3MLIB)



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



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


SEE ALSO
     mlibImageSConv3x3(3MLIB),     mlibImageSConv3x3Fp(3MLIB),
     mlibImageSConv5x5(3MLIB),     mlibImageSConv5x5Fp(3MLIB),
     mlibImageSConv7x7(3MLIB),     mlibImageSConv7x7Fp(3MLIB),
     mlibImageConvKernelConvert(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 ™