Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. marking shape on image

marking shape on image

Scheduled Pinned Locked Moved C#
help
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aligokdemir
    wrote on last edited by
    #1

    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

    J E 2 Replies Last reply
    0
    • A aligokdemir

      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

      J Offline
      J Offline
      jaypatel512
      wrote on last edited by
      #2

      Graphics dc = this.CreateGraphics(); Pen redPen = new Pen(Color.Red, 10); dc.DrawEllipse(redPen,10,10,50,50);

      D A 2 Replies Last reply
      0
      • A aligokdemir

        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

        E Offline
        E Offline
        erfi
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • J jaypatel512

          Graphics dc = this.CreateGraphics(); Pen redPen = new Pen(Color.Red, 10); dc.DrawEllipse(redPen,10,10,50,50);

          D Offline
          D Offline
          DaveyM69
          wrote on last edited by
          #4

          ... 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)

          1 Reply Last reply
          0
          • J jaypatel512

            Graphics dc = this.CreateGraphics(); Pen redPen = new Pen(Color.Red, 10); dc.DrawEllipse(redPen,10,10,50,50);

            A Offline
            A Offline
            aligokdemir
            wrote on last edited by
            #5

            thanks for mail. Your codes are usefull. But i want to found shape (ellipse, square...) on picture. :( how can i write like this?

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups