Template Class ImageManipOpsBase
Defined in File ImageManipConfig.hpp
Inheritance Relationships
Base Type
public dai::ImageManipOpsEnums(Class ImageManipOpsEnums)
Class Documentation
-
template<typename C>
class ImageManipOpsBase : public dai::ImageManipOpsEnums Public Functions
-
template<typename C2>
inline void cloneTo(ImageManipOpsBase<C2> &to) const
-
inline bool hasWarp(const size_t inputWidth, const size_t inputHeight) const
-
inline ImageManipOpsBase &addOp(ManipOp op)
-
inline ImageManipOpsBase &transformPerspective(std::array<float, 9> matrix)
-
inline ImageManipOpsBase &transformAffine(std::array<float, 4> matrix)
-
inline ImageManipOpsBase &transformFourPoints(std::array<dai::Point2f, 4> src, std::array<dai::Point2f, 4> dst, bool normalizedCoords = false)
-
inline ImageManipOpsBase &flipHorizontal(bool center = true)
-
inline ImageManipOpsBase &flipVertical(bool center = true)
-
inline ImageManipOpsBase &resize(float width, float height, bool normalized = false)
-
inline ImageManipOpsBase &crop(float x, float y, float w, float h, bool normalized = false, bool center = false)
-
inline ImageManipOpsBase &resizeFit()
-
inline ImageManipOpsBase &resizeFill()
-
inline ImageManipOpsBase &resizeWidthKeepAspectRatio(float width, bool normalized = false)
-
inline ImageManipOpsBase &resizeHeightKeepAspectRatio(float height, bool normalized = false)
-
inline ImageManipOpsBase &rotateRadians(float angle, bool center = true, float offsetX = 0, float offsetY = 0, bool normalized = false)
-
inline ImageManipOpsBase &rotateDegrees(float angle, bool center = true, float offsetX = 0, float offsetY = 0, bool normalized = false)
-
inline ImageManipOpsBase &translate(float offsetX, float offsetY, bool normalizedCoords = false)
-
inline ImageManipOpsBase &setOutputSize(float width, float height)
-
inline ImageManipOpsBase &setOutputResize(uint32_t width, uint32_t height, ResizeMode mode)
-
inline ImageManipOpsBase &setOutputCenter(bool c = true)
-
inline ImageManipOpsBase &setBackgroundColor(uint32_t red, uint32_t green, uint32_t blue)
-
inline ImageManipOpsBase &setBackgroundColor(uint32_t val)
-
inline ImageManipOpsBase &setColormap(Colormap clr)
-
inline ImageManipOpsBase &setUndistort(bool undistort)
-
inline bool getUndistort() const
-
inline ImageManipOpsBase &clear()
-
DEPTHAI_SERIALIZE(ImageManipOpsBase, operations, outputWidth, outputHeight, center, resizeMode, background, backgroundR, backgroundG, backgroundB, colormap, undistort)
-
template<typename C2>