Hello, I am trying to implement optical calibration in MS Visual Studio, I
am trying to pass the metadatafile to the
program as argument with other required parameters, so that the program
automatically reads
{day, month, year, Sun angles, viewing angles, gain, biases, solar
illumination, spectral range}
Now the problem is I am unable to figure out the parameters of Spectral
Range from the metadata file,
The required parameters of spectral range are
: minSpectralValue, maxSpectralValue, userStep , vector
for reference:
FilterFunctionValuesType::Pointer functionValues =
FilterFunctionValuesType::New();
functionValues->SetFilterFunctionValues(vector);
functionValues->SetMinSpectralValue(minSpectralValue);
functionValues->SetMaxSpectralValue(maxSpectralValue);
functionValues->SetUserStep(userStep);
but the metadata file has the following sequence of information on spectral
range.
<Band_Spectral_Range>
<BAND_ID>B2</BAND_ID>
<CALIBRATION_DATE>2011-09-19T12:00:00Z</CALIBRATION_DATE>
<MEASURE_DESC>Spectral Range values of raw radiometric
Band</MEASURE_DESC>
<MEASURE_UNIT>nanometers</MEASURE_UNIT>
<MEASURE_UNCERTAINTY>0.008</MEASURE_UNCERTAINTY>
<MIN>621</MIN>
<MAX>698</MAX>
</Band_Spectral_Range>
I have read the minSpectralValue and maxSpectralValue from the metadatafile
but userStep and vector are not figured out yet,
any help please ?
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.