This commit is contained in:
nuknal
2024-10-29 16:45:28 +08:00
parent 9c2d93dff4
commit 0e920ce9f0
10 changed files with 57 additions and 57 deletions

View File

@@ -1,11 +1,11 @@
package producer
const (
DarkBiasValue = 15675.0/6
DarkBiasValue = 15675.0 / 6
)
// 暗场偏置校正 固定值15675校正
func (r *Registrator) DoDarkBiasCorrection() {
func (r *ImgProc) DoDarkBiasCorrection() {
r.PanImage.SubtractFloat(DarkBiasValue)
for i := 0; i < len(r.registeredMssImages); i++ {
r.registeredMssImages[i].SubtractFloat(DarkBiasValue)