1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

Doxygen documentation for all modules

This commit is contained in:
Maksim Shabunin
2014-11-20 18:03:57 +03:00
parent 525c4d5ecd
commit a20c5c8dd9
179 changed files with 6621 additions and 1179 deletions

View File

@@ -43,6 +43,9 @@
#ifndef OPENCV_BRIDGE_HPP_
#define OPENCV_BRIDGE_HPP_
/** @defgroup matlab MATLAB Bridge
*/
#include "mxarray.hpp"
#include <vector>
#include <string>
@@ -55,6 +58,9 @@
namespace cv {
namespace bridge {
//! @addtogroup matlab
//! @{
/*
* Custom typedefs
* Parsed names from the hdr_parser
@@ -608,7 +614,7 @@ void deepCopyAndTranspose(const matlab::MxArray& in, cv::Mat& out) {
//gemt('C', in.rows(), in.cols(), inp, in.rows(), outp, out.step1());
}
//! @}
} // namespace bridge
} // namespace cv

View File

@@ -53,10 +53,16 @@ using Map = std::unordered_map<KeyType, ValueType>;
#else
//! @addtogroup matlab
//! @{
// If we don't have C++11 support, we wrap another map implementation
// in the same public API as unordered_map
//! @cond IGNORED
#include <map>
#include <stdexcept>
//! @endcond
template <typename KeyType, typename ValueType>
class Map {
@@ -85,6 +91,8 @@ public:
}
};
//! @}
} // namespace matlab
#endif

View File

@@ -76,6 +76,10 @@ extern "C" {
#endif
namespace matlab {
//! @addtogroup matlab
//! @{
// ----------------------------------------------------------------------------
// PREDECLARATIONS
// ----------------------------------------------------------------------------
@@ -679,6 +683,8 @@ public:
}
};
//! @}
} // namespace matlab
#endif

View File

@@ -43,6 +43,9 @@
#ifndef OPENCV_TRANSPOSE_HPP_
#define OPENCV_TRANSPOSE_HPP_
//! @addtogroup matlab
//! @{
template <typename InputScalar, typename OutputScalar>
void transposeBlock(const size_t M, const size_t N, const InputScalar* src, size_t lda, OutputScalar* dst, size_t ldb) {
InputScalar cache[16];
@@ -138,4 +141,7 @@ void transpose4x4<float, float>(const float* src, size_t lda, float* dst, size_t
}
#endif
//! @}
#endif