Module cudalegacy

Module cudalegacy 

Source
Expand description

§Legacy support

Modules§

prelude

Structs§

CUDA_BackgroundSubtractorFGD
The class discriminates between foreground and background pixels by building and maintaining a model of the background.
CUDA_BackgroundSubtractorGMG
Background/Foreground Segmentation Algorithm.
CUDA_FGDParams
CUDA_FastOpticalFlowBM
CUDA_ImagePyramid

Enums§

NCVMemoryType
NCVMemoryType
NppStBorderType
Border type
NppStInterpMode
Filter types for image resizing

Constants§

HAAR_STDDEV_BORDER
HaarFeature64_CreateCheck_MaxRectField
HaarFeatureDescriptor32_CreateCheck_MaxFeatureOffset
HaarFeatureDescriptor32_CreateCheck_MaxNumFeatures
HaarFeatureDescriptor32_Interpret_MaskFlagLeftNodeLeaf
HaarFeatureDescriptor32_Interpret_MaskFlagRightNodeLeaf
HaarFeatureDescriptor32_Interpret_MaskFlagTilted
HaarFeatureDescriptor32_NumFeatures_Shift
HaarStage64_Interpret_MaskRootNodeOffset
HaarStage64_Interpret_MaskRootNodes
HaarStage64_Interpret_ShiftRootNodeOffset
NCVMemoryTypeDevice
NCVMemoryTypeHostPageable
NCVMemoryTypeHostPinned
NCVMemoryTypeNone
NCVPipeObjDet_Default
NCVPipeObjDet_FindLargestObject
NCVPipeObjDet_UseFairImageScaling
NCVPipeObjDet_VisualizeInPlace
NCV_ALLOCATOR_BAD_ALLOC
NCV_ALLOCATOR_BAD_DEALLOC
NCV_ALLOCATOR_BAD_REUSE
NCV_ALLOCATOR_DEALLOC_ORDER
NCV_ALLOCATOR_INSUFFICIENT_CAPACITY
NCV_ALLOCATOR_NOT_INITIALIZED
NCV_CUDA_ERROR
NCV_DIMENSIONS_INVALID
NCV_FILE_ERROR
NCV_HAAR_INVALID_PIXEL_STEP
NCV_HAAR_TOO_LARGE_FEATURES
NCV_HAAR_TOO_MANY_FEATURES_IN_CASCADE
NCV_HAAR_TOO_MANY_FEATURES_IN_CLASSIFIER
NCV_HAAR_XML_LOADING_EXCEPTION
NCV_INCONSISTENT_INPUT
NCV_INVALID_ROI
NCV_INVALID_SCALE
NCV_INVALID_STEP
NCV_LAST_STATUS
Marker to continue error numeration in other files
NCV_MEM_COPY_ERROR
NCV_MEM_INSUFFICIENT_CAPACITY
NCV_MEM_RESIDENCE_ERROR
NCV_NOIMPL_HAAR_TILTED_FEATURES
NCV_NOT_IMPLEMENTED
NCV_NPP_ERROR
NCV_NULL_PTR
NCV_SUCCESS
NCV_TEXTURE_BIND_ERROR
NCV_UNKNOWN_ERROR
NCV_WARNING_HAAR_DETECTIONS_VECTOR_OVERFLOW
NPPST_CUDA_KERNEL_EXECUTION_ERROR
CUDA kernel execution error
NPPST_ERROR
Unknown error
NPPST_INVALID_ROI
Invalid region of interest argument
NPPST_INVALID_SCALE
Invalid scale parameter passed
NPPST_INVALID_STEP
Invalid image lines step argument (check sign, alignment, relation to image width)
NPPST_MEMCPY_ERROR
CUDA memory copy error
NPPST_MEMFREE_ERR
CUDA memory deallocation error
NPPST_MEM_ALLOC_ERR
CUDA memory allocation error
NPPST_MEM_INSUFFICIENT_BUFFER
Insufficient user-allocated buffer
NPPST_MEM_INTERNAL_ERROR
Internal memory management error
NPPST_MEM_RESIDENCE_ERROR
Memory residence error detected (check if pointers should be device or pinned)
NPPST_NULL_POINTER_ERROR
NULL pointer argument error
NPPST_SUCCESS
Successful operation (same as NPP_NO_ERROR)
NPPST_TEXTURE_BIND_ERROR
CUDA texture binding error or non-zero offset returned
OBJDET_MASK_ELEMENT_INVALID_32U
RECT_SIMILARITY_PROPORTION
nppStBicubic
Bicubic convolution filter, a = -0.5 (cubic Hermite spline)
nppStBorderClamp
Clamp out of range position to borders
nppStBorderMirror
reflect out of range position across borders
nppStBorderNone
There is no need to define additional pixels, image is extended already
nppStBorderWrap
Wrap out of range position. Image becomes periodic.
nppStSupersample
Supersampling. For downscaling only

