OpenCV 4.11.0
开源计算机视觉
加载中...
搜索中...
无匹配项

详细描述

函数

NCVStatus nppsStCompact_32f (Ncv32f *d_src, Ncv32u srcLen, Ncv32f *d_dst, Ncv32u *p_dstLen, Ncv32f elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
 
NCVStatus nppsStCompact_32f_host (Ncv32f *h_src, Ncv32u srcLen, Ncv32f *h_dst, Ncv32u *dstLen, Ncv32f elemRemove)
 
NCVStatus nppsStCompact_32s (Ncv32s *d_src, Ncv32u srcLen, Ncv32s *d_dst, Ncv32u *p_dstLen, Ncv32s elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
 
NCVStatus nppsStCompact_32s_host (Ncv32s *h_src, Ncv32u srcLen, Ncv32s *h_dst, Ncv32u *dstLen, Ncv32s elemRemove)
 
NCVStatus nppsStCompact_32u (Ncv32u *d_src, Ncv32u srcLen, Ncv32u *d_dst, Ncv32u *p_dstLen, Ncv32u elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
 
NCVStatus nppsStCompact_32u_host (Ncv32u *h_src, Ncv32u srcLen, Ncv32u *h_dst, Ncv32u *dstLen, Ncv32u elemRemove)
 
NCVStatus nppsStCompactGetSize_32f (Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
 
NCVStatus nppsStCompactGetSize_32s (Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
 
NCVStatus nppsStCompactGetSize_32u (Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
 

函数文档

◆ nppsStCompact_32f()

NCVStatus nppsStCompact_32f ( Ncv32f * d_src,
Ncv32u srcLen,
Ncv32f * d_dst,
Ncv32u * p_dstLen,
Ncv32f elemRemove,
Ncv8u * pBuffer,
Ncv32u bufSize,
cudaDeviceProp & devProp )

#include <opencv2/cudalegacy/NPP_staging.hpp>

通过移除指定值元素来压缩输入向量。32 位浮点值

参见
nppsStCompact_32u

◆ nppsStCompact_32f_host()

NCVStatus nppsStCompact_32f_host ( Ncv32f * h_src,
Ncv32u srcLen,
Ncv32f * h_dst,
Ncv32u * dstLen,
Ncv32f elemRemove )

#include <opencv2/cudalegacy/NPP_staging.hpp>

通过移除指定值元素来压缩输入向量。32 位浮点值。主机实现

参见
nppsStCompact_32u_host

◆ nppsStCompact_32s()

NCVStatus nppsStCompact_32s ( Ncv32s * d_src,
Ncv32u srcLen,
Ncv32s * d_dst,
Ncv32u * p_dstLen,
Ncv32s elemRemove,
Ncv8u * pBuffer,
Ncv32u bufSize,
cudaDeviceProp & devProp )

#include <opencv2/cudalegacy/NPP_staging.hpp>

通过移除指定值元素来压缩输入向量。32 位有符号值

参见
nppsStCompact_32u

◆ nppsStCompact_32s_host()

NCVStatus nppsStCompact_32s_host ( Ncv32s * h_src,
Ncv32u srcLen,
Ncv32s * h_dst,
Ncv32u * dstLen,
Ncv32s elemRemove )

#include <opencv2/cudalegacy/NPP_staging.hpp>

通过移除指定值元素来压缩输入向量。32 位有符号值。主机实现

参见
nppsStCompact_32u_host

◆ nppsStCompact_32u()

NCVStatus nppsStCompact_32u ( Ncv32u * d_src,
Ncv32u srcLen,
Ncv32u * d_dst,
Ncv32u * p_dstLen,
Ncv32u elemRemove,
Ncv8u * pBuffer,
Ncv32u bufSize,
cudaDeviceProp & devProp )

#include <opencv2/cudalegacy/NPP_staging.hpp>

通过移除指定值元素来压缩输入向量。32 位无符号值

参数
d_src[IN] 源向量指针(CUDA 设备内存)
srcLen[IN] 源向量长度
d_dst[OUT] 目标向量指针(CUDA 设备内存)
p_dstLen[OUT] 目标向量长度指针(固定内存或 NULL)
elemRemove[IN] 要移除的值
pBuffer[IN] 预分配的临时缓冲区指针(CUDA 设备内存)
bufSize[IN] pBuffer 的大小(以字节为单位)
devProp[IN] CUDA 设备属性结构,包含纹理对齐信息
返回值
NCV 状态代码

◆ nppsStCompact_32u_host()

NCVStatus nppsStCompact_32u_host ( Ncv32u * h_src,
Ncv32u srcLen,
Ncv32u * h_dst,
Ncv32u * dstLen,
Ncv32u elemRemove )

#include <opencv2/cudalegacy/NPP_staging.hpp>

通过移除指定值元素来压缩输入向量。32 位无符号值。主机实现

参数
h_src[IN] 源向量指针(CUDA 设备内存)
srcLen[IN] 源向量长度
h_dst[OUT] 目标向量指针(CUDA 设备内存)
dstLen[OUT] 目标向量长度指针(可以为 NULL)
elemRemove[IN] 要移除的值
返回值
NCV 状态代码

◆ nppsStCompactGetSize_32f()

NCVStatus nppsStCompactGetSize_32f ( Ncv32u srcLen,
Ncv32u * pBufsize,
cudaDeviceProp & devProp )

#include <opencv2/cudalegacy/NPP_staging.hpp>

计算向量压缩的临时缓冲区大小。32 位浮点值

参见
nppsStCompactGetSize_32u

◆ nppsStCompactGetSize_32s()

NCVStatus nppsStCompactGetSize_32s ( Ncv32u srcLen,
Ncv32u * pBufsize,
cudaDeviceProp & devProp )

#include <opencv2/cudalegacy/NPP_staging.hpp>

计算向量压缩的临时缓冲区大小。32 位有符号值

参见
nppsStCompactGetSize_32u

◆ nppsStCompactGetSize_32u()

NCVStatus nppsStCompactGetSize_32u ( Ncv32u srcLen,
Ncv32u * pBufsize,
cudaDeviceProp & devProp )

#include <opencv2/cudalegacy/NPP_staging.hpp>

计算向量压缩临时缓冲区的大小。32位无符号值

参数
srcLen[输入] 输入向量的元素个数
pBufsize[输出] 指向主机变量的指针,返回临时缓冲区的大小(以字节为单位)
devProp[IN] CUDA 设备属性结构,包含纹理对齐信息
返回值
NCV 状态代码