The implemented canny edge detector has one difference with the above linked algorithm. The difference is in hysteresis step, which is a bit simplified (getting faster as a result). On the hysteresis step each pixel is compared with two threshold values: HighThreshold and LowThreshold. If pixel's value is greater or equal to HighThreshold, then it is kept as edge pixel. If pixel's value is greater or equal to LowThreshold, then it is kept as edge pixel only if there is at least one neighbouring pixel (8 neighbours are checked) which has value greater or equal to HighThreshold; otherwise it is none edge pixel. In the case if pixel's value is less than LowThreshold, then it is marked as none edge immediately. The filter accepts 8 bpp grayscale images for processing. Kann mir jemand das mal genau erklären? Würde mich über eine Anwort freuen Michael
Michael schrieb: > Kann mir jemand das mal genau erklären? Kannst du genau erklären was du nicht verstehst? Eine Quelle ist auch oft nett...
Laut Google: http://aforge.googlecode.com/svn/trunk/Sources/Imaging/Filters/Edge%20Detectors/CannyEdgeDetector.cs http://sbip.googlecode.com/svn-history/r48/trunk/SBIPFramework/src/Filter/CannyEdgeDetector.cs
Wie ich den Filter im Programm anwende habe ich verstanden das Kantenbild habe ich also, mein Probelm ist, ich weiss nicht genau wie es funktioniert. http://www.aforgenet.com/framework/docs/html/e08cae30-7a37-db9f-cede-05cf6521343f.htm
Michael schrieb: > Wie ich den Filter im Programm anwende habe ich verstanden das > Kantenbild habe ich also, mein Probelm ist, ich weiss nicht genau wie es > funktioniert. > > > http://www.aforgenet.com/framework/docs/html/e08ca... Ich gebe dort über AForge.Imageing.Filters CannyEdgeDetctor cannyedgedetector cannyedgedetector = new CannyEdgeDetector(); cannyedgedetector.GaussianSigam= 2 cannyedgedetector.HightThreshold = 11 cannyedgedetector.LowThreshold = 11 cannyedgedetector.GaussianSize =5 Was der Filter aber genau im Hintergurnd macht entzieht sich meiner Kenntnis. Kann mir da vielleicht so jemand weiterhelfen? Michael
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.