Unorganized data segmentation?

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

Unorganized data segmentation?

USBLexus
Hi, i have a datafile which contains rows like this: X Y Z, one point to one row
When i try to segment this, i get error - [pcl::%s::segment] Organized point cloud is required for this plane extraction method

I don't understood why i cant segment my file, and what i need to do for this?
Reply | Threaded
Open this post in threaded view
|

Re: Unorganized data segmentation?

Jochen Sprickerhof
Administrator
Hi USBLexus,

* USBLexus <[hidden email]> [2013-12-23 00:53]:
> Hi, i have a datafile which contains rows like this: X Y Z, one point to one
> row
> When i try to segment this, i get error - [pcl::%s::segment] Organized point
> cloud is required for this plane extraction method
>
> I don't understood why i cant segment my file, and what i need to do for
> this?

Organized point clouds have a special structure, see:
http://pointclouds.org/documentation/tutorials/basic_structures.php

You can use pcl::SACSegmentation instead:
http://pointclouds.org/documentation/tutorials/planar_segmentation.php

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

Re: Unorganized data segmentation?

USBLexus
Hi, i need to extract all planes inside of unorganized cloud, but your example didn't this. How can i get ALL planes in unorganized cloud?
Reply | Threaded
Open this post in threaded view
|

Re: Unorganized data segmentation?

Jochen Sprickerhof
Administrator
Hi USBLexus,

* USBLexus <[hidden email]> [2013-12-26 01:03]:
> Hi, i need to extract all planes inside of unorganized cloud, but your
> example didn't this. How can i get ALL planes in unorganized cloud?

Just iterate the example until you have all planes.

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

Re: Unorganized data segmentation?

USBLexus
And remove all found points every iteraction?
Reply | Threaded
Open this post in threaded view
|

Re: Unorganized data segmentation?

Jochen Sprickerhof
Administrator
* USBLexus <[hidden email]> [2013-12-26 02:48]:
> And remove all found points every iteraction?

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

Re: Unorganized data segmentation?

USBLexus
Ok! Thank you!