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 / C++ / MFC
  4. How do I segment an image in different colors?

How do I segment an image in different colors?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 4 Posters 1 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.
  • L Offline
    L Offline
    lilliana
    wrote on last edited by
    #1

    :-\ anyone of you have examples of graphs opencv segmentation, thanks

    T S I 3 Replies Last reply
    0
    • L lilliana

      :-\ anyone of you have examples of graphs opencv segmentation, thanks

      T Offline
      T Offline
      Tim Craig
      wrote on last edited by
      #2

      Separate the different color channels or segment the image into different color blobs?

      You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

      1 Reply Last reply
      0
      • L lilliana

        :-\ anyone of you have examples of graphs opencv segmentation, thanks

        S Offline
        S Offline
        Saurabh Garg
        wrote on last edited by
        #3

        What exactly is the problem? You don't know how to do color segmentation or you don't know to use OpenCV to do color segmentation? Here[^] is a simple algorithm for color segmentation using HSV color space. For the problem with OpenCV you will have to be more specific. -Saurabh

        1 Reply Last reply
        0
        • L lilliana

          :-\ anyone of you have examples of graphs opencv segmentation, thanks

          I Offline
          I Offline
          Intersect
          wrote on last edited by
          #4

          Are you suppose to collect all the colors uses by an image & put them into different segment accordingly? If so, then open image into binary format & create four matrix of R,G,B & O (offset values) considering each of them as a segment. Put each RGB values into corresponding martix. Thats all I guess. If your requirment is somthing else, then im :doh:

          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