Passthrough filter for <pcl::Normal>

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

Passthrough filter for <pcl::Normal>

desinghkar
Hi,
I was trying to use the passthrough filter for the cloud of the type <pcl::Normal>.

My code is as below:

//creating a filtering object
pcl::PointCloud<pcl::Normal>::Ptr cloud_nfiltered (new pcl::PointCloud<pcl::Normal>);
pcl::PassThrough<pcl::Normal> pass_normal;
pass_normal.setInputCloud(cloud_normals);
pass_normal.setFilterFieldName("normal_y");
pass_normal.setFilterLimits(0.8, 1);
pass_normal.filter(*cloud_nfiltered);

which throws a compilation error as below

CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o:(.rodata._ZTVN3pcl11PassThroughINS_6NormalEEE[vtable for pcl::PassThrough<pcl::Normal>]+0x14): undefined reference to `pcl::PassThrough<pcl::Normal>::applyFilter(pcl::PointCloud<pcl::Normal>&)'
collect2: ld returned 1 exit status
make[2]: *** [normal_estimation] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I tried to go through the header file passthrough.h and couldn't find any issues. When i included /impl/passthrough.hpp again in the code and compiled it again. I got the following error

In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp: In member function ‘void pcl::PassThrough<PointT>::applyFilter(pcl::PassThrough<PointT>::PointCloud&) [with PointT = pcl::Normal, pcl::PassThrough<PointT>::PointCloud = pcl::PointCloud<pcl::Normal>]’:
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘x’
make[2]: *** [CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I feel that the normal type is not considered in passthrough filters. Is there any reason for this? Is this functionality covered somewhere else. I felt this is the reason the segmentation of plan had setAxis which might work for what i am trying. But not sure of my analysis so far.

--
Thanks,
Karthik


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

Re: Passthrough filter for <pcl::Normal>

Aravindhan K Krishnan
PassThrough filter is instantiated only for XYZ point types, as per the definition given in passthrough.cpp (pasted below)

PCL_INSTANTIATE(PassThrough, PCL_XYZ_POINT_TYPES);

pcl::Normal is not a XYZ point type. point_types.hpp defines the point types.

Aravindhan


On Sat, Jan 7, 2012 at 5:30 AM, karthik desingh <[hidden email]> wrote:
Hi,
I was trying to use the passthrough filter for the cloud of the type <pcl::Normal>.

My code is as below:

//creating a filtering object
pcl::PointCloud<pcl::Normal>::Ptr cloud_nfiltered (new pcl::PointCloud<pcl::Normal>);
pcl::PassThrough<pcl::Normal> pass_normal;
pass_normal.setInputCloud(cloud_normals);
pass_normal.setFilterFieldName("normal_y");
pass_normal.setFilterLimits(0.8, 1);
pass_normal.filter(*cloud_nfiltered);

which throws a compilation error as below

CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o:(.rodata._ZTVN3pcl11PassThroughINS_6NormalEEE[vtable for pcl::PassThrough<pcl::Normal>]+0x14): undefined reference to `pcl::PassThrough<pcl::Normal>::applyFilter(pcl::PointCloud<pcl::Normal>&)'
collect2: ld returned 1 exit status
make[2]: *** [normal_estimation] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I tried to go through the header file passthrough.h and couldn't find any issues. When i included /impl/passthrough.hpp again in the code and compiled it again. I got the following error

