iterative_closest_point_2d | Iterative Closest Point 2D with python and opencv | Image Editing library

 by   KojiKobayashi Python Version: Current License: MIT

kandi X-RAY | iterative_closest_point_2d Summary

kandi X-RAY | iterative_closest_point_2d Summary

iterative_closest_point_2d is a Python library typically used in Media, Image Editing, Numpy applications. iterative_closest_point_2d has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However iterative_closest_point_2d build file is not available. You can download it from GitHub.

#usage Call like this,. . d1, d2 are numpy array of 2d points. The return value ret is the convert matrix with 2 rows and 3 coloums. icp estimates rotation, moving, scaling(each x and y Separately) convertion.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              iterative_closest_point_2d has a low active ecosystem.
              It has 13 star(s) with 11 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 0 have been closed. On average issues are closed in 923 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of iterative_closest_point_2d is current.

            kandi-Quality Quality

              iterative_closest_point_2d has no bugs reported.

            kandi-Security Security

              iterative_closest_point_2d has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              iterative_closest_point_2d is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              iterative_closest_point_2d releases are not available. You will need to build from source code and install.
              iterative_closest_point_2d has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed iterative_closest_point_2d and discovered the below as its top functions. This is intended to give you an instant insight into iterative_closest_point_2d implemented functionality, and help decide if they suit your requirements.
            • Compute the distance between two points .
            • Check if tr is a converge .
            • Removes occurrences from a given distance distribution .
            Get all kandi verified functions for this library.

            iterative_closest_point_2d Key Features

            No Key Features are available at this moment for iterative_closest_point_2d.

            iterative_closest_point_2d Examples and Code Snippets

            No Code Snippets are available at this moment for iterative_closest_point_2d.

            Community Discussions

            Trending Discussions on iterative_closest_point_2d

            QUESTION

            Python get transformation matrix from two sets of points
            Asked 2019-Dec-12 at 10:14

            I have to images, one simulation, one real data, with bright spots.

            Simulation:

            Reality:

            I can detect the spots just fine and get the coordinates. Now I need to compute transformation matrix (scale, rotation, translation, maybe shear) between the two coordinate systems. If needed, I can pick some (5-10) corresponding points by hand to give to the algorithm

            I tried a lot of approaches already, including: 2 implementations of ICP: https://engineering.purdue.edu/kak/distICP/ICP-2.0.html#ICP

            https://github.com/KojiKobayashi/iterative_closest_point_2d

            Implementing affine transformations: https://math.stackexchange.com/questions/222113/given-3-points-of-a-rigid-body-in-space-how-do-i-find-the-corresponding-orienta/222170#222170

            Implementations of affine transformations: Determining a homogeneous affine transformation matrix from six points in 3D using Python

            how to perform coordinates affine transformation using python? part 2

            Most of them simply fail somehow like this: The red points are the spots from the simulation transformed into the reality - coordinate system.

            The best approach so far is this one how to perform coordinates affine transformation using python? part 2 yielding this:

            As you see, the scaling and translating mostly works, but the image still needs to be rotated / mirrored.

            Any ideas on how to get a working algorithm? If neccessary, I can provide my current non-working implementations, but they are basically as linked.

            ...

            ANSWER

            Answered 2019-Dec-12 at 10:14

            I found the error.

            I used plt.imshow to display both the simulated and real image and from there, pick the reference points from which to calculate the transformation.

            Turns out, due to the usual array-to-image-index-flipping-voodoo (or a bad missunderstanding of the transformation on my side), I need to switch the x and y indices of the reference points from the simulated image.

            With this, everything works fine using this how to perform coordinates affine transformation using python? part 2

            Source https://stackoverflow.com/questions/42953880

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install iterative_closest_point_2d

            You can download it from GitHub.
            You can use iterative_closest_point_2d like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/KojiKobayashi/iterative_closest_point_2d.git

          • CLI

            gh repo clone KojiKobayashi/iterative_closest_point_2d

          • sshUrl

            git@github.com:KojiKobayashi/iterative_closest_point_2d.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link