OpenCV 4.10.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) |
NCVStatus nppsStCompact_32f_host | ( | Ncv32f * | h_src, |
Ncv32u | srcLen, | ||
Ncv32f * | h_dst, | ||
Ncv32u * | dstLen, | ||
Ncv32f | elemRemove | ||
) |
#include <opencv2/cudalegacy/NPP_staging.hpp>
通过移除指定值的元素来压缩输入向量。32 位浮点值。主机实现
NCVStatus nppsStCompact_32s_host | ( | Ncv32s * | h_src, |
Ncv32u | srcLen, | ||
Ncv32s * | h_dst, | ||
Ncv32u * | dstLen, | ||
Ncv32s | elemRemove | ||
) |
#include <opencv2/cudalegacy/NPP_staging.hpp>
通过移除指定值的元素来压缩输入向量。32 位有符号值。主机实现
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 设备属性结构,包含纹理对齐信息 |
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] 要移除的值 |
#include <opencv2/cudalegacy/NPP_staging.hpp>
计算向量压缩的临时缓冲区大小。32 位无符号值
srcLen | [IN] 输入向量的长度(以元素为单位) |
pBufsize | [OUT] 指向主机变量的指针,该变量返回临时缓冲区的大小(以字节为单位) |
devProp | [IN] CUDA 设备属性结构,包含纹理对齐信息 |