micasense / imageprocessing

MicaSense RedEdge and Altum image processing tutorials
https://www.micasense.com
MIT License
257 stars 152 forks source link

Got LibRawIOError: b'Input/output error' when batch-aligning captures from an ImageSet #186

Open fttstml opened 2 years ago

fttstml commented 2 years ago

Hello,

I am using a 10-band duo camera system and was trying to do batch-aligning every captures from an ImageSet. I followed the Alignment-10Band.ipynb until the Unwrap and Align step. From here, I used the generated warp matrices to do the Crop Aligned Images steps for every capture in the image set via a loop through ImageSet.captures. I also put a tracking index through the loop to monitor

Things went well for the first several tens of captures. However, I got the LibRawIOError: b'Input/output error' once the index got to 48. I'd really appreciate if someone could tell me where I'm wrong. The code is attached as below.

Capture5

Capture6

poynting commented 2 years ago

This seems like a corrupt image file if most of the images work. In this case I usually just remove the capture and go on; with good flight overlap there should be plenty of other images in the same area.