diff --git a/figs/baboon.pgm b/figs/mandrill.pgm similarity index 100% rename from figs/baboon.pgm rename to figs/mandrill.pgm diff --git a/figs/baboon.png b/figs/mandrill.png similarity index 100% rename from figs/baboon.png rename to figs/mandrill.png diff --git a/figs/baboon_centr.png b/figs/mandrill_centr.png similarity index 100% rename from figs/baboon_centr.png rename to figs/mandrill_centr.png diff --git a/figs/baboon_crop.png b/figs/mandrill_crop.png similarity index 100% rename from figs/baboon_crop.png rename to figs/mandrill_crop.png diff --git a/figs/baboon_hor.png b/figs/mandrill_hor.png similarity index 100% rename from figs/baboon_hor.png rename to figs/mandrill_hor.png diff --git a/figs/baboon_negative.png b/figs/mandrill_negative.png similarity index 100% rename from figs/baboon_negative.png rename to figs/mandrill_negative.png diff --git a/figs/baboon_sym.png b/figs/mandrill_sym.png similarity index 100% rename from figs/baboon_sym.png rename to figs/mandrill_sym.png diff --git a/figs/baboon_vert.png b/figs/mandrill_vert.png similarity index 100% rename from figs/baboon_vert.png rename to figs/mandrill_vert.png diff --git a/traitement_dimages.md b/traitement_dimages.md index f3765d4c5b0f0e68f43b20ad115f585356444d44..6ed04d1672e621898e4e2e2d86632c623d37981d 100644 --- a/traitement_dimages.md +++ b/traitement_dimages.md @@ -111,9 +111,9 @@ et les fonctions permettant de manipuler les fichiers: A l'aide de ces fonctions vous devriez être capables de lire et écrire des fichiers PGM. -Afin de tester vos fonctions vous pouvez utiliser l'image du madrill (voir @fig:baboon) en cliquant sur [ce lien](figs/baboon.pgm) +Afin de tester vos fonctions vous pouvez utiliser l'image du mandrill (voir @fig:mandrill) en cliquant sur [ce lien](figs/mandrill.pgm) -{#fig:baboon width=50%} +{#fig:mandrill width=50%} ### Fonctions à implémenter @@ -127,9 +127,9 @@ Il faut implémenter **au minimum** les fonctions suivantes: ## Le négatif Le négatif d'une image consiste à *inverser* la valeur des pixels de l'image par rapport à la valeur -maximale permise. Ainsi si on représente `max` niveaux de gris, le négatif d'un pixel de niveau de gris, `p`, est donné par `max-1-p`. Un exemple de négatif de l'image du madrill se trouve sur la @fig:baboon_negative +maximale permise. Ainsi si on représente `max` niveaux de gris, le négatif d'un pixel de niveau de gris, `p`, est donné par `max-1-p`. Un exemple de négatif de l'image du mandrill se trouve sur la @fig:mandrill_negative -{#fig:baboon_negative} +{#fig:mandrill_negative} ### Fonctions à implémenter @@ -141,13 +141,13 @@ Il faut implémenter **au minimum** la fonction suivante: Une symétrie verticale ou horizontale consiste à inverser l'ordre des pixels verticalement ou horizontalement respectivement. La symétrie centrale consiste à échanger les lignes et les colonnes d'une image. -Vous pouvez voir un exemple de ces trois symétries aux @fig:baboon_hor, @fig:baboon_vert, @fig:baboon_centr +Vous pouvez voir un exemple de ces trois symétries aux @fig:mandrill_hor, @fig:mandrill_vert, @fig:mandrill_centr -{#fig:baboon_hor width=70%} +{#fig:mandrill_hor width=70%} -{#fig:baboon_vert width=70%} +{#fig:mandrill_vert width=70%} -{#fig:baboon_centr width=70%} +{#fig:mandrill_centr width=70%} ### Fonctions à implémenter @@ -182,9 +182,9 @@ Il faut implémenter **au minimum** la fonction suivante: ## Rogner Le rognage d'une image est une opération assez simple. Elle consiste à extraire une sous partie rectangulaire -des pixels de l'image d'origine. Un exemple peut se trouver sur la @fig:baboon_crop. +des pixels de l'image d'origine. Un exemple peut se trouver sur la @fig:mandrill_crop. -{#fig:baboon_crop width=100%} +{#fig:mandrill_crop width=100%} ### Fonctions à implémenter