Forum

Author Topic: Import multispec4C images  (Read 5075 times)

DriesR

  • Newbie
  • *
  • Posts: 6
    • View Profile
Import multispec4C images
« on: August 04, 2017, 11:43:20 AM »
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

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15691
    • View Profile
Re: Import multispec4C images
« Reply #1 on: August 04, 2017, 12:04:30 PM »
Hello DriesR,

Can you provide any sample of the original multipage TIFF?
Best regards,
Alexey Pasumansky,
Agisoft LLC

DriesR

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Import multispec4C images
« Reply #2 on: August 07, 2017, 02:55:52 PM »
I have just send you a PM with link to a small subset.
thanks for the support
DriesR