aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinhang Liu <yinhangx.liu@intel.com>2019-03-06 10:31:21 +0800
committerZong Wei <wei.zong@intel.com>2019-03-27 15:01:23 +0800
commit71d3c3c5c650e8163c183858001bc86f572d9064 (patch)
treed67eeb08d1169266ab0835990b8f5a5becf62205
parent72a2f7d1fc2d2e8498a3bfe859c0fb0b365c6844 (diff)
downloadlibxcam-71d3c3c5c650e8163c183858001bc86f572d9064.tar.gz
fisheyedewarp: correct debug info
-rw-r--r--xcore/surview_fisheye_dewarp.cpp9
-rw-r--r--xcore/surview_fisheye_dewarp.h3
2 files changed, 7 insertions, 5 deletions
diff --git a/xcore/surview_fisheye_dewarp.cpp b/xcore/surview_fisheye_dewarp.cpp
index 6c0830c..7e45eac 100644
--- a/xcore/surview_fisheye_dewarp.cpp
+++ b/xcore/surview_fisheye_dewarp.cpp
@@ -60,18 +60,19 @@ SurViewFisheyeDewarp::get_extrinsic_param()
}
void
-SurViewFisheyeDewarp::fisheye_dewarp(MapTable &map_table, uint32_t table_w, uint32_t table_h, uint32_t image_w, uint32_t image_h, const BowlDataConfig &bowl_config)
+SurViewFisheyeDewarp::fisheye_dewarp(MapTable &map_table, uint32_t table_w, uint32_t table_h,
+ uint32_t image_w, uint32_t image_h, const BowlDataConfig &bowl_config)
{
PointFloat3 world_coord;
PointFloat3 cam_coord;
PointFloat3 cam_world_coord;
PointFloat2 image_coord;
- XCAM_LOG_DEBUG ("fisheye-dewarp:\n table(%dx%d), out_size(%dx%d)"
- "bowl(start:%.1f, end:%.1f, ground:%.2f, wall:%.2f, a:%.2f, b:%.2f, c:%.2f, center_z:%.2f )",
+ XCAM_LOG_DEBUG ("fisheye-dewarp:\n table(%dx%d) out_size(%dx%d) "
+ "bowl(start:%.1f, end:%.1f, ground:%.2f, wall:%.2f, a:%.2f, b:%.2f, c:%.2f, center_z:%.2f)",
table_w, table_h, image_w, image_h,
bowl_config.angle_start, bowl_config.angle_end,
- bowl_config.wall_height, bowl_config.ground_length,
+ bowl_config.ground_length, bowl_config.wall_height,
bowl_config.a, bowl_config.b, bowl_config.c, bowl_config.center_z);
float scale_factor_w = (float)image_w / table_w;
diff --git a/xcore/surview_fisheye_dewarp.h b/xcore/surview_fisheye_dewarp.h
index 571b02a..3754942 100644
--- a/xcore/surview_fisheye_dewarp.h
+++ b/xcore/surview_fisheye_dewarp.h
@@ -36,7 +36,8 @@ public:
explicit SurViewFisheyeDewarp ();
virtual ~SurViewFisheyeDewarp ();
- void fisheye_dewarp(MapTable &map_table, uint32_t table_w, uint32_t table_h, uint32_t image_w, uint32_t image_h, const BowlDataConfig &bowl_config);
+ void fisheye_dewarp(MapTable &map_table, uint32_t table_w, uint32_t table_h,
+ uint32_t image_w, uint32_t image_h, const BowlDataConfig &bowl_config);
void set_intrinsic_param(const IntrinsicParameter &intrinsic_param);
void set_extrinsic_param(const ExtrinsicParameter &extrinsic_param);