Cirrus Logic CS485 Spécifications Page 152

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 319
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 151
ImageFiltering
6-18
6
MaxFilter
Applyamaxfiltertothe
image.
voidiplMaxFilter(IplImage*
srcImage
, IplImage*
dstImage
,
int
nCols
, int
nRows
, int
anchorX
, int
anchorY
);
srcImage
Thesourceimage.
dstImage
Theresultantimage.
nCols
Numberofcolumnsintheneighborhoodtouse.
nRows
Numberofrowsintheneighborhoodtouse.
anchorX, anchorY
The [x, y] coordinates of the anchor cell in the
neighborhood.Inthiscoordinatesystem,thetop
leftcornerwouldbe[0,0]andthebottomright
cornerwouldbe[
nCols
-1,
nRows
-1]. For a 3 by
3neighborhood,thecoordinatesofthegeometric
centerwouldbe[1,1].Thisspecificationallows
theneighborhoodtobeskewedwithrespecttoits
geometriccenter.
Discussion
ThefunctioniplMaxFilter()setseachpixelintheoutputimageasthe
maximumvalueofalltheinputimagepixelvaluesintheneighborhoodof
size
nRows
by
nCols
with the anchor cell at that pixel. This has the effect
ofincreasingthecontrastintheimage.
Vue de la page 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 318 319

Commentaires sur ces manuels

Pas de commentaire