InsightSoftwareConsortium / InsightSoftwareConsortium/ITKElastix

Registration of multispectral images

Open
#330 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
281
Forks
29
Avg merge
16h 28m
Merged PRs (30d)
8

Description

Hello guys,

I have a dataset of multispectral Images: R,G,B, NIR, RedEdge. I need them to be aligned and OpenCV didn't help.
Firstly, I want to ask if with Elastix I should be able to align those pictures?

I am on Ubuntu and am using conda. In conda list i have:
itk 5.4.3 pypi_0 pypi
itk-core 5.4.3 pypi_0 pypi
itk-elastix 0.21.0 pypi_0 pypi
itk-filtering 5.4.3 pypi_0 pypi
itk-io 5.4.3 pypi_0 pypi
itk-numerics 5.4.3 pypi_0 pypi
itk-registration 5.4.3 pypi_0 pypi
itk-segmentation 5.4.3 pypi_0 pypi

in jupyter notebook tried 1st example and in PyCharm i see following

![Image](https://github.com/user-attachments/assets/a256793b-b8ac-4702-88bf-18bd20bec009)

Red underlined itkwidgets and Yellow underlined methods itk.ParameterObject.New and itk.elastix_registration_method etc.

So instead of imports in example I found a way of adding import itk.ElastixPython as eitk
and then have to use:
parameter_object = eitk.elastixParameterObject.New()
result_image, result_transform_parameters = eitk.elastix_registration_method

To keep this short, it doesn't work anyway. Hopefully you will be patient enough to help me with it.

![Image](https://github.com/user-attachments/assets/312fcd78-a277-4df2-ba74-97abda555116)

Anyway guys, I have uploaded to my git repo https://github.com/BigStubby/Multispectral-Agri-Dataset
15 pictures - meaning 3 Captures just to test it out if it would even work with Elastix to align them.
If I could politely ask anyone to try it out, I would appreciate it. For me its important to move further with my project and I've already spent like a week playing around with this alignment of photos. I have about 200 Photos and if it would work with Elastix, I would then either try to install it correctly or pay anyone here to help me with aligning all of them for me.

Thanks in advance, Tomas

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.