From 7c1240f2dba138a844b76ce56ecd8da1ce6db381 Mon Sep 17 00:00:00 2001 From: nuknal Date: Mon, 12 Aug 2024 10:41:09 +0800 Subject: [PATCH] builder --- Makefile | 3 +++ pkg/rrc/moment_matching.go | 1 + 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6c1395f..40e3ad4 100644 --- a/Makefile +++ b/Makefile @@ -30,3 +30,6 @@ clean: linux: GOOS=linux GOARCH=amd64 go build -o bin/sjy01-imgproc -ldflags=${COMPILE_LDFLAGS} cmd/*.go + +release: + docker run --rm -v .:/src -v /Users/lan/workspace/sjy01/build/go:/build/go nuknal/gdal38-cv49-builder sh -c "cd /src && make linux" diff --git a/pkg/rrc/moment_matching.go b/pkg/rrc/moment_matching.go index f8c9f05..c00cbce 100644 --- a/pkg/rrc/moment_matching.go +++ b/pkg/rrc/moment_matching.go @@ -8,6 +8,7 @@ import ( ) // Destriping multisensor imagery with moment matching [Gadallah, 2000] +// 基于探元直方图匹配的CBERS01星CCD数据相对辐射校正方法 [潘志强, 2005] func DoMomentMatching(originalImg gocv.Mat) { probes := originalImg.Cols() log.Printf("do moment matching for %d probes, %d rows", probes, originalImg.Rows())