Open3D (C++ API)  0.18.0+252c867
Namespaces | Macros | Functions
NPPImage.cpp File Reference

(252c867 (Sun May 5 05:39:34 2024 +0000))

#include "open3d/t/geometry/kernel/NPPImage.h"
#include <npp.h>
#include "open3d/core/CUDAUtils.h"
#include "open3d/core/Dtype.h"
#include "open3d/core/ShapeUtil.h"
#include "open3d/core/Tensor.h"
#include "open3d/t/geometry/Image.h"
#include "open3d/utility/Logging.h"

Namespaces

 open3d
 
 open3d::t
 
 open3d::t::geometry
 
 open3d::t::geometry::npp
 

Macros

#define NPP_ARGS
 
#define NPP_ARGS
 
#define NPP_ARGS
 
#define NPP_ARGS
 
#define NPP_ARGS
 
#define NPP_ARGS_DX
 
#define NPP_ARGS_DY
 

Functions

void open3d::t::geometry::npp::RGBToGray (const core::Tensor &src_im, core::Tensor &dst_im)
 
void open3d::t::geometry::npp::Resize (const open3d::core::Tensor &src_im, open3d::core::Tensor &dst_im, t::geometry::Image::InterpType interp_type)
 
void open3d::t::geometry::npp::Dilate (const core::Tensor &src_im, core::Tensor &dst_im, int kernel_size)
 
void open3d::t::geometry::npp::Filter (const open3d::core::Tensor &src_im, open3d::core::Tensor &dst_im, const open3d::core::Tensor &kernel)
 
void open3d::t::geometry::npp::FilterBilateral (const core::Tensor &src_im, core::Tensor &dst_im, int kernel_size, float value_sigma, float distance_sigma)
 
void open3d::t::geometry::npp::FilterGaussian (const core::Tensor &src_im, core::Tensor &dst_im, int kernel_size, float sigma)
 
void open3d::t::geometry::npp::FilterSobel (const core::Tensor &src_im, core::Tensor &dst_im_dx, core::Tensor &dst_im_dy, int kernel_size)
 

Macro Definition Documentation

◆ NPP_ARGS [1/5]

#define NPP_ARGS
Value:
static_cast<const npp_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), \
static_cast<npp_dtype *>(dst_im.GetDataPtr()), \
dst_im.GetStride(0) * dtype.ByteSize(), size_ROI, context
ImGuiContext * context
Definition: Window.cpp:76

◆ NPP_ARGS [2/5]

#define NPP_ARGS
Value:
static_cast<const npp_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), src_size, src_roi, \
static_cast<npp_dtype *>(dst_im.GetDataPtr()), \
dst_im.GetStride(0) * dtype.ByteSize(), dst_size, dst_roi, \
it->second, context

◆ NPP_ARGS [3/5]

#define NPP_ARGS
Value:
static_cast<const npp_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), src_size, src_offset, \
static_cast<npp_dtype *>(dst_im.GetDataPtr()), \
dst_im.GetStride(0) * dtype.ByteSize(), size_ROI, \
static_cast<const uint8_t *>(mask.GetDataPtr()), mask_size, \
anchor, NPP_BORDER_REPLICATE, context

◆ NPP_ARGS [4/5]

#define NPP_ARGS
Value:
static_cast<const npp_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), src_size, src_offset, \
static_cast<npp_dtype *>(dst_im.GetDataPtr()), \
dst_im.GetStride(0) * dtype.ByteSize(), size_ROI, kernel_ptr, \
kernel_size, anchor, NPP_BORDER_REPLICATE, context

◆ NPP_ARGS [5/5]

#define NPP_ARGS
Value:
static_cast<const npp_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), src_size, src_offset, \
static_cast<npp_dtype *>(dst_im.GetDataPtr()), \
dst_im.GetStride(0) * dtype.ByteSize(), size_ROI, kernel_size / 2, \
1, value_sigma *value_sigma, distance_sigma *distance_sigma, \
NPP_BORDER_REPLICATE, context

◆ NPP_ARGS_DX

#define NPP_ARGS_DX
Value:
static_cast<const npp_src_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), src_size, src_offset, \
static_cast<npp_dst_dtype *>(dst_im_dx.GetDataPtr()), \
dst_im_dx.GetStride(0) * dst_im_dx.GetDtype().ByteSize(), \
size_ROI, it->second, NPP_BORDER_REPLICATE, context

◆ NPP_ARGS_DY

#define NPP_ARGS_DY
Value:
static_cast<const npp_src_dtype *>(src_im.GetDataPtr()), \
src_im.GetStride(0) * dtype.ByteSize(), src_size, src_offset, \
static_cast<npp_dst_dtype *>(dst_im_dy.GetDataPtr()), \
dst_im_dy.GetStride(0) * dst_im_dy.GetDtype().ByteSize(), \
size_ROI, it->second, NPP_BORDER_REPLICATE, context