[R] 3D point cloud fitting

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed Jun 24 03:47:25 CEST 2015


Your question seems unclear, and you posted using HTML which makes things even less clear (see the Posting Guide). Sharing data on the making list is much more effective using the dput function as described in [1].

I note that your X values are very different, but your Y and Z values are similar. Do you want to estimate a regression model X( Y, Z ) from your nominal data and replace the X values in your measured data?

[1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On June 23, 2015 9:19:31 AM PDT, Guillaume Kautzmann <g.kautzmann at gmail.com> wrote:
>Hi all,
>
>Hopefully I post that correctly as I use "r-help" for the first time.
>I wish to best-fit a 3D point cloud on another one, preferably with a
>least-square adjustement method. Is there any existing solution
>(package,
>function,...) available?
>Here is a sample of my data where I want to fit the nominal on the
>measured
>points (identification by the name), the point clouds are not matching
>perfectly.
>
>measured points:
>Name X Y Z  LH 17320.201 270.705 -344.385  LL 17319.695 270.709
>-356.391
>RH 17320.215 -269.783 -344.623  RL 17319.738 -269.791 -356.642
>
>nominal points
>   Name X Y Z  LH 4.627 270.1359368 -346.0554962  LL 4.63 270.1264744
>-358.0371904  RH 4.336 -270.2775009 -346.043514  RL 4.29 -270.2889739
>-358.0252081  R 4.581 -270.251483 -274.4168414  L 4.531 270.1487988
>-274.4168417  C 0 0 0
>Thanks in advance,
>Guillaume
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list