aux platform

This commit is contained in:
nuknal
2024-05-15 16:32:18 +08:00
parent 6f76b2f131
commit 6a22735d78
16 changed files with 335 additions and 48 deletions

18
extract/raw.go Normal file
View File

@@ -0,0 +1,18 @@
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 像素
}