File Exchange

## Finite Iterative Closest Point

version 1.0 (13.4 KB) by

Iterative Closest Point using finite difference optimization to register 3D point clouds affine.

Updated

This function ICP_FINITE is an kind of Iterative Closest Point(ICP) registration algorithm for 3D point clouds (like vertice data of meshes ) using finite difference methods.

Normal ICP solves translation and rotation with analytical equations. By using finite difference this function can also solve resizing and shear thus affine registration.

As first step, this function sorts the static points into a grid of overlapping blocks. The block nearest to a moving point will always contain its closest static point, thus the grid allows faster registration.

raiyea

kian motahari

### kian motahari (view profile)

it does work perfectly,tnx.but i'm wondering whether i can attach the RGB matrix to each point,then the result would contains the color too.do you have any solution?

Sarun

Diniz Sa

### Diniz Sa (view profile)

worked as expected, tank you all!

Ahmed Yehia

lightol smith

Denis Stein

### Denis Stein (view profile)

@How to cite the work:
Use his PhD thesis, available at <http://doc.utwente.nl/78499/1/thesis_D_Kroon.pdf>. He references to here on page 149.

N S

to cite*

N S

### N S (view profile)

I would like to your to your code. can you please tell me how i can do it? thanks

Francesco

### Francesco (view profile)

Hi all, i'd like to know if anybody has tried to use this algorithm on very large datasets (like point clouds with 300000-500000 points) and which options are recommended to minimize calculation times.

thank you all

Youssef

### Youssef (view profile)

Hey Dirk-Jan Kroon.
Thanks for the code! Somehow i cannot run it though. I get "Itteration Error" Can you help me find what's wrong?
both pointclouds I am using are taken from a kinect sensor and slightly different capture angles.

I would appreciate and pointers on that as I am new to this field!
thanks

N S

### N S (view profile)

Hi Kroon, your code works perfectly for me. now I would like to add "kd tree" function as a matching method to this algorithm, could you please help me to do that? Regards, Nazila

Milton

### Milton (view profile)

Your ICP code works great and I am able to achieve very good registration of my point cloud.

The point cloud is generated by using the vertices of an isosurface of my 3D grayscale data set. I would like to use the affine transform matrix M to transform the 3D grayscale data in the same way as the point cloud of vertices were transformed.

For some reason this does not seem to work. I cannot get my dataset to rotate correctly when using the output affine transform matrix.

Could you post an example of how you can use M to rotate not a point cloud, but a grayscale 3D dataset? Or is there some reason that should not work?

Thanks for sharing your great work.

Stormshark

### Stormshark (view profile)

very nice code. Easy to understand and apply to other platform

Helia

Chris

### Chris (view profile)

great code. similarly, reference/citation information would be great.

Chris

gang

Luzia

### Luzia (view profile)

Hi, I've used your ICP successfully for one of my projects - I would like to put a reference in the paper I'm preparing, could you let me know how you'd like me to cite it?

Ben

### Ben (view profile)

Can it be used for registering 2D point sets?

Alex

### Alex (view profile)

This code works perfectly well! Thank you for your nice and really useful work

JK Hwang

### JK Hwang (view profile)

Hi, Dirk-Jan Kroon. I was wondering about your nearest points searching method in your code. What is the reason why you used a grid spacing term, 'spacing=size(Points_Static,1)^(1/6)*sqrt(3);', in your code when uniform grid of points is established. Is there any reference about that?

Dirk-Jan Kroon

### Dirk-Jan Kroon (view profile)

The code is written from scratch and not published in a paper.
You can of course reference the original paper.

Meidya Koeshardianto

### Meidya Koeshardianto (view profile)

nice code

Hi, really great work! But me too I ask if you can put a reference for the work

Robert

### Robert (view profile)

Fixed, but a demo code would be a nice addition.

Robert

### Robert (view profile)

I tried running this program, and all the points on my data model were transformed to a singular point. If this could be explained, I would revise my rating. For example, put a demo up, so I can see that it works for something you worked with.

yu

### yu (view profile)

sorry,but i cannot run it successfully. the error is
''??? Error using ==> tic
Too many output arguments......."
btw, my database contains about 40 thousand 3-D points.

M.