I'd like to create a multiple component image, whose number of components is established in execution time. How can I do that? Is it possible to use templated classes, or do I need to append somehow a vector of images? Thanks