Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
Defines and implements functions related to GENERAL operations on images. All functions are defined within the imgops namespace. More...
Go to the source code of this file.
Namespaces | |
namespace | imgops |
Namespace containing functions related to GENERAL operations on images or other large binary operations. | |
Functions | |
int | imgops::GetSLToOpenCVMatType (const sl::MAT_TYPE slType) |
Provides an easy method of mapping sl::Mat types to cv::Mat types. | |
sl::MAT_TYPE | imgops::GetCVToOpenSLMatType (const int cvType) |
Provides an easy method of mapping cv::Mat types to sl::Mat types. | |
cv::Mat | imgops::ConvertSLMatToCVMat (sl::Mat &slInputMat) |
Convert a ZEDSDK sl::Mat object into an OpenCV cv::Mat object. This copies the mat from GPU memory to CPU memory. | |
cv::cuda::GpuMat | imgops::ConvertSLMatToGPUMat (sl::Mat &slInputMat) |
Convert a ZEDSDK sl::Mat object into an OpenCV cv::cuda::GpuMat object. Keeps all Mat memory in GPU VRAM for faster processing. | |
sl::Mat | imgops::ConvertCVMatToSLMat (cv::Mat &cvInputMat) |
Convert an OpenCV cv::Mat object into a ZEDSDK sl::Mat object. This copies the mat from CPU memory to GPU memory. | |
sl::Mat | imgops::ConvertGPUMatToSLMat (cv::cuda::GpuMat &cvInputMat) |
Convert an OpenCV cv::Mat object into a ZEDSDK sl::Mat object. This copies the mat from CPU memory to GPU memory. | |
void | imgops::SplitPointCloudColors (cv::Mat &cvInputPointCloud, cv::Mat &cvOutputColors) |
Given a cv::Mat containing X, Y, Z, and BGRA values for each pixel in the third dimension, repackage the colors values and store them in a new mat. | |
void | imgops::CustomBilateralFilter (cv::Mat &cvInputFrame, ushort usDiameter, double dSigmaColor, double dSigmaSpace) |
Custom implementation of bilateral filter (since openCV is slow) | |
void | imgops::ColorReduce (cv::Mat &cvFrame, int nDiv=64) |
Given an image and a divisor, divide the precision of the elements. | |
Defines and implements functions related to GENERAL operations on images. All functions are defined within the imgops namespace.