Commit 9360ed8e authored by Andrey Filippov's avatar Andrey Filippov

Removed absolute paths

parent e6c4d24e
......@@ -571,132 +571,132 @@ int main(int argc, char **argv)
#if TEST_LWIR
const char* kernel_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn0_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn1_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn2_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn3_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn4_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn5_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn6_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn7_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn8_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn9_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn10_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn11_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn12_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn13_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn14_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn15_transposed.kernel"};
"clt/aux_chn0_transposed.kernel",
"clt/aux_chn1_transposed.kernel",
"clt/aux_chn2_transposed.kernel",
"clt/aux_chn3_transposed.kernel",
"clt/aux_chn4_transposed.kernel",
"clt/aux_chn5_transposed.kernel",
"clt/aux_chn6_transposed.kernel",
"clt/aux_chn7_transposed.kernel",
"clt/aux_chn8_transposed.kernel",
"clt/aux_chn9_transposed.kernel",
"clt/aux_chn10_transposed.kernel",
"clt/aux_chn11_transposed.kernel",
"clt/aux_chn12_transposed.kernel",
"clt/aux_chn13_transposed.kernel",
"clt/aux_chn14_transposed.kernel",
"clt/aux_chn15_transposed.kernel"};
const char* kernel_offs_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn0_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn1_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn2_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn3_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn4_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn5_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn6_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn7_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn8_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn9_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn10_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn11_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn12_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn13_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn14_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn15_transposed.kernel_offsets"};
"clt/aux_chn0_transposed.kernel_offsets",
"clt/aux_chn1_transposed.kernel_offsets",
"clt/aux_chn2_transposed.kernel_offsets",
"clt/aux_chn3_transposed.kernel_offsets",
"clt/aux_chn4_transposed.kernel_offsets",
"clt/aux_chn5_transposed.kernel_offsets",
"clt/aux_chn6_transposed.kernel_offsets",
"clt/aux_chn7_transposed.kernel_offsets",
"clt/aux_chn8_transposed.kernel_offsets",
"clt/aux_chn9_transposed.kernel_offsets",
"clt/aux_chn10_transposed.kernel_offsets",
"clt/aux_chn11_transposed.kernel_offsets",
"clt/aux_chn12_transposed.kernel_offsets",
"clt/aux_chn13_transposed.kernel_offsets",
"clt/aux_chn14_transposed.kernel_offsets",
"clt/aux_chn15_transposed.kernel_offsets"};
const char* image_files[] = {
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn0.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn1.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn2.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn3.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn4.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn5.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn6.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn7.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn8.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn9.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn10.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn11.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn12.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn13.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn14.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn15.bayer"};
"clt/aux_chn0.bayer",
"clt/aux_chn1.bayer",
"clt/aux_chn2.bayer",
"clt/aux_chn3.bayer",
"clt/aux_chn4.bayer",
"clt/aux_chn5.bayer",
"clt/aux_chn6.bayer",
"clt/aux_chn7.bayer",
"clt/aux_chn8.bayer",
"clt/aux_chn9.bayer",
"clt/aux_chn10.bayer",
"clt/aux_chn11.bayer",
"clt/aux_chn12.bayer",
"clt/aux_chn13.bayer",
"clt/aux_chn14.bayer",
"clt/aux_chn15.bayer"};
const char* ports_offs_xy_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn0.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn1.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn2.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn3.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn4.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn5.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn6.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn7.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn8.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn9.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn10.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn11.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn12.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn13.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn14.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn15.portsxy"};
"clt/aux_chn0.portsxy",
"clt/aux_chn1.portsxy",
"clt/aux_chn2.portsxy",
"clt/aux_chn3.portsxy",
"clt/aux_chn4.portsxy",
"clt/aux_chn5.portsxy",
"clt/aux_chn6.portsxy",
"clt/aux_chn7.portsxy",
"clt/aux_chn8.portsxy",
"clt/aux_chn9.portsxy",
"clt/aux_chn10.portsxy",
"clt/aux_chn11.portsxy",
"clt/aux_chn12.portsxy",
"clt/aux_chn13.portsxy",
"clt/aux_chn14.portsxy",
"clt/aux_chn15.portsxy"};
//#ifndef DBG_TILE
#ifdef SAVE_CLT
const char* ports_clt_file[] = { // never referenced
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn0.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn1.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn2.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn3.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn4.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn5.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn6.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn7.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn8.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn9.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn10.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn11.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn12.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn13.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn14.clt",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn15.clt"};
"clt/aux_chn0.clt",
"clt/aux_chn1.clt",
"clt/aux_chn2.clt",
"clt/aux_chn3.clt",
"clt/aux_chn4.clt",
"clt/aux_chn5.clt",
"clt/aux_chn6.clt",
"clt/aux_chn7.clt",
"clt/aux_chn8.clt",
"clt/aux_chn9.clt",
"clt/aux_chn10.clt",
"clt/aux_chn11.clt",
"clt/aux_chn12.clt",
"clt/aux_chn13.clt",
"clt/aux_chn14.clt",
"clt/aux_chn15.clt"};
#endif
const char* result_rbg_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn0.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn1.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn2.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn3.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn4.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn5.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn6.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn7.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn8.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn9.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn10.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn11.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn12.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn13.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn14.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/aux_chn15.rbg"};
"clt/aux_chn0.rbg",
"clt/aux_chn1.rbg",
"clt/aux_chn2.rbg",
"clt/aux_chn3.rbg",
"clt/aux_chn4.rbg",
"clt/aux_chn5.rbg",
"clt/aux_chn6.rbg",
"clt/aux_chn7.rbg",
"clt/aux_chn8.rbg",
"clt/aux_chn9.rbg",
"clt/aux_chn10.rbg",
"clt/aux_chn11.rbg",
"clt/aux_chn12.rbg",
"clt/aux_chn13.rbg",
"clt/aux_chn14.rbg",
"clt/aux_chn15.rbg"};
//#endif
const char* result_corr_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_corr.corr";
const char* result_corr_quad_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_corr-quad.corr";
const char* result_corr_td_norm_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_corr-td-norm.corr";
/// const char* result_corr_cross_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_corr-cross.corr";
const char* result_textures_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_texture_nodp.rgba";
const char* result_diff_rgb_combo_file ="/home/eyesis/git/tile_processor_gpu/clt/aux_diff_rgb_combo_nodp.drbg";
const char* result_textures_rgba_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_texture_rgba_nodp.rgba";
const char* result_corr_file = "clt/aux_corr.corr";
const char* result_corr_quad_file = "clt/aux_corr-quad.corr";
const char* result_corr_td_norm_file = "clt/aux_corr-td-norm.corr";
/// const char* result_corr_cross_file = "clt/aux_corr-cross.corr";
const char* result_textures_file = "clt/aux_texture_nodp.rgba";
const char* result_diff_rgb_combo_file ="clt/aux_diff_rgb_combo_nodp.drbg";
const char* result_textures_rgba_file = "clt/aux_texture_rgba_nodp.rgba";
const char* result_textures_file_dp = "/home/eyesis/git/tile_processor_gpu/clt/aux_texture_dp.rgba";
const char* result_diff_rgb_combo_file_dp ="/home/eyesis/git/tile_processor_gpu/clt/aux_diff_rgb_combo_dp.drbg";
const char* result_textures_rgba_file_dp = "/home/eyesis/git/tile_processor_gpu/clt/aux_texture_rgba_dp.rgba";
const char* result_textures_file_dp = "clt/aux_texture_dp.rgba";
const char* result_diff_rgb_combo_file_dp ="clt/aux_diff_rgb_combo_dp.drbg";
const char* result_textures_rgba_file_dp = "clt/aux_texture_rgba_dp.rgba";
const char* rByRDist_file = "/home/eyesis/git/tile_processor_gpu/clt/aux.rbyrdist";
const char* correction_vector_file = "/home/eyesis/git/tile_processor_gpu/clt/aux.correction_vector";
const char* geometry_correction_file = "/home/eyesis/git/tile_processor_gpu/clt/aux.geometry_correction";
const char* rByRDist_file = "clt/aux.rbyrdist";
const char* correction_vector_file = "clt/aux.correction_vector";
const char* geometry_correction_file = "clt/aux.geometry_correction";
float color_weights [] = {
1.0, // float weight0, // scale for R 0.5 / (1.0 + 0.5 +0.2)
......@@ -713,57 +713,57 @@ int main(int argc, char **argv)
#else
const char* kernel_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/main_chn0_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn1_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn2_transposed.kernel",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn3_transposed.kernel"};
"clt/main_chn0_transposed.kernel",
"clt/main_chn1_transposed.kernel",
"clt/main_chn2_transposed.kernel",
"clt/main_chn3_transposed.kernel"};
const char* kernel_offs_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/main_chn0_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn1_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn2_transposed.kernel_offsets",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn3_transposed.kernel_offsets"};
"clt/main_chn0_transposed.kernel_offsets",
"clt/main_chn1_transposed.kernel_offsets",
"clt/main_chn2_transposed.kernel_offsets",
"clt/main_chn3_transposed.kernel_offsets"};
const char* image_files[] = {
"/home/eyesis/git/tile_processor_gpu/clt/main_chn0.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn1.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn2.bayer",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn3.bayer"};
"clt/main_chn0.bayer",
"clt/main_chn1.bayer",
"clt/main_chn2.bayer",
"clt/main_chn3.bayer"};
const char* ports_offs_xy_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/main_chn0.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn1.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn2.portsxy",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn3.portsxy"};
"clt/main_chn0.portsxy",
"clt/main_chn1.portsxy",
"clt/main_chn2.portsxy",
"clt/main_chn3.portsxy"};
#ifdef SAVE_CLT
const char* ports_clt_file[] = { // never referenced
"/home/eyesis/git/tile_processor_gpu/clt/main_chn0.clt",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn1.clt",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn2.clt",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn3.clt"};
"clt/main_chn0.clt",
"clt/main_chn1.clt",
"clt/main_chn2.clt",
"clt/main_chn3.clt"};
#endif
const char* result_rbg_file[] = {
"/home/eyesis/git/tile_processor_gpu/clt/main_chn0.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn1.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn2.rbg",
"/home/eyesis/git/tile_processor_gpu/clt/main_chn3.rbg"};
"clt/main_chn0.rbg",
"clt/main_chn1.rbg",
"clt/main_chn2.rbg",
"clt/main_chn3.rbg"};
//#endif
const char* result_corr_file = "/home/eyesis/git/tile_processor_gpu/clt/main_corr.corr";
const char* result_corr_quad_file = "/home/eyesis/git/tile_processor_gpu/clt/main_corr-quad.corr";
const char* result_corr_td_norm_file = "/home/eyesis/git/tile_processor_gpu/clt/aux_corr-td-norm.corr";
/// const char* result_corr_cross_file = "/home/eyesis/git/tile_processor_gpu/clt/main_corr-cross.corr";
const char* result_textures_file = "/home/eyesis/git/tile_processor_gpu/clt/main_texture_nodp.rgba";
const char* result_diff_rgb_combo_file ="/home/eyesis/git/tile_processor_gpu/clt/main_diff_rgb_combo_nodp.drbg";
const char* result_textures_rgba_file = "/home/eyesis/git/tile_processor_gpu/clt/main_texture_rgba_nodp.rgba";
const char* result_corr_file = "clt/main_corr.corr";
const char* result_corr_quad_file = "clt/main_corr-quad.corr";
const char* result_corr_td_norm_file = "clt/aux_corr-td-norm.corr";
/// const char* result_corr_cross_file = "clt/main_corr-cross.corr";
const char* result_textures_file = "clt/main_texture_nodp.rgba";
const char* result_diff_rgb_combo_file ="clt/main_diff_rgb_combo_nodp.drbg";
const char* result_textures_rgba_file = "clt/main_texture_rgba_nodp.rgba";
const char* result_textures_file_dp = "/home/eyesis/git/tile_processor_gpu/clt/main_texture_dp.rgba";
const char* result_diff_rgb_combo_file_dp = "/home/eyesis/git/tile_processor_gpu/clt/main_diff_rgb_combo_dp.drbg";
const char* result_textures_rgba_file_dp = "/home/eyesis/git/tile_processor_gpu/clt/main_texture_rgba_dp.rgba";
const char* result_textures_file_dp = "clt/main_texture_dp.rgba";
const char* result_diff_rgb_combo_file_dp = "clt/main_diff_rgb_combo_dp.drbg";
const char* result_textures_rgba_file_dp = "clt/main_texture_rgba_dp.rgba";
const char* rByRDist_file = "/home/eyesis/git/tile_processor_gpu/clt/main.rbyrdist";
const char* correction_vector_file = "/home/eyesis/git/tile_processor_gpu/clt/main.correction_vector";
const char* geometry_correction_file = "/home/eyesis/git/tile_processor_gpu/clt/main.geometry_correction";
const char* rByRDist_file = "clt/main.rbyrdist";
const char* correction_vector_file = "clt/main.correction_vector";
const char* geometry_correction_file = "clt/main.geometry_correction";
float color_weights [] = {
0.294118, // float weight0, // scale for R 0.5 / (1.0 + 0.5 +0.2)
......@@ -1698,8 +1698,8 @@ int main(int argc, char **argv)
(corr_size_combo * corr_size_combo) * sizeof(float),
num_corr_combo,
cudaMemcpyDeviceToHost));
// const char* result_corr_quad_file = "/home/eyesis/git/tile_processor_gpu/clt/main_corr-quad.corr";
// const char* result_corr_cross_file = "/home/eyesis/git/tile_processor_gpu/clt/main_corr-cross.corr";
// const char* result_corr_quad_file = "clt/main_corr-quad.corr";
// const char* result_corr_cross_file = "clt/main_corr-cross.corr";
#ifndef NSAVE_CORR
printf("Writing phase correlation data to %s\n", result_corr_quad_file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment