aux extraction
This commit is contained in:
15
main.go
15
main.go
@@ -16,14 +16,19 @@ var rootCmd = &cobra.Command{
|
||||
Long: `Preprocessing tools for SJY01 dataset`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Println("preprocessing tools for SJY01 dataset")
|
||||
p := Params{
|
||||
InputData: "demo/050722.dat",
|
||||
params := Params{
|
||||
InputData: "demo/4545.dat",
|
||||
OutputPath: "demo/output",
|
||||
TempPath: "demo/temp",
|
||||
DataId: "050722",
|
||||
DataId: "004545",
|
||||
}
|
||||
// preprocess(&p)
|
||||
exractImageData(&p)
|
||||
p := NewProcessor(¶ms)
|
||||
p.ExtractAosData()
|
||||
dats, _ := p.ExtractOriginalImageData()
|
||||
for _, d := range dats {
|
||||
p.SeprateAuxAndImgData(d)
|
||||
}
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user