So, just got back to this, and still no luck.
I am seeing
[INFO] Increasing matcher neighbors to 40 to accomodate multi-camera setup
[INFO] Multi-camera setup, using BOW matching
[WARNING] Using BOW matching, will use HAHOG feature type, not SIFT
in the log, so it does seem to be entering the multispectral mode, but I still get the errors I was describing before with some variations (more on that below).
To re-iterate, in-case I’m still missing something, here’s the steps I’m taking prior to submission to WebODM:
- Split the multichannel jpgs from the sensor into single channel jpgs, a separate set for each band (5 bands for this particular sensor). The names would be all identical, so I add a relevant token to the jpg filename (i.e. _RED)
- Combining these sets into a single folder.
- Add BandName metadata tags to the jpgs that correspond to their actual represented bands.
- Add a metadata tag that will get translated to band_index (I’m using ‘Camera:RigCameraIndex’) which also corresponds to which band the jpg represents. (In my case, 0=red,1=green,2=blue,3=RedEdge,4=NIR).
Then I upload these and submit the task using the ‘Multispectral’ preset.
This time, the error listed at the end is:
ERROR 6: PNG driver doesn't support 7 bands. Must be 1 (grey),
2 (grey+alpha), 3 (rgb) or 4 (rgba) bands.
So now it appears it’s trying to process 7 bands/channels instead of 8 from earlier tests. I would think given its input, it would be 6 (5 bands + 1 alpha)?
Also, now that I’ve separated the bands into their individual channel jpgs, the results I can see are MUCH worse for registration/alignment in the orthophoto between rgb chanels. (Before when I was initially writing up my problems above, the rgb ortho was coherent). See attached screenshot.
Anyone have any idea what I’m doing wrong?
I’d like to fix any mistakes I’m doing as eventually I’d like to test some imagery with 200 bands.
Also uploading the log of the task in case it can help shed some light (I don’t see anything glaringly obvious beyond the errors I’ve already described).
Edit: forgot the log link: