How to read hyperspectral data without wavelenth data?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Beata Szabo-Takacs
el 10 de Jun. de 2021
Comentada: Beata Szabo-Takacs
el 10 de Jun. de 2021
Dear All,
I have some hyperspectral data was produced by company Itres. Some temperature data is calculated from the average of all the spectral bands hence they do not have wavelength info and I cannot read them with
hypercube
function. Could someone suggest me a solution to read these data?
2 comentarios
Subhadeep Koley
el 10 de Jun. de 2021
@Beata Szabo-Takacs Which file format is your hyperspectral data?
Respuesta aceptada
Subhadeep Koley
el 10 de Jun. de 2021
Editada: Subhadeep Koley
el 10 de Jun. de 2021
If you know the height, width, and number of spectral bands of your data, you can try using multibandread(_).
However, in order to use multibandread(_) apart from height, width, bands, you'll also need precision, header offset, interleave value and byte order of your data.
% Specify the parameters
precision = 'double';
headerOffset = 0;
interleave = 'bsq';
byteOrder = 'ieee-le';
height = 100;
width = 100;
bands = 256;
% Read the data
dataCube = multibandread('yourFile.dat', [height, width, bands], precision, headerOffset, interleave, byteOrder);
1 comentario
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!