New FastModelAlign module in SlicerMorph

The pointcloud based registration of 3D models is now incorporated into SlicerMorph as FastModelAlign (SlicerMorph->Utilities->FastModelAlign).

Instead of a full model registration, similar to ALPACA, module converts models to sparser point clouds, then computes scaling, rigid and affine registration on them as requested by the user. The outputs of the module are the modified source model, as well as the transformation matrices that were generated.

image

The initial prototype has been developed during the last PW by @chz31 with contributions from @agporto and @smrolfe.

8 Likes

FYI, today’s version requires the user to switch to ALPACA_preview module to install the necessary ITK python libraries that are used both modules. To do so, in the Module Finder, enable the testing mode and search for ALPACA_preview.
image

It may take a minute to install the python packages, after which you can switch back to FastModelAlign. Starting with tomorrow’s build, this will be automatically invoked first time the user opens the FastModelAlign module.

2 Likes

Hi @muratmaga, very nice update.

In the process of installing the packages an error occurs. I’ll show you in the next image:

When I run the ALPACA (preview) for the first time, it started to install all the necessary dependencies, but it fails with the error I show before.

If I try to use the Fast Align Model, it also occurs a new error:

As I understand, the last error becomes from the first one, is´nt it?

If you could help me it would be great. Thanks a lot :slight_smile: .

Instead of the screenshots, please copy and paste the text of all the error message, because things are truncated.

In your first screenshot the error is about not being being able to install open3d, which is neither used by ALPACA_preview nor by FastModelAlign, so I am not sure where it is coming from.

If you update your SlicerMorph extension, and try directly going to FastModelAlign, it should now automatically switch to ALPACA_preview and install the necessary files (it may take a minute). If doesn’t, please copy and paste the text of the full error log, and tell us what version of Slicer you are using.