Forum

Author Topic: Stitching hyperspectral geotiff in Photoscan  (Read 7775 times)

sean1192

  • Newbie
  • *
  • Posts: 3
    • View Profile
Stitching hyperspectral geotiff in Photoscan
« on: January 12, 2017, 04:57:48 PM »
Hi All,

Does anyone have experience with stitching hyperspectral tif images in Photoscan? I have a set of 'swaths' from a hyperspectral camera that I have converted to tif (272 bands) that need to be mosaicked. Photoscan is only reading the first band at the moment, which doesn't have any data. I realize this is a very niche use-case, but any assistance would be most appreciated!

Cheers

tuffi

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Stitching hyperspectral geotiff in Photoscan
« Reply #1 on: January 13, 2017, 12:59:58 PM »
Interesting!!
Witch HS camera do you use?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15432
    • View Profile
Re: Stitching hyperspectral geotiff in Photoscan
« Reply #2 on: January 13, 2017, 05:07:03 PM »
Hello sean1192,

How the data is stored in the TIFF? It is multi-page or multi-channel TIFF?
Best regards,
Alexey Pasumansky,
Agisoft LLC

rajandmk

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stitching hyperspectral geotiff in Photoscan
« Reply #3 on: May 16, 2018, 12:02:56 PM »
Hello all,
I have a similar situation. I want to create a mosaic from a hyperspectral camera (Cubert s185) that can output 125 channels. Using the Cubert Software, I can output the files as multi-page single TIFF file or as TIFF folder with individual channel file. As sean1192 said, Photoscan is only reading the first channel for both output type. I also used Add Folder > Add Multiframe cameras option, but it reads only one channel. Is there something that I can do in AgiSoft to create a mosaic using my hyperspectral images?
Regards
Rajan Paudyal

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15432
    • View Profile
Re: Stitching hyperspectral geotiff in Photoscan
« Reply #4 on: May 16, 2018, 01:44:33 PM »
Hello rajandmk,

If you are saving the data as individual files for each band, then you need to use Add Folder -> Multispectral Cameras option (see page 17 of PhotoScan Pro manual: http://www.agisoft.com/pdf/photoscan-pro_1_4_en.pdf).
For multichannel TIFFs (it should be multichannel TIFF, not multipage, nothing special is required, just after loading select the Primary Channel option in the Workspace pane context menu for the chunk to define the channel used for the image matching and dense cloud reconstruction.

Multiframe approach is not applicable to such projects, it is designed for other purposes.
Best regards,
Alexey Pasumansky,
Agisoft LLC

rajandmk

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Stitching hyperspectral geotiff in Photoscan
« Reply #5 on: May 16, 2018, 03:50:47 PM »
Thanks Alexey for the reply. I didn't know about the Primary channel selection option. I'll try using that.
Regards
Rajan Paudyal

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15432
    • View Profile
Re: Stitching hyperspectral geotiff in Photoscan
« Reply #6 on: May 16, 2018, 03:53:59 PM »
Hello rajandmk,

Note that Primary Channel option should be applied only for case of multichannel TIFF input.

If you are following Multispectral Cameras approach for rigid camera rigs, then you do not have to use Primary Channel.
Best regards,
Alexey Pasumansky,
Agisoft LLC