PCL 1.8.1 Does OutOfCore Viewer work?

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

PCL 1.8.1 Does OutOfCore Viewer work?

nenadpol
I am trying OutOfCore viewer. It starts ok, shows grid but no points.

I start Viewer with these Command arguments: "-depth 0 -gpu_cache_size 512
-lod_threshold 10000 -display_octree G:/CoreTableDepth/tree/"

How do I load point cloud into viewer?

thanks
Nenad





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

Re: PCL 1.8.1 Does OutOfCore Viewer work?

Sérgio Agostinho

Based on this and this, it seems like you need to provide a file with that .oct_idx extension. I'm not sure what the contents of this file are but I assumed the underlying structure is a PCD file.

Did you check these examples:

https://github.com/PointCloudLibrary/pcl/blob/master/examples/outofcore/example_outofcore.cpp

https://github.com/PointCloudLibrary/pcl/blob/master/examples/outofcore/example_outofcore_with_lod.cpp


Cheers
Sérgio

On 29-12-2017 09:12, nenadpol wrote:
I am trying OutOfCore viewer. It starts ok, shows grid but no points.

I start Viewer with these Command arguments: "-depth 0 -gpu_cache_size 512
-lod_threshold 10000 -display_octree G:/CoreTableDepth/tree/"

How do I load point cloud into viewer?

thanks
Nenad





--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


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

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.8.1 Does OutOfCore Viewer work?

nenadpol
This post was updated on .
Hei Sergio,

I have tried both examples and they work fine.

OutOfCore octree is created and  file with  .oct_idx extension exists
and  is provided to viewer.

I have traced problem to  line nr 244-248 in outofcore_cloud.hpp
-----------------------------------------------------------------------------------------
      if (pcd_queue_mutex.try_lock())
      {
        pcd_queue.push(pcd_queue_item);  //THIS LINE SHOULD LOAD PCD FILE
        pcd_queue_mutex.unlock();
      }
------------------------------------------------------------------------------------------

Line "pcd_queue.push(pcd_queue_item)" is never executed and therefore pcd
file  is never loaded.


My knowledge is limited and I cannot explain why this line is never
executed.

thanks
Nenad



--
Sent from: http://www.pcl-users.org/
_______________________________________________
PCL-users@pointclouds.org / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users