CV-CUDA icon indicating copy to clipboard operation
CV-CUDA copied to clipboard

[BUG] cvcuda::Remap does not output the correct result on orin, and x86 runs coredump

Open Xiao-Hu-Z opened this issue 1 year ago • 1 comments

src_img = nvcv::Tensor(n_img_, {img_w_, img_h_}, nvcv::FMT_RGB8);
dst_img = nvcv::Tensor(n_img_, {img_w_, img_h_}, nvcv::FMT_RGB8);

bool   alignCorners{true};
float4 borderValue{0, 0, 0, 0};
cvcuda::Remap remap_op;
remap_op(stream_, src_img, dst_img, map_tensor_, NVCV_INTERP_NEAREST, 
    NVCV_INTERP_NEAREST, NVCV_REMAP_ABSOLUTE_NORMALIZED, static_cast<int8_t>(alignCorners),
    NVCV_BORDER_CONSTANT, borderValue);

Xiao-Hu-Z avatar Jan 08 '25 07:01 Xiao-Hu-Z

@Xiao-Hu-Z - can you share what is the output that you are receiving at your end? Also, what version of CV-CUDA are you currently using?

shiremathNV avatar Apr 14 '25 20:04 shiremathNV