Is there any way to create an Image object starting from a array?

Hi guys, I have an Image which is structured in an C++ Array and I didn’t find a constructor to initialize an image object starting from it. So, Is there any way to do this?

Thanks.

Hi @Everaldo,

These examples show how to import a C / C++ array into an itk::Image:

2 Likes