image_merge.cuh 397 B

123456789101112131415
  1. #ifndef DEPTHGUIDE_IMAGE_MERGE_H
  2. #define DEPTHGUIDE_IMAGE_MERGE_H
  3. #include "image_utility.cuh"
  4. struct depth_mask_config {
  5. float lower = 0;
  6. float upper = 1;
  7. };
  8. void call_depth_mask(image_type_v2<uchar3> img, image_type_v2<float1> depth,
  9. image_type_v2<uchar4> out,
  10. depth_mask_config conf, cudaStream_t stream);
  11. #endif //DEPTHGUIDE_IMAGE_MERGE_H