Template Class Warp
Defined in File ImageManipImpl.hpp
Inheritance Relationships
Derived Type
public dai::impl::WarpH< ImageManipBuffer, ImageManipData >(Template Class WarpH)
Class Documentation
-
template<template<typename T> typename ImageManipBuffer, typename ImageManipData>
class Warp Subclassed by dai::impl::WarpH< ImageManipBuffer, ImageManipData >
Public Functions
-
Warp() = default
-
virtual ~Warp() = default
-
inline virtual void init(ImageManipProperties&)
-
virtual void build(const FrameSpecs srcFrameSpecs, const FrameSpecs dstFrameSpecs, const ImgFrame::Type type, const std::array<std::array<float, 3>, 3> matrix, std::vector<std::array<std::array<float, 2>, 4>> srcCorners) = 0
-
virtual void buildUndistort(bool enable, const std::array<float, 9> &cameraMatrix, const std::array<float, 9> &newCameraMatrix, const std::vector<float> &distCoeffs, const ImgFrame::Type type, const uint32_t srcWidth, const uint32_t srcHeight, const uint32_t dstWidth, const uint32_t dstHeight) = 0
Public Members
-
std::array<std::array<float, 3>, 3> matrix
-
ImageManipOpsBase<Container>::Background background = ImageManipOpsBase<Container>::Background::COLOR
-
uint32_t backgroundColor[3] = {0, 0, 0}
-
bool enableUndistort = false
-
bool undistortOneShot = false
-
FrameSpecs srcSpecs
-
FrameSpecs dstSpecs
-
size_t sourceMinX
-
size_t sourceMinY
-
size_t sourceMaxX
-
size_t sourceMaxY
Protected Functions
-
bool isIdentityWarp() const
Protected Attributes
-
std::shared_ptr<spdlog::async_logger> logger
-
Warp() = default