Colin Axel New Member
Posts:5  
06 Mar 2019 08:30 AM |
|
How can I convert radiance hyperspectral images to reflectance using a calibration panel in the scene with a known reflectance?
|
|
|
|
MariM Veteran Member
Posts:2396  
|
Colin Axel New Member
Posts:5  
06 Mar 2019 01:08 PM |
|
Hi Mari - what difference would there be between capturing the panel during the flight and capturing it from the ground prior to the flight? This is a pushbroom UAV sensor so it would be difficult to capture the panel while the UAV is on the ground. It seems like I could use ELM with the panel image taken during flight, correct?
|
|
|
|
MariM Veteran Member
Posts:2396  
07 Mar 2019 11:07 AM |
|
I guess I was thinking it was more of an atmospheric correction, where you need field and image spectra to calculate gains and offsets, but it does not sound like the case here. A straight calibration would mean you get a mean spectrum of your panel to divide into your data cube. So you could draw an ROI over your panel and then calculate stats on the ROI, which will show you the basic stats and 'mean' spectrum. Leave this dialog open. Go to Spectral Math and enter the equation: float(s1)/s2 where s1 will be mapped to your hyperspectral data cube (I used float in case it is stored as integers and you need to promote the data type) and s2 is mapped to the plotted mean spectrum from your panel The result should be floating point, "top-of-the-sensor" reflectance.
|
|
|
|
Colin Axel New Member
Posts:5  
07 Mar 2019 02:14 PM |
|
Perfect, thanks Mari!
|
|
|
|
Simon Appeltans New Member
Posts:2  
11 Mar 2019 04:24 AM |
|
Hi! I tried to use spectral math for this type of calibration, exactly like you describe with the ROI. It works for small images, but an error occurs when I apply the correction to my larger images (+/- 1 GB image size). I guess my memory might have run out, causing the calculation to fail? Thanks!
|
|
|
|
MariM Veteran Member
Posts:2396  
11 Mar 2019 05:38 AM |
|
What is the error message? Spectral math should be a tiled process so it will work on smaller 'tiles' of data to reduce memory usage. If you have set your tile size to a large value, then it could be a problem.
|
|
|
|
Simon Appeltans New Member
Posts:2  
12 Mar 2019 03:39 AM |
|
This is the error message: File Spectra Math: an error has occurred during processing Error: "WRITEU: Error encountered writing to file. Unit: 101 File:D:\..." The result may be invalid.
|
|
|
|
MariM Veteran Member
Posts:2396  
12 Mar 2019 07:31 AM |
|
WRITEU errors typically mean the output directory does not have adequate space, it has permissions issues, or if it is an external drive, intermittent connection issues causing the writing of data to be interrupted. It is not memory related.
|
|
|
|