|
class | Array |
| Implementation of Array class. More...
|
|
class | ArrayBase |
| Base implementation of Array. More...
|
|
class | ArrayN |
| Implementation of ArrayN class. More...
|
|
struct | AxisAngleRotation |
| A struct Structure used to store AxisAngle Rotation parameters. More...
|
|
struct | BBox |
| A struct. More...
|
|
struct | CameraDistortionModel |
| Struct type used to store Camera Distortion model type and coefficients. More...
|
|
struct | CameraExtrinsics |
| Struct type used to store Camera Extrinsics. More...
|
|
struct | CameraIntrinsics |
| Struct type used to store Camera Intrinsics. More...
|
|
struct | CameraModel |
|
class | Image |
|
class | Image< ImageType::BGR_F16 > |
|
class | Image< ImageType::BGR_F32 > |
|
class | Image< ImageType::BGR_U16 > |
|
class | Image< ImageType::BGR_U8 > |
|
class | Image< ImageType::NV12 > |
|
class | Image< ImageType::NV24 > |
|
class | Image< ImageType::PLANAR_BGR_F16 > |
|
class | Image< ImageType::PLANAR_BGR_F32 > |
|
class | Image< ImageType::PLANAR_BGR_U16 > |
|
class | Image< ImageType::PLANAR_BGR_U8 > |
|
class | Image< ImageType::PLANAR_RGB_F16 > |
|
class | Image< ImageType::PLANAR_RGB_F32 > |
|
class | Image< ImageType::PLANAR_RGB_U16 > |
|
class | Image< ImageType::PLANAR_RGB_U8 > |
|
class | Image< ImageType::PLANAR_RGBA_F16 > |
|
class | Image< ImageType::PLANAR_RGBA_F32 > |
|
class | Image< ImageType::PLANAR_RGBA_U16 > |
|
class | Image< ImageType::PLANAR_RGBA_U8 > |
|
class | Image< ImageType::RGB_F16 > |
|
class | Image< ImageType::RGB_F32 > |
|
class | Image< ImageType::RGB_U16 > |
|
class | Image< ImageType::RGB_U8 > |
|
class | Image< ImageType::RGBA_F16 > |
|
class | Image< ImageType::RGBA_F32 > |
|
class | Image< ImageType::RGBA_U16 > |
|
class | Image< ImageType::RGBA_U8 > |
|
class | Image< ImageType::Y_F16 > |
|
class | Image< ImageType::Y_F32 > |
|
class | Image< ImageType::Y_S16 > |
|
class | Image< ImageType::Y_S8 > |
|
class | Image< ImageType::Y_U16 > |
|
class | Image< ImageType::Y_U8 > |
|
struct | ImagePreProcessingParams |
| Struct type for image preprocessing params. More...
|
|
struct | ImageTraits |
| Image traits that map ImageType to TensorLayout, ChannelCount and ChannelType. More...
|
|
struct | ImageTraits< BGR_F32, 3 > |
|
struct | ImageTraits< BGR_F32, 4 > |
|
struct | ImageTraits< BGR_U16, 3 > |
|
struct | ImageTraits< BGR_U16, 4 > |
|
struct | ImageTraits< BGR_U8, 3 > |
|
struct | ImageTraits< BGR_U8, 4 > |
|
struct | ImageTraits< PLANAR_BGR_F32, 3 > |
|
struct | ImageTraits< PLANAR_BGR_F32, 4 > |
|
struct | ImageTraits< PLANAR_BGR_U16, 3 > |
|
struct | ImageTraits< PLANAR_BGR_U16, 4 > |
|
struct | ImageTraits< PLANAR_BGR_U8, 3 > |
|
struct | ImageTraits< PLANAR_BGR_U8, 4 > |
|
struct | ImageTraits< PLANAR_RGB_F32, 3 > |
|
struct | ImageTraits< PLANAR_RGB_F32, 4 > |
|
struct | ImageTraits< PLANAR_RGB_U16, 3 > |
|
struct | ImageTraits< PLANAR_RGB_U16, 4 > |
|
struct | ImageTraits< PLANAR_RGB_U8, 3 > |
|
struct | ImageTraits< PLANAR_RGB_U8, 4 > |
|
struct | ImageTraits< RGB_F32, 3 > |
|
struct | ImageTraits< RGB_F32, 4 > |
|
struct | ImageTraits< RGB_U16, 3 > |
|
struct | ImageTraits< RGB_U16, 4 > |
|
struct | ImageTraits< RGB_U8, 3 > |
|
struct | ImageTraits< RGB_U8, 4 > |
|
struct | ImageTraits< Y_F32, 3 > |
|
struct | ImageTraits< Y_F32, 4 > |
|
struct | ImageTraits< Y_S16, 3 > |
|
struct | ImageTraits< Y_S16, 4 > |
|
struct | ImageTraits< Y_S8, 3 > |
|
struct | ImageTraits< Y_S8, 4 > |
|
struct | ImageTraits< Y_U16, 3 > |
|
struct | ImageTraits< Y_U16, 4 > |
|
struct | ImageTraits< Y_U8, 3 > |
|
struct | ImageTraits< Y_U8, 4 > |
|
struct | IsCompositeImage |
|
struct | IsInterleavedImage |
|
struct | IsPlanarImage |
|
struct | ModelInferenceParams |
| Struct to describe the model. More...
|
|
struct | ModelInputParams |
| Struct to describe input type required by the model. More...
|
|
struct | Pose3 |
| A struct. More...
|
|
struct | Quaternion |
| A struct. More...
|
|
class | Tensor |
|
class | Tensor< CDHW, CC, CT > |
| 4D CDHW tensors. More...
|
|
class | Tensor< CHW, CC, CT > |
| 3D CHW tensors. More...
|
|
class | Tensor< CL, CC, CT > |
| 2D CL tensors. More...
|
|
class | Tensor< DCHW, CC, CT > |
| 4D DCHW tensors. More...
|
|
class | Tensor< DHWC, CC, CT > |
| 4D DHWC tensors. More...
|
|
class | Tensor< HWC, CC, CT > |
| 3D HWC tensors. More...
|
|
class | Tensor< LC, CC, CT > |
| 2D LC tensors. More...
|
|
class | TensorBase |
| Implementation of TensorBase class. More...
|
|
struct | Vector2 |
| A struct. More...
|
|
struct | Vector3 |
| A struct. More...
|
|
|
Vector3d | RotationMatrixToRotationVector (const std::vector< double > &rotMatrix) |
| Convert rotation matrix to rotation vector. More...
|
|
AxisAngleRotation | RotationMatrixToAxisAngleRotation (const std::vector< double > &rotMatrix) |
| Convert rotation matrix to axis angle representation. More...
|
|
std::vector< double > | AxisAngleToRotationMatrix (const AxisAngleRotation &axisangle) |
| Convert axis angle representation to rotation matrix. More...
|
|
Vector3d | AxisAngleRotationToRotationVector (const AxisAngleRotation &axisangle) |
| Convert axis angle representation to 3d rotation vector. More...
|
|
AxisAngleRotation | RotationVectorToAxisAngleRotation (const Vector3d &rotVector) |
| Convert rotation vector to axis angle representation. More...
|
|
Quaternion | AxisAngleRotationToQuaternion (const AxisAngleRotation &axisangle) |
| Convert axis angle representation to quaternion. More...
|
|
AxisAngleRotation | QuaternionToAxisAngleRotation (const Quaternion &qrotation) |
| Convert quaternion rotation to axis angle rotation. More...
|
|
std::vector< double > | QuaternionToRotationMatrix (const Quaternion &qrotation) |
| Convert quaternion rotation to rotation matrix. More...
|
|
Quaternion | RotationMatrixToQuaternion (const std::vector< double > &rotMatrix) |
| Convert rotation matrix to Quaternion. More...
|
|
std::string | GetTensorLayoutAsString (TensorLayout TL) |
| Function to get name of a TensorLayout value as string. More...
|
|
std::string | GetChannelCountAsString (ChannelCount CC) |
| Function to get name of a ChannelCount value as string. More...
|
|
std::string | GetChannelTypeAsString (ChannelType CT) |
| Function to get name of a ChannelType value as string. More...
|
|
std::string | GetMemoryTypeAsString (bool isCPU) |
| Function to get name of a Memory type used. More...
|
|
std::size_t | GetChannelSize (ChannelType CT) |
| Function to get element size (in bytes) of a ChannelType. More...
|
|
size_t | GetImageElementSize (const ImageType type) |
| Get the bytes of each element for a specific ImageType. More...
|
|
size_t | GetImageChannelCount (const ImageType type) |
| Get the number of channels for a specific ImageType. More...
|
|
void | Copy (Image< NV12 > &dst, const Image< NV12 > &src, cudaStream_t stream=0) |
|
void | Copy (Image< NV24 > &dst, const Image< NV24 > &src, cudaStream_t stream=0) |
|
void | TensorBaseCopy (TensorBase &dst, const TensorBase &src, cudaStream_t stream=0) |
| Implementation of tensor copy. More...
|
|
void | TensorBaseCopy2D (TensorBase &dst, const TensorBase &src, int dstPitch, int srcPitch, int widthInBytes, int height, cudaStream_t stream=0) |
| Implementation of tensor copy for 2D pitch linear tensors. More...
|
|
template<TensorLayout TL, ChannelCount CC, ChannelType CT, typename std::enable_if< TL !=HWC &&TL !=CHW &&TL !=NHWC &&TL !=NCHW >::type * = nullptr> |
void | Copy (Tensor< TL, CC, CT > &dst, const Tensor< TL, CC, CT > &src, cudaStream_t stream=0) |
| Memory copy function between two non HWC/CHW/NHWC/NCHW Tensors. More...
|
|
template<TensorLayout TL, ChannelCount CC, ChannelType CT, typename std::enable_if< TL !=HWC &&TL !=CHW &&TL !=NHWC &&TL !=NCHW >::type * = nullptr>
Memory copy function between two non HWC/CHW/NHWC/NCHW Tensors.
Memory copy function between two NCHW Tensors.
Memory copy function between two CHW Tensors.
Memory copy function between two NHWC Tensors.
Memory copy function between two HWC Tensors.
- Template Parameters
-
TL | TensorLayout type. |
CC | Channel Count. |
CT | ChannelType. |
- Parameters
-
dst | destination Tensor. |
src | source Tensor which copy from. |
stream | cuda stream. |
Definition at line 52 of file Memory.h.
References TensorBaseCopy().
size_t cvcore::GetImageChannelCount |
( |
const ImageType |
type | ) |
|
|
inline |
Get the number of channels for a specific ImageType.
Definition at line 435 of file Image.h.
References BGR_F16, BGR_F32, BGR_U16, BGR_U8, PLANAR_BGR_F16, PLANAR_BGR_F32, PLANAR_BGR_U16, PLANAR_BGR_U8, PLANAR_RGB_F16, PLANAR_RGB_F32, PLANAR_RGB_U16, PLANAR_RGB_U8, PLANAR_RGBA_F16, PLANAR_RGBA_F32, PLANAR_RGBA_U16, PLANAR_RGBA_U8, RGB_F16, RGB_F32, RGB_U16, RGB_U8, RGBA_F16, RGBA_F32, RGBA_U16, RGBA_U8, Y_F16, Y_F32, Y_S16, Y_S8, Y_U16, and Y_U8.
size_t cvcore::GetImageElementSize |
( |
const ImageType |
type | ) |
|
|
inline |
Get the bytes of each element for a specific ImageType.
Definition at line 375 of file Image.h.
References BGR_F16, BGR_F32, BGR_U16, BGR_U8, PLANAR_BGR_F16, PLANAR_BGR_F32, PLANAR_BGR_U16, PLANAR_BGR_U8, PLANAR_RGB_F16, PLANAR_RGB_F32, PLANAR_RGB_U16, PLANAR_RGB_U8, PLANAR_RGBA_F16, PLANAR_RGBA_F32, PLANAR_RGBA_U16, PLANAR_RGBA_U8, RGB_F16, RGB_F32, RGB_U16, RGB_U8, RGBA_F16, RGBA_F32, RGBA_U16, RGBA_U8, Y_F16, Y_F32, Y_S16, Y_S8, Y_U16, and Y_U8.