Need help with Registration Techniques and ICP

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help with Registration Techniques and ICP

astaranowicz
Hi,

I have been working with ICP and 3D registration techniques in Matlab and moved over to PCL to increase performance, however, I am having some problems namely trying to find the different methods and ways to use ICP/Registration.

So far I have done the tutorials and implemented small examples using some of the functions from icp.h, icp_nl.h, registration.h.  I'm currently trying out transformation_from_correspondences.h, transformation_estimation.h, and elch.h.

The problem is that I'm mostly getting this error: ‘TransformationFromCorrespondence’ is not a member of ‘pcl’.

The code is very simple:

#include <pcl/common/transformation_from_correspondences.h>

int main (int argc, char** argv)
{
  pcl::TransformationFromCorrespondence transCorr;
  return (0);
}

I'm trying to use  this example as a reference.  Also, I'm using PCL 1.6.0 and I see every one of the header files I need is located in the usr/local/include/pcl-1.6 folder. But I still get '......' is not a member of pcl, from  transformation_from_correspondences.h, transformation_estimation.h, and elch.h.

Any ideas?


Reply | Threaded
Open this post in threaded view
|

Re: Need help with Registration Techniques and ICP

aichim
Administrator
Hi,

Please spend some time and have a closer look at the documentation before sending messages to the mailing list.

For the example you sent us, the problem is because the class name is not correct: pcl::TransformationFromCorrespondence>S< .


Cheers,
Alex
---
http://www.openperception.org



On Feb 5, 2013, at 10:45 AM, astaranowicz <[hidden email]> wrote:

> Hi,
>
> I have been working with ICP and 3D registration techniques in Matlab and
> moved over to PCL to increase performance, however, I am having some
> problems namely trying to find the different methods and ways to use
> ICP/Registration.
>
> So far I have done the tutorials and implemented small examples using some
> of the functions from icp.h, icp_nl.h, registration.h.  I'm currently trying
> out transformation_from_correspondences.h, transformation_estimation.h, and
> elch.h.
>
> The problem is that I'm mostly getting this error:
> ‘TransformationFromCorrespondence’ is not a member of ‘pcl’.
>
> The code is very simple:
>
> #include <pcl/common/transformation_from_correspondences.h>
>
> int main (int argc, char** argv)
> {
>  pcl::TransformationFromCorrespondence transCorr;
>  return (0);
> }
>
> I'm trying to use  this example
> <http://www.pcl-users.org/Strange-results-in-registering-two-point-clouds-td3577339.html>  
> as a reference.  Also, I'm using PCL 1.6.0 and I see every one of the header
> files I need is located in the usr/local/include/pcl-1.6 folder. But I still
> get '......' is not a member of pcl, from
> transformation_from_correspondences.h, transformation_estimation.h, and
> elch.h.
>
> Any ideas?
>
>
>
>
>
>
> --
> View this message in context: http://www.pcl-users.org/Need-help-with-Registration-Techniques-and-ICP-tp4025902.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Need help with Registration Techniques and ICP

Jochen Sprickerhof
Administrator
In reply to this post by astaranowicz
Hi Aaron,

this is a basic C++ question. PCL is an advanced C++ library, please
follow basic C++ tutorials before asking questions like this.

* astaranowicz <[hidden email]> [2013-02-05 10:45]:

> The problem is that I'm mostly getting this error:
> ‘TransformationFromCorrespondence’ is not a member of ‘pcl’.
>
> The code is very simple:
>
> #include <pcl/common/transformation_from_correspondences.h>
>
> int main (int argc, char** argv)
> {
>   pcl::TransformationFromCorrespondence transCorr;

it's pcl::TransformationFromCorrespondence_s_

Cheers Jochen
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users