nicp icon indicating copy to clipboard operation
nicp copied to clipboard

Set to subset?

Open antithing opened this issue 7 years ago • 3 comments

Hi, one quick question... Will nicp work only work on sequential organised clouds like kinect images? Or could I use it to match one frame back to a large global map also? Thanks again for making the code available.

antithing avatar Oct 12 '17 07:10 antithing

There is the possibility to use KD-Trees (based on FLANN library), so yes you can. However expect the system to run slower with respect to the projective version.

Here is a link to a tutorial on how to align unorganized point clouds (there is a projector in the code but it is only only used to get the point cloud and the surface normals): http://jacoposerafin.com/nicp/index.php/tutorials/nearest-neighbor-depth-image-registration/

yorsh87 avatar Oct 12 '17 12:10 yorsh87

Thank you! I will try that. I am still attempting to get this running on windows, and am stuck on one last error, I know you are not supporting non-linux builds, but if you have any tips, it would be greatly appreciated.

In HomogeneousVector4f.h The line:

https://github.com/yorsh87/nicp/blob/master/nicp/nicp/homogeneousvector4f.h#L21

gives me:

'nicp::HomogeneousVector4f<0>::wCoordinate': a static data member with an in-class initializer must have non-volatile const integral type

and if i remove the static, ithe line:

https://github.com/yorsh87/nicp/blob/master/nicp/nicp/cloud.cpp#L320

gives me:

function "nicp::HomogeneousVector4f<wCoordinate_>::operator=(const nicp::HomogeneousVector4f<1> &) [with wCoordinate_=1]" (declared implicitly) cannot be referenced -- it is a deleted function

Thank you again for your code, and your time.

antithing avatar Oct 15 '17 19:10 antithing

Thank you! I will try that. I am still attempting to get this running on windows, and am stuck on one last error, I know you are not supporting non-linux builds, but if you have any tips, it would be greatly appreciated.

In HomogeneousVector4f.h The line:

https://github.com/yorsh87/nicp/blob/master/nicp/nicp/homogeneousvector4f.h#L21

gives me:

'nicp::HomogeneousVector4f<0>::wCoordinate': a static data member with an in-class initializer must have non-volatile const integral type

and if i remove the static, ithe line:

https://github.com/yorsh87/nicp/blob/master/nicp/nicp/cloud.cpp#L320

gives me:

function "nicp::HomogeneousVector4f<wCoordinate_>::operator=(const nicp::HomogeneousVector4f<1> &) [with wCoordinate_=1]" (declared implicitly) cannot be referenced -- it is a deleted function

Thank you again for your code, and your time.

hello,Did you compile successfully in windows? thank you

xiaopeige avatar Jan 14 '22 10:01 xiaopeige