I tried to import the multispectral image of the multispec4c (airinov) sensor through the python module but the image upload does not result in multiplane camera model and the resulting orthomosaic only contains one band. I tried
• providing the original multipage TIFF in a list and add to the chunk: chunk.addPhotos(file_paths,PhotoScan.MultiframeLayout)
• providing the original multipage TIFF in a list and add to the chunk: chunk.addPhotos(file_paths,PhotoScan.MultiplaneLayout)
• Convert the multipage TIFF to 4 singlepage TIFF (Imagemagick or PIL), construct a list as follows (list = [[g[0],r[0],re[0],nir[0]], [g[1],r[1],re[1],nir[1]],…] and add to the chunk: chunk.addPhotos(file_paths,PhotoScan.MultiplaneLayout)
The manual import selecting ‘Create multispectral cameras from files as cameras’ does work. Is there an similar method through API?
Version Photoscan: 1.3.2