MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Guide de l'utilisateur Page 115

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 252
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 114
Interpolation Overview
1 Zero pad the input matrix and translate it by 1.7 pixels to the right.
12300
45600
78900
1.7 pixels
Original zero-padded matrix
Translated zero-padded matrix
001230
004560
007890
2 Create the output matrix by replacing each input pixel value with the
translated value nearest to it. The result is the following matrix:
00123
00456
00789
Note You wanted to translate the image by 1.7 pixels, but this method
translated the image by 2 pixels. Nearest n eighbor interpolation is
computationally efficient but not as accurate as bilinear or bicubic
interpolation.
For more information, see in the Image Proces sing Toolbox documentation.
Bilinear Interpo lation
For bilinear int erpolation, th e block uses the weighted average of two
translated pixel values for each output pixel value.
For example, suppose this matrix,
5-3
Vue de la page 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 251 252

Commentaires sur ces manuels

Pas de commentaire