Traits§

CUDA_BackgroundSubtractorFGDTrait
Mutable methods for crate::cudalegacy::CUDA_BackgroundSubtractorFGD
CUDA_BackgroundSubtractorFGDTraitConst
Constant methods for crate::cudalegacy::CUDA_BackgroundSubtractorFGD
CUDA_BackgroundSubtractorGMGTrait
Mutable methods for crate::cudalegacy::CUDA_BackgroundSubtractorGMG
CUDA_BackgroundSubtractorGMGTraitConst
Constant methods for crate::cudalegacy::CUDA_BackgroundSubtractorGMG
CUDA_FGDParamsTrait
Mutable methods for crate::cudalegacy::CUDA_FGDParams
CUDA_FGDParamsTraitConst
Constant methods for crate::cudalegacy::CUDA_FGDParams
CUDA_FastOpticalFlowBMTrait
Mutable methods for crate::cudalegacy::CUDA_FastOpticalFlowBM
CUDA_FastOpticalFlowBMTraitConst
Constant methods for crate::cudalegacy::CUDA_FastOpticalFlowBM
CUDA_ImagePyramidTrait
Mutable methods for crate::cudalegacy::CUDA_ImagePyramid
CUDA_ImagePyramidTraitConst
Constant methods for crate::cudalegacy::CUDA_ImagePyramid

Functions§

calc_optical_flow_bm
Calculates optical flow for 2 images using block matching algorithm
calc_optical_flow_bm_def
Calculates optical flow for 2 images using block matching algorithm
connectivity_mask
compute mask for Generalized Flood fill componetns labeling.
connectivity_mask_def
compute mask for Generalized Flood fill componetns labeling.
create_background_subtractor_fgd
Creates FGD Background Subtractor
create_background_subtractor_fgd_def
Creates FGD Background Subtractor
create_background_subtractor_gmg
Creates GMG Background Subtractor
create_background_subtractor_gmg_def
Creates GMG Background Subtractor
create_image_pyramid
C++ default parameters
create_image_pyramid_def
Note
create_optical_flow_needle_map
graphcut
performs labeling via graph cuts of a 2D regular 4-connected graph.
graphcut_1
performs labeling via graph cuts of a 2D regular 8-connected graph.
graphcut_1_def
performs labeling via graph cuts of a 2D regular 8-connected graph.
graphcut_def
performs labeling via graph cuts of a 2D regular 4-connected graph.
interpolate_frames
Interpolates frames (images) using provided optical flow (displacement field).
interpolate_frames_def
Interpolates frames (images) using provided optical flow (displacement field).
label_components
performs connected componnents labeling.
label_components_def
performs connected componnents labeling.
project_points
C++ default parameters
project_points_def
Note
solve_pnp_ransac
Finds the object pose from 3D-2D point correspondences.
solve_pnp_ransac_def
Finds the object pose from 3D-2D point correspondences.
transform_points
C++ default parameters
transform_points_def
Note

Type Aliases§

NCVDebugOutputHandler
NCVStatus
Ncv8s
Ncv8u
Ncv16s
Ncv16u
Ncv32f
Ncv32f_a
Ncv32s
Ncv32u
Ncv32u_a
Ncv64f
Ncv64s
Ncv64u
NcvBool