Loading src/TileProcessor.cuh +23 −29 Original line number Diff line number Diff line Loading @@ -1233,7 +1233,7 @@ extern "C" __global__ void generate_RBGA( struct gc * gpu_geometry_correction, int colors, // number of colors (3/1) int is_lwir, // do not perform shot correction float params[5], float params[5], // mitigating CUDA_ERROR_INVALID_PTX /* float min_shot, // 10.0 float scale_shot, // 3.0 Loading @@ -1248,12 +1248,6 @@ extern "C" __global__ void generate_RBGA( float * gpu_texture_tiles) // (number of colors +1 + ?)*16*16 rgba texture tiles // float aaaa) // float * gpu_diff_rgb_combo) // diff[NUM_CAMS], R[NUM_CAMS], B[NUM_CAMS],G[NUM_CAMS] /* const size_t texture_rbga_stride, // in floats float * gpu_texture_tiles, // (number of colors +1 + ?)*16*16 rgba texture tiles float aaaa) */ { float min_shot = params[0]; // 10.0 float scale_shot = params[1]; // 3.0 Loading src/TileProcessor.h +24 −25 Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ extern "C" __global__ void imclt_rbg( int woi_theight, const size_t dstride); // in floats (pixels) /* extern "C" __global__ void generate_RBGA( // Parameters to generate texture tasks struct tp_task * gpu_tasks, Loading @@ -137,19 +136,19 @@ extern "C" __global__ void generate_RBGA( float ** gpu_clt, // [NUM_CAMS] ->[TILESY][TILESX][NUM_COLORS][DTT_SIZE*DTT_SIZE] // TODO: use geometry_correction rXY ! struct gc * gpu_geometry_correction, // float * gpu_geometry_correction, // float * gpu_port_offsets, // relative ports x,y offsets - just to scale differences, may be approximate int colors, // number of colors (3/1) int is_lwir, // do not perform shot correction float params[5], // mitigating CUDA_ERROR_INVALID_PTX /* float min_shot, // 10.0 float scale_shot, // 3.0 float diff_sigma, // pixel value/pixel change float diff_threshold, // pixel value/pixel change float min_agree, // minimal number of channels to agree on a point (real number to work with fuzzy averages) */ float weights[3], // scale for R,B,G int dust_remove, // Do not reduce average weight when only one image differs much from the average int keep_weights, // return channel weights after A in RGBA (was removed) const size_t texture_rbga_stride, // in floats float * gpu_texture_tiles, // (number of colors +1 + ?)*16*16 rgba texture tiles float * gpu_diff_rgb_combo); // diff[NUM_CAMS], R[NUM_CAMS], B[NUM_CAMS],G[NUM_CAMS] */ float * gpu_texture_tiles); // (number of colors +1 + ?)*16*16 rgba texture tiles Loading
src/TileProcessor.cuh +23 −29 Original line number Diff line number Diff line Loading @@ -1233,7 +1233,7 @@ extern "C" __global__ void generate_RBGA( struct gc * gpu_geometry_correction, int colors, // number of colors (3/1) int is_lwir, // do not perform shot correction float params[5], float params[5], // mitigating CUDA_ERROR_INVALID_PTX /* float min_shot, // 10.0 float scale_shot, // 3.0 Loading @@ -1248,12 +1248,6 @@ extern "C" __global__ void generate_RBGA( float * gpu_texture_tiles) // (number of colors +1 + ?)*16*16 rgba texture tiles // float aaaa) // float * gpu_diff_rgb_combo) // diff[NUM_CAMS], R[NUM_CAMS], B[NUM_CAMS],G[NUM_CAMS] /* const size_t texture_rbga_stride, // in floats float * gpu_texture_tiles, // (number of colors +1 + ?)*16*16 rgba texture tiles float aaaa) */ { float min_shot = params[0]; // 10.0 float scale_shot = params[1]; // 3.0 Loading
src/TileProcessor.h +24 −25 Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ extern "C" __global__ void imclt_rbg( int woi_theight, const size_t dstride); // in floats (pixels) /* extern "C" __global__ void generate_RBGA( // Parameters to generate texture tasks struct tp_task * gpu_tasks, Loading @@ -137,19 +136,19 @@ extern "C" __global__ void generate_RBGA( float ** gpu_clt, // [NUM_CAMS] ->[TILESY][TILESX][NUM_COLORS][DTT_SIZE*DTT_SIZE] // TODO: use geometry_correction rXY ! struct gc * gpu_geometry_correction, // float * gpu_geometry_correction, // float * gpu_port_offsets, // relative ports x,y offsets - just to scale differences, may be approximate int colors, // number of colors (3/1) int is_lwir, // do not perform shot correction float params[5], // mitigating CUDA_ERROR_INVALID_PTX /* float min_shot, // 10.0 float scale_shot, // 3.0 float diff_sigma, // pixel value/pixel change float diff_threshold, // pixel value/pixel change float min_agree, // minimal number of channels to agree on a point (real number to work with fuzzy averages) */ float weights[3], // scale for R,B,G int dust_remove, // Do not reduce average weight when only one image differs much from the average int keep_weights, // return channel weights after A in RGBA (was removed) const size_t texture_rbga_stride, // in floats float * gpu_texture_tiles, // (number of colors +1 + ?)*16*16 rgba texture tiles float * gpu_diff_rgb_combo); // diff[NUM_CAMS], R[NUM_CAMS], B[NUM_CAMS],G[NUM_CAMS] */ float * gpu_texture_tiles); // (number of colors +1 + ?)*16*16 rgba texture tiles