Traitement d'image avec MATLAB !!!

stof -  
 shady5 -
bonsoir !
voila je travail sur un projet de reconnaissance de caractères(manuscrits) et pour calculer les moments discrets orthogonaux d'une image je dois la décomposé en blocs et suivre un algorithme précis qui est :
Step 1: Consider each line y of the image f and find the object
level intervals in line y.
Step 2: Compare intervals and blocks that have pixels in line y -1.
Step 3: If an interval does not match with any block, this is the
beginning of a new block.
Step 4: If a block matches with an interval, the end of the block
is in the line y.

mon problème c'est que je suis débutant avec MATLAB je ne sais par ou commencé pour programmé ca !!!

3 réponses

khunlun Messages postés 117 Date d'inscription   Statut Membre Dernière intervention   27
 
Bonjour

Vous trouverez dans Matlab une fonction imread qui permet de lire une image et de renvoyer une matrice.
Il est assez facile ensuite de parcourir les lignes mat(i,:) ou les colonnes mat(:,j)

Bon courage et bonne journée
0
stof
 
mercii pour votre réponse !!
je v essayé de l'implémenté et je vous tiens au courant si j'ai du vouveau !!
0
shady5
 
et il y a la fonction blockproc pour parcourir l'image par block

Cheers
0