#include <vector>#include <iostream>#include <list>#include "operator/CannyOperators.hpp"#include "operator/ConvolveOperator/ConvolveOperator.hpp"#include "BorderExtenderCopy.hpp"#include "PredefinedKernel.hpp"Aller au code source de ce fichier.
Fonctions | |
| static float | convolvePosition (Image &c, int x, int y, int canal, const Kernel &kernel) |
| static void | cannyGradient (Image &c, int x, int y, int canal, float &norme, float &angle) |
| static bool | isLocalMaxima (Image &c, int x, int y, int canal) |
| void | Millie::cannyOperator (Image &out, const Image &c, int lowThreshold, int highThreshold, int rayon, float sigma) |
| Filtre de canny pour la détection des bords. | |
| static void cannyGradient | ( | Image & | c, | |
| int | x, | |||
| int | y, | |||
| int | canal, | |||
| float & | norme, | |||
| float & | angle | |||
| ) | [inline, static] |
Définition à la ligne 97 du fichier CannyOperators.cpp.
Références convolvePosition().
Référencé par Millie::cannyOperator(), et isLocalMaxima().
| static float convolvePosition | ( | Image & | c, | |
| int | x, | |||
| int | y, | |||
| int | canal, | |||
| const Kernel & | kernel | |||
| ) | [inline, static] |
détermine la convolution d'une image à une certaine position
| c | Image à convoluer | |
| x | position horizontale | |
| y | position verticale | |
| canal | le canal de l'image | |
| kernel | le noyau |
Définition à la ligne 62 du fichier CannyOperators.cpp.
Références Millie::TImage< T >::getHeight(), Millie::Kernel::getHeight(), Millie::TImage< T >::getPixel(), Millie::TImage< T >::getWidth(), et Millie::Kernel::getWidth().
Référencé par cannyGradient(), et Millie::cannyOperator().
| static bool isLocalMaxima | ( | Image & | c, | |
| int | x, | |||
| int | y, | |||
| int | canal | |||
| ) | [inline, static] |
détermine si la position correspond à un maximum local
| c | l'image | |
| x | la coordonnée x | |
| y | la coordonnée y | |
| canal | le canal de l'image |
Définition à la ligne 123 du fichier CannyOperators.cpp.
Références cannyGradient(), et max().
Référencé par Millie::cannyOperator().
1.5.1