marking shape on image
-
Hi; i am writing some codes. that codes are found and mark any squares,circles on image.I know that its very complicated. So please help me. I'm waiting for helps. thanks for helps. Ali GOKDEMIR
-
Hi; i am writing some codes. that codes are found and mark any squares,circles on image.I know that its very complicated. So please help me. I'm waiting for helps. thanks for helps. Ali GOKDEMIR
Graphics dc = this.CreateGraphics(); Pen redPen = new Pen(Color.Red, 10); dc.DrawEllipse(redPen,10,10,50,50);
-
Hi; i am writing some codes. that codes are found and mark any squares,circles on image.I know that its very complicated. So please help me. I'm waiting for helps. thanks for helps. Ali GOKDEMIR
hi. i think you are looking for a template matching algorithm. there are several ways for this. but the main problem in all algorithms is the size of object. if you looking for a fixed size object then it can be a little easy but when you looking for circles of any size then you should read expert articles in this context. sorry but i don't think that anyone in this heaven can give you a perfect code of this. just google the "template matching" or "object recognition" to get some clues.
sometimes 0 can be 1
-
Graphics dc = this.CreateGraphics(); Pen redPen = new Pen(Color.Red, 10); dc.DrawEllipse(redPen,10,10,50,50);
... not forgetting to call Dispose on the Graphics and Pen objects of course - better done in using blocks so you can't forget.
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) -
Graphics dc = this.CreateGraphics(); Pen redPen = new Pen(Color.Red, 10); dc.DrawEllipse(redPen,10,10,50,50);
thanks for mail. Your codes are usefull. But i want to found shape (ellipse, square...) on picture. :( how can i write like this?