|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgestion_images.Image
gestion_images.ImageExterne
La classe ImageExterne est une implémentation de la classe abstraite Image. Elle fournit les structures permettant de stocker les informations provenant d'une base d'images externe.
| Field Summary |
| Fields inherited from class gestion_images.Image |
hauteur, largeur |
| Constructor Summary | |
ImageExterne(int _largeur,
int _hauteur)
Ce constructeur crée une nouvelle image vierge. |
|
| Method Summary | |
int |
ajoutPixelBruit(int x,
int y)
Cette méthode ajoute un pixel de bruit à l'image. |
Image |
copie()
Cette méthode renvoie une copie de l'image. |
void |
debruitage()
Cette méthode débruite l'image. |
int[][] |
getMatriceImage()
Cette méthode renvoie la matrice de l'image. |
Pixel |
getPixelFocalisation()
Cette méthode renvoie le pixel de focalisation de l'image. |
int |
getSolution()
Cette méthode renvoie la forme à reconnaitre dans l'image. |
int |
setMatriceImage(int x,
int y)
Cette méthode permet de modifier la valeur d'un pixel de l'image. |
int |
setPixelFocalisation(int x,
int y)
Cette méthode permet de modifier la position du pixel de focalisation. |
int |
setSolution(java.lang.String nom)
Cette méthode permet de modifier la solution de l'image. |
| Methods inherited from class gestion_images.Image |
egal, getHauteur, getLargeur |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageExterne(int _largeur,
int _hauteur)
_largeur - la largeur de l'image à créer_hauteur - la hauteur de l'image à créer| Method Detail |
public int[][] getMatriceImage()
getMatriceImage in class Imagepublic Pixel getPixelFocalisation()
getPixelFocalisation in class Imagepublic int getSolution()
getSolution in class Imagepublic Image copie()
copie in class Image
public int ajoutPixelBruit(int x,
int y)
ajoutPixelBruit in class Imagex - l'abscisse du pixel de bruity - l'ordonnée du pixel de bruit
public void debruitage()
debruitage in class Image
public int setMatriceImage(int x,
int y)
x - l'abscisse du pixel à activery - l'ordonnée du pixel à activer
public int setPixelFocalisation(int x,
int y)
x - l'abscisse du pixel de focalisation de l'imagey - l'ordonnée du pixel de focalisation de l'image
public int setSolution(java.lang.String nom)
nom - le nom de la forme solution de l'image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||