Files
2024-05-15 16:32:18 +08:00

19 lines
1.1 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package extract
// 图像数据帧头信息、辅助数据以及图像数据组成,
// 帧头信息长度为24字节
// 辅助数据总共640字节分16行传输每行传输40字节
// 其中40字节中包含8字节焦面电箱辅助数据以及32节字的中心机辅助数据
// 图像数据 每个像素16bit
// 线阵模式每 16 行一组,可拼出 640 字节辅助数据
type LineMatrixRawRow struct {
FrameHeader [24]byte // 帧头信息
AuxFocalBox [8]byte // 焦面电箱辅助数据
AuxCenterMachine [32]byte // 中心机辅助数据
B0Data []byte // 全色图像数据 19040 字节9520 像素
B1Data []byte // 多光谱1图像数据 1192 字节,每 4 行一组,共 4768 字节2384 像素
B2Data []byte // 多光谱2图像数据 1192 字节,每 4 行一组,共 4768 字节2384 像素
B3Data []byte // 多光谱3图像数据 1192 字节,每 4 行一组,共 4768 字节2384 像素
B4Data []byte // 多光谱4图像数据 1192 字节,每 4 行一组,共 4768 字节2384 像素
}