配准后裁切掉MSS的末尾480行像素

This commit is contained in:
nuknal
2024-06-12 16:52:16 +08:00
parent 9ef23d9b4f
commit a4975d49b8
4 changed files with 8 additions and 3 deletions

View File

@@ -378,5 +378,9 @@ func (r *Registrator) DoCoRegistration() error {
color.RGBA{0, 0, 0, 0})
}
// 裁掉末尾的的 MSS 480 行 和 PAN 的 480*4 行
r.PanHeight -= 480 * 4
r.MssHeight -= 480
return nil
}