Registration of multispectral images
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
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.
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
The obvious: you seem to not have installed itkwidgets, that can be done with pip install itkwidgets. The version needs to match Jupyter (newer Jupyter, newer itkwidgets).