In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp: In member function ‘void pcl::PassThrough<PointT>::applyFilter(pcl::PassThrough<PointT>::PointCloud&) [with PointT = pcl::Normal, pcl::PassThrough<PointT>::PointCloud = pcl::PointCloud<pcl::Normal>]’:
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘x’
make[2]: *** [CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I feel that the normal type is not considered in passthrough filters. Is there any reason for this? Is this functionality covered somewhere else. I felt this is the reason the segmentation of plan had setAxis which might work for what i am trying. But not sure of my analysis so far.

--
Thanks,
Karthik


_______________________________________________
[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: Passthrough filter for <pcl::Normal>

desinghkar
Thanks for confirming.
Is there any other implementation where such filtering is done as its avoided in passthrough? I believe it should be in segmentation with setAxis method so that i filter the planes based on their normals.

On Sat, Jan 7, 2012 at 6:39 PM, Aravindhan K Krishnan <[hidden email]> wrote:
PassThrough filter is instantiated only for XYZ point types, as per the definition given in passthrough.cpp (pasted below)

PCL_INSTANTIATE(PassThrough, PCL_XYZ_POINT_TYPES);

pcl::Normal is not a XYZ point type. point_types.hpp defines the point types.

Aravindhan


On Sat, Jan 7, 2012 at 5:30 AM, karthik desingh <[hidden email]> wrote:
Hi,
I was trying to use the passthrough filter for the cloud of the type <pcl::Normal>.

My code is as below:

//creating a filtering object
pcl::PointCloud<pcl::Normal>::Ptr cloud_nfiltered (new pcl::PointCloud<pcl::Normal>);
pcl::PassThrough<pcl::Normal> pass_normal;
pass_normal.setInputCloud(cloud_normals);
pass_normal.setFilterFieldName("normal_y");
pass_normal.setFilterLimits(0.8, 1);
pass_normal.filter(*cloud_nfiltered);

which throws a compilation error as below

CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o:(.rodata._ZTVN3pcl11PassThroughINS_6NormalEEE[vtable for pcl::PassThrough<pcl::Normal>]+0x14): undefined reference to `pcl::PassThrough<pcl::Normal>::applyFilter(pcl::PointCloud<pcl::Normal>&)'
collect2: ld returned 1 exit status
make[2]: *** [normal_estimation] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I tried to go through the header file passthrough.h and couldn't find any issues. When i included /impl/passthrough.hpp again in the code and compiled it again. I got the following error

In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp: In member function ‘void pcl::PassThrough<PointT>::applyFilter(pcl::PassThrough<PointT>::PointCloud&) [with PointT = pcl::Normal, pcl::PassThrough<PointT>::PointCloud = pcl::PointCloud<pcl::Normal>]’:
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘x’
make[2]: *** [CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I feel that the normal type is not considered in passthrough filters. Is there any reason for this? Is this functionality covered somewhere else. I felt this is the reason the segmentation of plan had setAxis which might work for what i am trying. But not sure of my analysis so far.

--
Thanks,
Karthik


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



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




--
Thanks,
Karthik


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

Re: Passthrough filter for <pcl::Normal>

clockwise9
I haven't used it yet, but have you tried the segmentation module?  Specifically SACSementationFromNormals

There's also a tutorial related to planar segmentation which may fit your needs.

Justin

On Sat, Jan 7, 2012 at 5:19 AM, karthik desingh <[hidden email]> wrote:
Thanks for confirming.
Is there any other implementation where such filtering is done as its avoided in passthrough? I believe it should be in segmentation with setAxis method so that i filter the planes based on their normals.


On Sat, Jan 7, 2012 at 6:39 PM, Aravindhan K Krishnan <[hidden email]> wrote:
PassThrough filter is instantiated only for XYZ point types, as per the definition given in passthrough.cpp (pasted below)

PCL_INSTANTIATE(PassThrough, PCL_XYZ_POINT_TYPES);

pcl::Normal is not a XYZ point type. point_types.hpp defines the point types.

Aravindhan


On Sat, Jan 7, 2012 at 5:30 AM, karthik desingh <[hidden email]> wrote:
Hi,
I was trying to use the passthrough filter for the cloud of the type <pcl::Normal>.

My code is as below:

//creating a filtering object
pcl::PointCloud<pcl::Normal>::Ptr cloud_nfiltered (new pcl::PointCloud<pcl::Normal>);
pcl::PassThrough<pcl::Normal> pass_normal;
pass_normal.setInputCloud(cloud_normals);
pass_normal.setFilterFieldName("normal_y");
pass_normal.setFilterLimits(0.8, 1);
pass_normal.filter(*cloud_nfiltered);

which throws a compilation error as below

CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o:(.rodata._ZTVN3pcl11PassThroughINS_6NormalEEE[vtable for pcl::PassThrough<pcl::Normal>]+0x14): undefined reference to `pcl::PassThrough<pcl::Normal>::applyFilter(pcl::PointCloud<pcl::Normal>&)'
collect2: ld returned 1 exit status
make[2]: *** [normal_estimation] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I tried to go through the header file passthrough.h and couldn't find any issues. When i included /impl/passthrough.hpp again in the code and compiled it again. I got the following error

In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp: In member function ‘void pcl::PassThrough<PointT>::applyFilter(pcl::PassThrough<PointT>::PointCloud&) [with PointT = pcl::Normal, pcl::PassThrough<PointT>::PointCloud = pcl::PointCloud<pcl::Normal>]’:
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:106:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:110:11: error: ‘struct pcl::Normal’ has no member named ‘x’
/workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:163:1:   instantiated from here
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:127:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:144:13: error: ‘struct pcl::Normal’ has no member named ‘x’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:166:9: error: ‘const struct pcl::Normal’ has no member named ‘x’
In file included from /workspace/karthik/RRC/PCL_workspace/projects/normal_estimation/normal_estimation.cpp:13:0:
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘z’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘y’
/usr/local/include/pcl-1.4/pcl/filters/impl/passthrough.hpp:221:7: error: ‘const struct pcl::Normal’ has no member named ‘x’
make[2]: *** [CMakeFiles/normal_estimation.dir/normal_estimation.cpp.o] Error 1
make[1]: *** [CMakeFiles/normal_estimation.dir/all] Error 2
make: *** [all] Error 2

I feel that the normal type is not considered in passthrough filters. Is there any reason for this? Is this functionality covered somewhere else. I felt this is the reason the segmentation of plan had setAxis which might work for what i am trying. But not sure of my analysis so far.

--
Thanks,
Karthik


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



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




--
Thanks,
Karthik


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



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