mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 03:22:07 +08:00
modeldata.h: cleanup ecam_intrinsic_matrix (#22135)
old-commit-hash: 31c743b40ec73815b0b99d99a5e9028a46679488
This commit is contained in:
@@ -34,13 +34,9 @@ const mat3 fcam_intrinsic_matrix =
|
||||
0., 0., 1.}};
|
||||
|
||||
// without unwarp, focal length is for center portion only
|
||||
const mat3 ecam_intrinsic_matrix =
|
||||
Hardware::TICI() ? (mat3){{620.0, 0.0, 1928.0 / 2,
|
||||
0.0, 620.0, 1208.0 / 2,
|
||||
0.0, 0.0, 1.0}}
|
||||
: (mat3){{0., 0., 0.,
|
||||
0., 0., 0.,
|
||||
0., 0., 0.}};
|
||||
const mat3 ecam_intrinsic_matrix = (mat3){{620.0, 0.0, 1928.0 / 2,
|
||||
0.0, 620.0, 1208.0 / 2,
|
||||
0.0, 0.0, 1.0}};
|
||||
|
||||
static inline mat3 get_model_yuv_transform(bool bayer = true) {
|
||||
float db_s = Hardware::TICI() ? 1.0 : 0.5; // debayering does a 2x downscale on EON
|
||||
|
||||
Reference in New Issue
Block a user