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. Matrix transformation parameters
Forum Updated to NodeBB v4.3 + New Features

Matrix transformation parameters

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 338 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.
  • B Offline
    B Offline
    BAMN
    wrote on 17 May 2019, 08:40 last edited by
    #1

    Hi!

    This is a question about how to generate the affine correction parameters needed to map one coordinate system to another.

    I have two coordinate systems that I want to map to each other.
    One of them is "true", and the other is similar but not exactly same.
    I have one set of measured x,y points p1, p2, p3 in the "true" space, and one set p1', p2',p3' in the "approximate" space.

    I am actually measuring some marker positions on an object in two different optical microscopes with x,y position readout, and I want to "merge" the two position readouts to be the same. I take the first one as a reference, and then take the measurement from the second microscope through a transformation to get the same position readout.

    Is there any function in e.g. QMatrix that can help me generate the transformation matrix parameters needed to map any point p to p'?

    K 1 Reply Last reply 17 May 2019, 22:06
    0
    • B BAMN
      17 May 2019, 08:40

      Hi!

      This is a question about how to generate the affine correction parameters needed to map one coordinate system to another.

      I have two coordinate systems that I want to map to each other.
      One of them is "true", and the other is similar but not exactly same.
      I have one set of measured x,y points p1, p2, p3 in the "true" space, and one set p1', p2',p3' in the "approximate" space.

      I am actually measuring some marker positions on an object in two different optical microscopes with x,y position readout, and I want to "merge" the two position readouts to be the same. I take the first one as a reference, and then take the measurement from the second microscope through a transformation to get the same position readout.

      Is there any function in e.g. QMatrix that can help me generate the transformation matrix parameters needed to map any point p to p'?

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 17 May 2019, 22:06 last edited by
      #2

      @BAMN said in Matrix transformation parameters:

      Is there any function in e.g. QMatrix that can help me generate the transformation matrix parameters needed to map any point p to p'?

      No, there isn't. You should do that yourself and with a proper mathematical package. It boils down to solving 2 (or 3, depending on the dimension) linear systems to determine the rows of the transformation matrix based on the initial vectors and output vectors.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BAMN
        wrote on 19 May 2019, 07:45 last edited by
        #3

        Thanks for the clear reply.
        It spares me the fear of having missed a simple solution in the qt5 framework.
        Now I know in what direction to go!

        1 Reply Last reply
        0

        1/3

        17 May 2019, 08:40

        • Login

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