MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions       mlibImageMedianFilterMxN(3MLIB)



NAME
     mlibImageMedianFilterMxN - MxN median filter

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

     mlibstatus mlibImageMedianFilterMxN(mlibimage *dst,
          const mlibimage *src, mlibs32 m, mlibs32 n, mlibmedianmask mmask,
          mlibs32 cmask, mlibedge edge);


DESCRIPTION
     The mlibImageMedianFilterMxN() function performs MxN median
     filtering  on  an image. Each pixel of the destination image
     is the pixel with rank middle in the filter window.

PARAMETERS
     The function takes the following arguments:

     dst      Pointer to destination image.


     src      Pointer to source image.


     m        Width of the filter window. m must  be  odd  number
              greater than 1.


     n        Height of the filter window. n must be  odd  number
              greater than 1.


     mmask    Shape of the mask to be used for median  filtering.
              It can be one of the following:

                MLIBMEDIANMASKRECT
                MLIBMEDIANMASKPLUS
                MLIBMEDIANMASKX
                MLIBMEDIANMASKRECTSEPARABLE



     cmask    Channel mask to indicate the channels  to  be  fil-
              tered.  Each  bit  of which represents a channel in
              the image. The channels corresponded to 1 bits  are
              those to be processed.


     edge     Type of edge condition. It can be one of  the  fol-
              lowing:



SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions       mlibImageMedianFilterMxN(3MLIB)



                MLIBEDGEDSTNOWRITE
                MLIBEDGEDSTFILZERO
                MLIBEDGEDSTCOPYSRC
                MLIBEDGESRCEXTEND



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

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



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


SEE ALSO
     mlibImageMaxFilter3x3(3MLIB),
     mlibImageMaxFilter3x3Fp(3MLIB),
     mlibImageMaxFilter5x5(3MLIB),
     mlibImageMaxFilter5x5Fp(3MLIB),
     mlibImageMaxFilter7x7(3MLIB),
     mlibImageMaxFilter7x7Fp(3MLIB),
     mlibImageMedianFilter3x3(3MLIB),
     mlibImageMedianFilter3x3Fp(3MLIB),
     mlibImageMedianFilter3x3US(3MLIB),
     mlibImageMedianFilter5x5(3MLIB),
     mlibImageMedianFilter5x5Fp(3MLIB),
     mlibImageMedianFilter5x5US(3MLIB),
     mlibImageMedianFilter7x7(3MLIB),
     mlibImageMedianFilter7x7Fp(3MLIB),
     mlibImageMedianFilter7x7US(3MLIB),
     mlibImageMedianFilterMxNFp(3MLIB),
     mlibImageMedianFilterMxNUS(3MLIB),
     mlibImageMinFilter3x3(3MLIB),
     mlibImageMinFilter3x3Fp(3MLIB),
     mlibImageMinFilter5x5(3MLIB),
     mlibImageMinFilter5x5Fp(3MLIB),
     mlibImageMinFilter7x7(3MLIB),
     mlibImageMinFilter7x7Fp(3MLIB),
     mlibImageRankFilter3x3(3MLIB),
     mlibImageRankFilter3x3Fp(3MLIB),



SunOS 5.11           Last change: 2 Mar 2007                    2






mediaLib Library Functions       mlibImageMedianFilterMxN(3MLIB)



     mlibImageRankFilter3x3US(3MLIB),
     mlibImageRankFilter5x5(3MLIB),
     mlibImageRankFilter5x5Fp(3MLIB),
     mlibImageRankFilter5x5US(3MLIB),
     mlibImageRankFilter7x7(3MLIB),
     mlibImageRankFilter7x7Fp(3MLIB),
     mlibImageRankFilter7x7US(3MLIB),
     mlibImageRankFilterMxN(3MLIB),
     mlibImageRankFilterMxNFp(3MLIB),
     mlibImageRankFilterMxNUS(3MLIB), attributes(5)













































SunOS 5.11           Last change: 2 Mar 2007                    3



OpenSolaris man pages main menu

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