[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[yav-bugs] medianFiltering ne fonctionne pas



Voici un extrait du code :

Inrimage * inrIma=NULL;
Inrimage * inrOut=NULL;
StructuringElement *se;
inrIma = new Inrimage ("monimage.inr");
se= new StructuringElement (yav::EIGHT_CONNECTIVITY );
medianFiltering(  inrIma, inrOut, se );

Ca provoque un segmentation fault dans le medianFiltering. Je n'ai pas
de version debug, alors je n'en sais pas plus !

J'ai aussi testé tous les autres type de structuringElement et d'images
(2D et 3D) et l'autre constructeur :
StructuringElement( const int x, const int y, const int z = 1 )

Ce filtre a-t-il été testé par quelqu'un ? La doc est-elle ŕ jour  (dans
StructuringElement.h) ?
Merci !

Aymeric

--
Aymeric Perchant                 9, rue d'Enghien - 75010 Paris - France
Mauna Kea Technologies   Tel: +33 1 48 24 11 43 - Fax: +33 1 48 24 12 18