Coder Social home page Coder Social logo

Comments (8)

neka-nat avatar neka-nat commented on August 12, 2024

I tried it in my environment and it seemed to be fine.
Is there any difference?

import numpy as np
import open3d as o3
import transformations as trans
from probreg import cpd
from probreg import callbacks
import utils

source, target = utils.prepare_source_and_target_nonrigid_3d('bunny-x.txt',
                                                             'bunny-y.txt', 0.1)

cbs = [callbacks.Open3dVisualizerCallback(source, target)]
tf_param = cpd.registration_cpd(source, target, 'nonrigid',
                                lmd=1.0e-9, maxiter=100,
                                tol=0.000000000000001, callbacks=cbs)

nonrigidcpd

from probreg.

sandwich25 avatar sandwich25 commented on August 12, 2024

For me, I used bunny-y as source and bunny-x as target. Can you try that please?

from probreg.

neka-nat avatar neka-nat commented on August 12, 2024

Thank you!
I reproduced.
And I tuned the parameters again.
Try it out.

import numpy as np
import open3d as o3
import transformations as trans
from probreg import cpd
from probreg import callbacks
import utils

source, target = utils.prepare_source_and_target_nonrigid_3d('bunny-y.txt',
                                                             'bunny-x.txt', 0.1)

cbs = [callbacks.Open3dVisualizerCallback(source, target)]
tf_param = cpd.registration_cpd(source, target, 'nonrigid',
                                lmd=1.0e-11, maxiter=100,
                                tol=0.000000000000001, callbacks=cbs)

nonrigidcpd

from probreg.

sandwich25 avatar sandwich25 commented on August 12, 2024

There are still two points not aligned.

Capture

from probreg.

neka-nat avatar neka-nat commented on August 12, 2024

It's not easy to adjust.
What about the following?

tf_param = cpd.registration_cpd(source, target, 'nonrigid',
                                lmd=1.0e-15, beta=20.0, maxiter=100,
                                tol=0.000000000000001, callbacks=cbs)

from probreg.

sandwich25 avatar sandwich25 commented on August 12, 2024

Two dots still not aligned. It's okay if you don't have the solution. Any idea on the reason this is happening?
Capture2

from probreg.

neka-nat avatar neka-nat commented on August 12, 2024

It's a very divergent problem with CPD because the transformation is so large.
BCPD allows for a more stable convergence.

from probreg.

sandwich25 avatar sandwich25 commented on August 12, 2024

Thanks!

from probreg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.