Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Compare two images for similarity
Forum Updated to NodeBB v4.3 + New Features

Compare two images for similarity

Scheduled Pinned Locked Moved Unsolved General and Desktop
imageimage processin
6 Posts 4 Posters 2.3k 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.
  • S Offline
    S Offline
    sush
    wrote on 26 Jul 2017, 07:07 last edited by
    #1

    Hello everyone,

    I need to compare and check if the given set of images are similar to the reference image or not. How can it be done in QT?

    Thanks in advance,

    Do not wait to innovate.

    M 1 Reply Last reply 26 Jul 2017, 07:09
    0
    • S sush
      26 Jul 2017, 07:07

      Hello everyone,

      I need to compare and check if the given set of images are similar to the reference image or not. How can it be done in QT?

      Thanks in advance,

      M Offline
      M Offline
      m.sue
      wrote on 26 Jul 2017, 07:09 last edited by
      #2

      Hi @sush

      Please define what you mean by "similar".

      -Michael.

      1 Reply Last reply
      2
      • S Offline
        S Offline
        sush
        wrote on 26 Jul 2017, 07:19 last edited by
        #3

        Hi @m-sue

        Suppose the reference image contains a black coloured circle then to check if the set of images to be compared have the circles of same diameter or different diameter.

        Thanks,

        Do not wait to innovate.

        J M R 3 Replies Last reply 26 Jul 2017, 07:23
        0
        • S sush
          26 Jul 2017, 07:19

          Hi @m-sue

          Suppose the reference image contains a black coloured circle then to check if the set of images to be compared have the circles of same diameter or different diameter.

          Thanks,

          J Offline
          J Offline
          joeQ
          wrote on 26 Jul 2017, 07:23 last edited by
          #4

          @sush Hi,friend,welcome.

          did you know Hough Circle of OpenCV ? May be it can help you.

          Hough Circle Transform

          Just do it!

          1 Reply Last reply
          2
          • S sush
            26 Jul 2017, 07:19

            Hi @m-sue

            Suppose the reference image contains a black coloured circle then to check if the set of images to be compared have the circles of same diameter or different diameter.

            Thanks,

            M Offline
            M Offline
            m.sue
            wrote on 26 Jul 2017, 07:24 last edited by
            #5

            Hi @sush

            If all the images just have black circles on a white background you could just count the black voxels and define a tolerance you are willing to accept.

            -Michael.

            1 Reply Last reply
            0
            • S sush
              26 Jul 2017, 07:19

              Hi @m-sue

              Suppose the reference image contains a black coloured circle then to check if the set of images to be compared have the circles of same diameter or different diameter.

              Thanks,

              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 26 Jul 2017, 07:29 last edited by
              #6

              @sush
              this is actually outside of the scope of Qt.
              You should use a graphics processing library (like OpenCV - i don't know if it offers such functionality) to do such stuff. Or you need to implement an appropriate algorithmn yourself which uses the Qt API to access the pixel data.

              This is by far a complicated topic.

              You may want to read the following links:
              Overview
              Perceptual Image Diff lib
              QGoImageComapre

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              2

              4/6

              26 Jul 2017, 07:23

              • Login

              • Login or register to search.
              4 out of 6
              • First post
                4/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved