some more doc cleanup
This commit is contained in:
@@ -45,11 +45,11 @@ This class computes the disparity map using block matching algorithm. The class
|
||||
:math:`>` 0). If ``avergeTexThreshold = 0`` low textureness filtering is disabled, otherwise disparity is set to 0 in each point ``(x, y)`` where for left image
|
||||
:math:`\sum HorizontalGradiensInWindow(x, y, winSize) < (winSize \cdot winSize) \cdot avergeTexThreshold` i.e. input left image is low textured.
|
||||
|
||||
.. index:: cv::gpu::StereoBM_GPU::StereoBM_GPU
|
||||
.. index:: gpu::StereoBM_GPU::StereoBM_GPU
|
||||
|
||||
.. _cv::gpu::StereoBM_GPU::StereoBM_GPU:
|
||||
.. _gpu::StereoBM_GPU::StereoBM_GPU:
|
||||
|
||||
cv::gpu::StereoBM_GPU::StereoBM_GPU
|
||||
gpu::StereoBM_GPU::StereoBM_GPU
|
||||
-----------------------------------_
|
||||
.. c:function:: StereoBM_GPU::StereoBM_GPU()
|
||||
|
||||
@@ -67,11 +67,11 @@ cv::gpu::StereoBM_GPU::StereoBM_GPU
|
||||
|
||||
:param winSize: Block size.
|
||||
|
||||
.. index:: cv::gpu::StereoBM_GPU::operator ()
|
||||
.. index:: gpu::StereoBM_GPU::operator ()
|
||||
|
||||
.. _cv::gpu::StereoBM_GPU::operator ():
|
||||
.. _gpu::StereoBM_GPU::operator ():
|
||||
|
||||
cv::gpu::StereoBM_GPU::operator ()
|
||||
gpu::StereoBM_GPU::operator ()
|
||||
----------------------------------
|
||||
.. c:function:: void StereoBM_GPU::operator() (const GpuMat\& left, const GpuMat\& right, GpuMat\& disparity)
|
||||
|
||||
@@ -87,11 +87,11 @@ cv::gpu::StereoBM_GPU::operator ()
|
||||
|
||||
:param stream: Stream for the asynchronous version.
|
||||
|
||||
.. index:: cv::gpu::StereoBM_GPU::checkIfGpuCallReasonable
|
||||
.. index:: gpu::StereoBM_GPU::checkIfGpuCallReasonable
|
||||
|
||||
.. _cv::gpu::StereoBM_GPU::checkIfGpuCallReasonable:
|
||||
.. _gpu::StereoBM_GPU::checkIfGpuCallReasonable:
|
||||
|
||||
cv::gpu::StereoBM_GPU::checkIfGpuCallReasonable
|
||||
gpu::StereoBM_GPU::checkIfGpuCallReasonable
|
||||
-----------------------------------------------
|
||||
.. c:function:: bool StereoBM_GPU::checkIfGpuCallReasonable()
|
||||
|
||||
@@ -169,7 +169,7 @@ for data cost storage. ``width_step`` is the number of bytes in a line including
|
||||
|
||||
.. index:: gpu::StereoBeliefPropagation::StereoBeliefPropagation
|
||||
|
||||
cv::gpu::StereoBeliefPropagation::StereoBeliefPropagation
|
||||
gpu::StereoBeliefPropagation::StereoBeliefPropagation
|
||||
---------------------------------------------------------
|
||||
.. c:function:: StereoBeliefPropagation::StereoBeliefPropagation( int ndisp = DEFAULT_NDISP, int iters = DEFAULT_ITERS, int levels = DEFAULT_LEVELS, int msg_type = CV_32F)
|
||||
|
||||
@@ -191,8 +191,9 @@ cv::gpu::StereoBeliefPropagation::StereoBeliefPropagation
|
||||
|
||||
:param disc_single_jump: Discontinuity single jump.
|
||||
|
||||
:param msg_type: Type for messages. Supports ``CV_16SC1`` and ``CV_32FC1`` .
|
||||
``StereoBeliefPropagation`` uses truncated linear model for the data cost and discontinuity term:
|
||||
:param msg_type: Type for messages. Supports ``CV_16SC1`` and ``CV_32FC1``.
|
||||
|
||||
``StereoBeliefPropagation`` uses truncated linear model for the data cost and discontinuity term:
|
||||
|
||||
.. math::
|
||||
|
||||
@@ -214,15 +215,16 @@ By default ``StereoBeliefPropagation`` uses floating-point arithmetics and ``CV_
|
||||
|
||||
.. index:: gpu::StereoBeliefPropagation::estimateRecommendedParams
|
||||
|
||||
cv::gpu::StereoBeliefPropagation::estimateRecommendedParams
|
||||
----------------------------------------------------------- ```` ```` ```` ```` ````
|
||||
gpu::StereoBeliefPropagation::estimateRecommendedParams
|
||||
-----------------------------------------------------------
|
||||
|
||||
.. c:function:: void StereoBeliefPropagation::estimateRecommendedParams( int width, int height, int\& ndisp, int\& iters, int\& levels)
|
||||
|
||||
Some heuristics that tries to compute recommended parameters (ndisp, itersand levels) for specified image size (widthand height).
|
||||
|
||||
.. index:: gpu::StereoBeliefPropagation::operator ()
|
||||
|
||||
cv::gpu::StereoBeliefPropagation::operator ()
|
||||
gpu::StereoBeliefPropagation::operator ()
|
||||
---------------------------------------------
|
||||
.. c:function:: void StereoBeliefPropagation::operator()( const GpuMat\& left, const GpuMat\& right, GpuMat\& disparity)
|
||||
|
||||
@@ -313,7 +315,7 @@ qx_csbp
|
||||
|
||||
.. index:: gpu::StereoConstantSpaceBP::StereoConstantSpaceBP
|
||||
|
||||
cv::gpu::StereoConstantSpaceBP::StereoConstantSpaceBP
|
||||
gpu::StereoConstantSpaceBP::StereoConstantSpaceBP
|
||||
-----------------------------------------------------
|
||||
.. c:function:: StereoConstantSpaceBP::StereoConstantSpaceBP(int ndisp = DEFAULT_NDISP, int iters = DEFAULT_ITERS, int levels = DEFAULT_LEVELS, int nr_plane = DEFAULT_NR_PLANE, int msg_type = CV_32F)
|
||||
|
||||
@@ -340,7 +342,8 @@ cv::gpu::StereoConstantSpaceBP::StereoConstantSpaceBP
|
||||
:param min_disp_th: Minimal disparity threshold.
|
||||
|
||||
:param msg_type: Type for messages. Supports ``CV_16SC1`` and ``CV_32FC1`` .
|
||||
``StereoConstantSpaceBP`` uses truncated linear model for the data cost and discontinuity term:
|
||||
|
||||
``StereoConstantSpaceBP`` uses truncated linear model for the data cost and discontinuity term:
|
||||
|
||||
.. math::
|
||||
|
||||
@@ -362,15 +365,16 @@ By default ``StereoConstantSpaceBP`` uses floating-point arithmetics and ``CV_32
|
||||
|
||||
.. index:: gpu::StereoConstantSpaceBP::estimateRecommendedParams
|
||||
|
||||
cv::gpu::StereoConstantSpaceBP::estimateRecommendedParams
|
||||
--------------------------------------------------------- ```` ```` ```` ``_`` ```` ````
|
||||
gpu::StereoConstantSpaceBP::estimateRecommendedParams
|
||||
---------------------------------------------------------
|
||||
|
||||
.. c:function:: void StereoConstantSpaceBP::estimateRecommendedParams( int width, int height, int\& ndisp, int\& iters, int\& levels, int\& nr_plane)
|
||||
|
||||
Some heuristics that tries to compute parameters (ndisp, iters, levelsand nrplane) for specified image size (widthand height).
|
||||
|
||||
.. index:: gpu::StereoConstantSpaceBP::operator ()
|
||||
|
||||
cv::gpu::StereoConstantSpaceBP::operator ()
|
||||
gpu::StereoConstantSpaceBP::operator ()
|
||||
-------------------------------------------
|
||||
.. c:function:: void StereoConstantSpaceBP::operator()( const GpuMat\& left, const GpuMat\& right, GpuMat\& disparity)
|
||||
|
||||
@@ -425,7 +429,7 @@ qx_csbp
|
||||
|
||||
.. index:: gpu::DisparityBilateralFilter::DisparityBilateralFilter
|
||||
|
||||
cv::gpu::DisparityBilateralFilter::DisparityBilateralFilter
|
||||
gpu::DisparityBilateralFilter::DisparityBilateralFilter
|
||||
-----------------------------------------------------------
|
||||
.. c:function:: DisparityBilateralFilter::DisparityBilateralFilter( int ndisp = DEFAULT_NDISP, int radius = DEFAULT_RADIUS, int iters = DEFAULT_ITERS)
|
||||
|
||||
@@ -447,7 +451,7 @@ cv::gpu::DisparityBilateralFilter::DisparityBilateralFilter
|
||||
|
||||
.. index:: gpu::DisparityBilateralFilter::operator ()
|
||||
|
||||
cv::gpu::DisparityBilateralFilter::operator ()
|
||||
gpu::DisparityBilateralFilter::operator ()
|
||||
----------------------------------------------
|
||||
.. c:function:: void DisparityBilateralFilter::operator()( const GpuMat\& disparity, const GpuMat\& image, GpuMat\& dst)
|
||||
|
||||
@@ -465,11 +469,11 @@ cv::gpu::DisparityBilateralFilter::operator ()
|
||||
|
||||
.. index:: gpu::drawColorDisp
|
||||
|
||||
cv::gpu::drawColorDisp
|
||||
gpu::drawColorDisp
|
||||
----------------------
|
||||
.. c:function:: void drawColorDisp(const GpuMat\& src_disp, GpuMat\& dst_disp, int ndisp)
|
||||
.. c:function:: void gpu::drawColorDisp(const GpuMat\& src_disp, GpuMat\& dst_disp, int ndisp)
|
||||
|
||||
.. c:function:: void drawColorDisp(const GpuMat\& src_disp, GpuMat\& dst_disp, int ndisp, const Stream\& stream)
|
||||
.. c:function:: void gpu::drawColorDisp(const GpuMat\& src_disp, GpuMat\& dst_disp, int ndisp, const Stream\& stream)
|
||||
|
||||
Does coloring of disparity image.
|
||||
|
||||
@@ -487,11 +491,11 @@ This function converts
|
||||
|
||||
.. index:: gpu::reprojectImageTo3D
|
||||
|
||||
cv::gpu::reprojectImageTo3D
|
||||
gpu::reprojectImageTo3D
|
||||
---------------------------
|
||||
.. c:function:: void reprojectImageTo3D(const GpuMat\& disp, GpuMat\& xyzw, const Mat\& Q)
|
||||
.. c:function:: void gpu::reprojectImageTo3D(const GpuMat\& disp, GpuMat\& xyzw, const Mat\& Q)
|
||||
|
||||
.. c:function:: void reprojectImageTo3D(const GpuMat\& disp, GpuMat\& xyzw, const Mat\& Q, const Stream\& stream)
|
||||
.. c:function:: void gpu::reprojectImageTo3D(const GpuMat\& disp, GpuMat\& xyzw, const Mat\& Q, const Stream\& stream)
|
||||
|
||||
Reprojects disparity image to 3D space.
|
||||
|
||||
|
@@ -3,13 +3,13 @@ Data Structures
|
||||
|
||||
.. highlight:: cpp
|
||||
|
||||
.. index:: gpu::DevMem2D_
|
||||
.. index:: gpu::DevMem2D\_
|
||||
|
||||
.. _gpu::DevMem2D_:
|
||||
|
||||
gpu::DevMem2D_
|
||||
--------------
|
||||
.. c:type:: gpu::DevMem2D_
|
||||
gpu::DevMem2D\_
|
||||
---------------
|
||||
.. c:type:: gpu::DevMem2D\_
|
||||
|
||||
This is a simple lightweight class that encapsulate pitched memory on GPU. It is intended to pass to nvcc-compiled code, i.e. CUDA kernels. So it is used internally by OpenCV and by users writes own device code. Its members can be called both from host and from device code. ::
|
||||
|
||||
@@ -21,7 +21,7 @@ This is a simple lightweight class that encapsulate pitched memory on GPU. It is
|
||||
size_t step;
|
||||
|
||||
DevMem2D_() : cols(0), rows(0), data(0), step(0){};
|
||||
DevMem2D_(int rows_, int cols_, T *data_, size_t step_);
|
||||
DevMem2D_(int rows, int cols, T *data, size_t step);
|
||||
|
||||
template <typename U>
|
||||
explicit DevMem2D_(const DevMem2D_<U>& d);
|
||||
@@ -37,15 +37,15 @@ This is a simple lightweight class that encapsulate pitched memory on GPU. It is
|
||||
};
|
||||
|
||||
|
||||
.. index:: gpu::PtrStep_
|
||||
.. index:: gpu::PtrStep\_
|
||||
|
||||
.. _gpu::PtrStep_:
|
||||
.. gpu::PtrStep\_:
|
||||
|
||||
gpu::PtrStep_
|
||||
-------------
|
||||
.. c:type:: gpu::PtrStep_
|
||||
gpu::PtrStep\_
|
||||
--------------
|
||||
.. c:type:: gpu::PtrStep\_
|
||||
|
||||
This is structure is similar to DevMem2D_but contains only pointer and row step. Width and height fields are excluded due to performance reasons. The structure is for internal use or for users who write own device code. ::
|
||||
This is structure is similar to DevMem2D\_ but contains only pointer and row step. Width and height fields are excluded due to performance reasons. The structure is for internal use or for users who write own device code. ::
|
||||
|
||||
template<typename T> struct PtrStep_
|
||||
{
|
||||
@@ -64,13 +64,13 @@ This is structure is similar to DevMem2D_but contains only pointer and row step.
|
||||
};
|
||||
|
||||
|
||||
.. index:: gpu::PtrElemStrp_
|
||||
.. index:: gpu::PtrElemStrp\_
|
||||
|
||||
.. _gpu::PtrElemStrp_:
|
||||
.. gpu::PtrElemStrp\_:
|
||||
|
||||
gpu::PtrElemStrp_
|
||||
-----------------
|
||||
.. c:type:: gpu::PtrElemStrp_
|
||||
gpu::PtrElemStrp\_
|
||||
------------------
|
||||
.. c:type:: gpu::PtrElemStrp\_
|
||||
|
||||
This is structure is similar to DevMem2D_but contains only pointer and row step in elements. Width and height fields are excluded due to performance reasons. This class is can only be constructed if sizeof(T) is a multiple of 256. The structure is for internal use or for users who write own device code. ::
|
||||
|
||||
@@ -84,7 +84,7 @@ This is structure is similar to DevMem2D_but contains only pointer and row step
|
||||
|
||||
.. index:: gpu::GpuMat
|
||||
|
||||
.. _gpu::GpuMat:
|
||||
.. gpu::GpuMat:
|
||||
|
||||
gpu::GpuMat
|
||||
-----------
|
||||
@@ -136,9 +136,8 @@ Is it a bad practice to leave static or global GpuMat variables allocated, i.e.
|
||||
|
||||
See also:
|
||||
:func:`Mat`
|
||||
.. index:: gpu::CudaMem
|
||||
|
||||
.. _gpu::CudaMem:
|
||||
.. index:: gpu::CudaMem
|
||||
|
||||
gpu::CudaMem
|
||||
------------
|
||||
@@ -187,18 +186,18 @@ Please note that allocation size of such memory types is usually limited. For mo
|
||||
|
||||
.. index:: gpu::CudaMem::createMatHeader
|
||||
|
||||
cv::gpu::CudaMem::createMatHeader
|
||||
gpu::CudaMem::createMatHeader
|
||||
---------------------------------
|
||||
:func:`Mat`
|
||||
.. c:function:: Mat CudaMem::createMatHeader() const
|
||||
|
||||
.. c:function:: CudaMem::operator Mat() const
|
||||
.. cpp:function:: Mat CudaMem::createMatHeader() const
|
||||
|
||||
.. cpp:function:: CudaMem::operator Mat() const
|
||||
|
||||
Creates header without reference counting to CudaMem data.
|
||||
|
||||
.. index:: gpu::CudaMem::createGpuMatHeader
|
||||
|
||||
cv::gpu::CudaMem::createGpuMatHeader
|
||||
gpu::CudaMem::createGpuMatHeader
|
||||
------------------------------------
|
||||
:func:`gpu::GpuMat` ``_``
|
||||
.. c:function:: GpuMat CudaMem::createGpuMatHeader() const
|
||||
@@ -209,8 +208,8 @@ cv::gpu::CudaMem::createGpuMatHeader
|
||||
|
||||
.. index:: gpu::CudaMem::canMapHostMemory
|
||||
|
||||
cv::gpu::CudaMem::canMapHostMemory
|
||||
---------------------------------- ``_``
|
||||
gpu::CudaMem::canMapHostMemory
|
||||
----------------------------------
|
||||
.. c:function:: static bool CudaMem::canMapHostMemory()
|
||||
|
||||
Returns true if the current hardware supports address space mapping and ALLOCZEROCOPYmemory allocation
|
||||
@@ -270,7 +269,7 @@ This class encapsulated queue of the asynchronous calls. Some functions have ove
|
||||
|
||||
.. index:: gpu::Stream::queryIfComplete
|
||||
|
||||
cv::gpu::Stream::queryIfComplete
|
||||
gpu::Stream::queryIfComplete
|
||||
--------------------------------
|
||||
.. c:function:: bool Stream::queryIfComplete()
|
||||
|
||||
@@ -278,7 +277,7 @@ cv::gpu::Stream::queryIfComplete
|
||||
|
||||
.. index:: gpu::Stream::waitForCompletion
|
||||
|
||||
cv::gpu::Stream::waitForCompletion
|
||||
gpu::Stream::waitForCompletion
|
||||
----------------------------------
|
||||
.. c:function:: void Stream::waitForCompletion()
|
||||
|
||||
@@ -303,7 +302,7 @@ This class provides possibility to get ``cudaStream_t`` from
|
||||
|
||||
.. index:: gpu::createContinuous
|
||||
|
||||
cv::gpu::createContinuous
|
||||
gpu::createContinuous
|
||||
-------------------------
|
||||
.. c:function:: void createContinuous(int rows, int cols, int type, GpuMat\& m)
|
||||
|
||||
@@ -329,7 +328,7 @@ Matrix is called continuous if its elements are stored continuously, i.e. wuthou
|
||||
|
||||
.. index:: gpu::ensureSizeIsEnough
|
||||
|
||||
cv::gpu::ensureSizeIsEnough
|
||||
gpu::ensureSizeIsEnough
|
||||
---------------------------
|
||||
.. c:function:: void ensureSizeIsEnough(int rows, int cols, int type, GpuMat\& m)
|
||||
|
||||
|
@@ -5,7 +5,7 @@ Feature Detection and Description
|
||||
|
||||
.. index:: gpu::SURF_GPU
|
||||
|
||||
.. _gpu::SURF_GPU:
|
||||
.. gpu::SURF_GPU:
|
||||
|
||||
gpu::SURF_GPU
|
||||
-------------
|
||||
@@ -77,7 +77,7 @@ See also:
|
||||
|
||||
.. index:: gpu::BruteForceMatcher_GPU
|
||||
|
||||
.. _gpu::BruteForceMatcher_GPU:
|
||||
.. gpu::BruteForceMatcher_GPU:
|
||||
|
||||
gpu::BruteForceMatcher_GPU
|
||||
--------------------------
|
||||
@@ -168,34 +168,30 @@ Brute-force descriptor matcher. For each descriptor in the first set, this match
|
||||
};
|
||||
|
||||
|
||||
The class ``BruteForceMatcher_GPU`` has the similar interface to class
|
||||
. It has two groups of match methods: for matching descriptors of one image with other image or with image set. Also all functions have alternative: save results to GPU memory or to CPU memory.
|
||||
``Distance`` template parameter is kept for CPU/GPU interfaces similarity. ``BruteForceMatcher_GPU`` supports only ``L1<float>`` and ``L2<float>`` distance types.
|
||||
The class ``BruteForceMatcher_GPU`` has the similar interface to class. It has two groups of match methods: for matching descriptors of one image with other image or with image set. Also all functions have alternative: save results to GPU memory or to CPU memory. ``Distance`` template parameter is kept for CPU/GPU interfaces similarity. ``BruteForceMatcher_GPU`` supports only ``L1<float>`` and ``L2<float>`` distance types.
|
||||
|
||||
See also:,.
|
||||
.. index:: gpu::BruteForceMatcher_GPU::match
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::match
|
||||
.. gpu::BruteForceMatcher_GPU::match:
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::match:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::match
|
||||
gpu::BruteForceMatcher_GPU::match
|
||||
-------------------------------------
|
||||
.. c:function:: void match(const GpuMat\& queryDescs, const GpuMat\& trainDescs, std::vector<DMatch>\& matches, const GpuMat\& mask = GpuMat())
|
||||
.. c:function:: void match(const GpuMat&queryDescs, const GpuMat&trainDescs, std::vector<DMatch>&matches, const GpuMat&mask = GpuMat())
|
||||
|
||||
.. c:function:: void match(const GpuMat\& queryDescs, std::vector<DMatch>\& matches, const std::vector<GpuMat>\& masks = std::vector<GpuMat>())
|
||||
.. c:function:: void match(const GpuMat&queryDescs, std::vector<DMatch>&matches, const std::vector<GpuMat>&masks = std::vector<GpuMat>())
|
||||
|
||||
Finds the best match for each descriptor from a query set with train descriptors.
|
||||
|
||||
See also:
|
||||
:func:`DescriptorMatcher::match` .
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::matchSingle
|
||||
.. index:: gpu::BruteForceMatcher_GPU::matchSingle
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::matchSingle:
|
||||
.. gpu::BruteForceMatcher_GPU::matchSingle:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::matchSingle
|
||||
gpu::BruteForceMatcher_GPU::matchSingle
|
||||
-------------------------------------------
|
||||
.. c:function:: void matchSingle(const GpuMat\& queryDescs, const GpuMat\& trainDescs, GpuMat\& trainIdx, GpuMat\& distance, const GpuMat\& mask = GpuMat())
|
||||
.. c:function:: void matchSingle(const GpuMat&queryDescs, const GpuMat&trainDescs, GpuMat&trainIdx, GpuMat&distance, const GpuMat&mask = GpuMat())
|
||||
|
||||
Finds the best match for each query descriptor. Results will be stored to GPU memory.
|
||||
|
||||
@@ -206,13 +202,13 @@ cv::gpu::BruteForceMatcher_GPU::matchSingle
|
||||
|
||||
:param mask: Mask specifying permissible matches between input query and train matrices of descriptors.
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::matchCollection
|
||||
.. index:: gpu::BruteForceMatcher_GPU::matchCollection
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::matchCollection:
|
||||
.. gpu::BruteForceMatcher_GPU::matchCollection:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::matchCollection
|
||||
gpu::BruteForceMatcher_GPU::matchCollection
|
||||
-----------------------------------------------
|
||||
.. c:function:: void matchCollection(const GpuMat\& queryDescs, const GpuMat\& trainCollection, GpuMat\& trainIdx, GpuMat\& imgIdx, GpuMat\& distance, const GpuMat\& maskCollection)
|
||||
.. c:function:: void matchCollection(const GpuMat&queryDescs, const GpuMat&trainCollection, GpuMat&trainIdx, GpuMat&imgIdx, GpuMat&distance, const GpuMat&maskCollection)
|
||||
|
||||
Find the best match for each query descriptor from train collection. Results will be stored to GPU memory.
|
||||
|
||||
@@ -225,50 +221,50 @@ cv::gpu::BruteForceMatcher_GPU::matchCollection
|
||||
|
||||
:param maskCollection: ``GpuMat`` containing set of masks. It can be obtained from ``std::vector<GpuMat>`` by . Or it can contain user defined mask set. It must be empty matrix or one row matrix, each element is a ``PtrStep`` that points to one mask.
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::makeGpuCollection
|
||||
.. index:: gpu::BruteForceMatcher_GPU::makeGpuCollection
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::makeGpuCollection:
|
||||
.. gpu::BruteForceMatcher_GPU::makeGpuCollection:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::makeGpuCollection
|
||||
gpu::BruteForceMatcher_GPU::makeGpuCollection
|
||||
-------------------------------------------------
|
||||
.. c:function:: void makeGpuCollection(GpuMat\& trainCollection, GpuMat\& maskCollection, const vector<GpuMat>\& masks = std::vector<GpuMat>())
|
||||
.. c:function:: void makeGpuCollection(GpuMat&trainCollection, GpuMat&maskCollection, const vector<GpuMat>&masks = std::vector<GpuMat>())
|
||||
|
||||
Makes gpu collection of train descriptors and masks in suitable format for function.
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::matchDownload
|
||||
.. index:: gpu::BruteForceMatcher_GPU::matchDownload
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::matchDownload:
|
||||
.. gpu::BruteForceMatcher_GPU::matchDownload:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::matchDownload
|
||||
--------------------------------------------- ```` ```` ````
|
||||
.. c:function:: void matchDownload(const GpuMat\& trainIdx, const GpuMat\& distance, std::vector<DMatch>\& matches)
|
||||
gpu::BruteForceMatcher_GPU::matchDownload
|
||||
---------------------------------------------
|
||||
.. c:function:: void matchDownload(const GpuMat&trainIdx, const GpuMat&distance, std::vector<DMatch>&matches)
|
||||
|
||||
.. c:function:: void matchDownload(const GpuMat\& trainIdx, GpuMat\& imgIdx, const GpuMat\& distance, std::vector<DMatch>\& matches)
|
||||
.. c:function:: void matchDownload(const GpuMat&trainIdx, GpuMat&imgIdx, const GpuMat&distance, std::vector<DMatch>&matches)
|
||||
|
||||
Downloads trainIdx, imgIdxand distancematrices obtained via or to CPU vector with .
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::knnMatch
|
||||
.. index:: gpu::BruteForceMatcher_GPU::knnMatch
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::knnMatch:
|
||||
.. gpu::BruteForceMatcher_GPU::knnMatch:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::knnMatch
|
||||
gpu::BruteForceMatcher_GPU::knnMatch
|
||||
----------------------------------------
|
||||
.. c:function:: void knnMatch(const GpuMat\& queryDescs, const GpuMat\& trainDescs, std::vector< std::vector<DMatch> >\& matches, int k, const GpuMat\& mask = GpuMat(), bool compactResult = false)
|
||||
.. c:function:: void knnMatch(const GpuMat&queryDescs, const GpuMat&trainDescs, std::vector< std::vector<DMatch> >&matches, int k, const GpuMat&mask = GpuMat(), bool compactResult = false)
|
||||
|
||||
Finds the k best matches for each descriptor from a query set with train descriptors. Found k (or less if not possible) matches are returned in distance increasing order.
|
||||
|
||||
.. c:function:: void knnMatch(const GpuMat\& queryDescs, std::vector< std::vector<DMatch> >\& matches, int k, const std::vector<GpuMat>\& masks = std::vector<GpuMat>(), bool compactResult = false )
|
||||
.. c:function:: void knnMatch(const GpuMat&queryDescs, std::vector< std::vector<DMatch> >&matches, int k, const std::vector<GpuMat>&masks = std::vector<GpuMat>(), bool compactResult = false )
|
||||
|
||||
See also:
|
||||
:func:`DescriptorMatcher::knnMatch` .
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::knnMatch
|
||||
.. index:: gpu::BruteForceMatcher_GPU::knnMatch
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::knnMatch:
|
||||
.. gpu::BruteForceMatcher_GPU::knnMatch:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::knnMatch
|
||||
gpu::BruteForceMatcher_GPU::knnMatch
|
||||
----------------------------------------
|
||||
.. c:function:: void knnMatch(const GpuMat\& queryDescs, const GpuMat\& trainDescs, GpuMat\& trainIdx, GpuMat\& distance, GpuMat\& allDist, int k, const GpuMat\& mask = GpuMat())
|
||||
.. c:function:: void knnMatch(const GpuMat&queryDescs, const GpuMat&trainDescs, GpuMat&trainIdx, GpuMat&distance, GpuMat&allDist, int k, const GpuMat&mask = GpuMat())
|
||||
|
||||
Finds the k best matches for each descriptor from a query set with train descriptors. Found k (or less if not possible) matches are returned in distance increasing order. Results will be stored to GPU memory.
|
||||
|
||||
@@ -285,27 +281,27 @@ cv::gpu::BruteForceMatcher_GPU::knnMatch
|
||||
|
||||
:param mask: Mask specifying permissible matches between input query and train matrices of descriptors.
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::knnMatchDownload
|
||||
.. index:: gpu::BruteForceMatcher_GPU::knnMatchDownload
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::knnMatchDownload:
|
||||
.. gpu::BruteForceMatcher_GPU::knnMatchDownload:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::knnMatchDownload
|
||||
------------------------------------------------ ```` ```` ```` ````
|
||||
.. c:function:: void knnMatchDownload(const GpuMat\& trainIdx, const GpuMat\& distance, std::vector< std::vector<DMatch> >\& matches, bool compactResult = false)
|
||||
gpu::BruteForceMatcher_GPU::knnMatchDownload
|
||||
------------------------------------------------
|
||||
.. c:function:: void knnMatchDownload(const GpuMat&trainIdx, const GpuMat&distance, std::vector< std::vector<DMatch> >&matches, bool compactResult = false)
|
||||
|
||||
Downloads trainIdxand distancematrices obtained via to CPU vector with . If compactResultis true matchesvector will not contain matches for fully masked out query descriptors.
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
.. index:: gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::radiusMatch:
|
||||
.. gpu::BruteForceMatcher_GPU::radiusMatch:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
-------------------------------------------
|
||||
.. c:function:: void radiusMatch(const GpuMat\& queryDescs, const GpuMat\& trainDescs, std::vector< std::vector<DMatch> >\& matches, float maxDistance, const GpuMat\& mask = GpuMat(), bool compactResult = false)
|
||||
.. c:function:: void radiusMatch(const GpuMat&queryDescs, const GpuMat&trainDescs, std::vector< std::vector<DMatch> >&matches, float maxDistance, const GpuMat&mask = GpuMat(), bool compactResult = false)
|
||||
|
||||
Finds the best matches for each query descriptor which have distance less than given threshold. Found matches are returned in distance increasing order.
|
||||
|
||||
.. c:function:: void radiusMatch(const GpuMat\& queryDescs, std::vector< std::vector<DMatch> >\& matches, float maxDistance, const std::vector<GpuMat>\& masks = std::vector<GpuMat>(), bool compactResult = false)
|
||||
.. c:function:: void radiusMatch(const GpuMat&queryDescs, std::vector< std::vector<DMatch> >&matches, float maxDistance, const std::vector<GpuMat>&masks = std::vector<GpuMat>(), bool compactResult = false)
|
||||
|
||||
This function works only on devices with Compute Capability
|
||||
:math:`>=` 1.1.
|
||||
@@ -313,13 +309,13 @@ This function works only on devices with Compute Capability
|
||||
See also:
|
||||
:func:`DescriptorMatcher::radiusMatch` .
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
.. index:: gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::radiusMatch:
|
||||
.. gpu::BruteForceMatcher_GPU::radiusMatch:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
-------------------------------------------
|
||||
.. c:function:: void radiusMatch(const GpuMat\& queryDescs, const GpuMat\& trainDescs, GpuMat\& trainIdx, GpuMat\& nMatches, GpuMat\& distance, float maxDistance, const GpuMat\& mask = GpuMat())
|
||||
.. c:function:: void radiusMatch(const GpuMat&queryDescs, const GpuMat&trainDescs, GpuMat&trainIdx, GpuMat&nMatches, GpuMat&distance, float maxDistance, const GpuMat&mask = GpuMat())
|
||||
|
||||
Finds the best matches for each query descriptor which have distance less than given threshold. Results will be stored to GPU memory.
|
||||
|
||||
@@ -335,19 +331,18 @@ cv::gpu::BruteForceMatcher_GPU::radiusMatch
|
||||
|
||||
:param mask: Mask specifying permissible matches between input query and train matrices of descriptors.
|
||||
|
||||
In contrast to
|
||||
results are not sorted by distance increasing order.
|
||||
In contrast to results are not sorted by distance increasing order.
|
||||
|
||||
This function works only on devices with Compute Capability
|
||||
:math:`>=` 1.1.
|
||||
|
||||
.. index:: cv::gpu::BruteForceMatcher_GPU::radiusMatchDownload
|
||||
.. index:: gpu::BruteForceMatcher_GPU::radiusMatchDownload
|
||||
|
||||
.. _cv::gpu::BruteForceMatcher_GPU::radiusMatchDownload:
|
||||
.. gpu::BruteForceMatcher_GPU::radiusMatchDownload:
|
||||
|
||||
cv::gpu::BruteForceMatcher_GPU::radiusMatchDownload
|
||||
--------------------------------------------------- ```` ```` ```` ```` ````
|
||||
.. c:function:: void radiusMatchDownload(const GpuMat\& trainIdx, const GpuMat\& nMatches, const GpuMat\& distance, std::vector< std::vector<DMatch> >\& matches, bool compactResult = false)
|
||||
gpu::BruteForceMatcher_GPU::radiusMatchDownload
|
||||
---------------------------------------------------
|
||||
.. c:function:: void radiusMatchDownload(const GpuMat&trainIdx, const GpuMat&nMatches, const GpuMat&distance, std::vector< std::vector<DMatch> >&matches, bool compactResult = false)
|
||||
|
||||
Downloads trainIdx, nMatchesand distancematrices obtained via to CPU vector with . If compactResultis true matchesvector will not contain matches for fully masked out query descriptors.
|
||||
|
||||
|
@@ -9,8 +9,6 @@ See also:
|
||||
|
||||
.. index:: gpu::BaseRowFilter_GPU
|
||||
|
||||
.. _gpu::BaseRowFilter_GPU:
|
||||
|
||||
gpu::BaseRowFilter_GPU
|
||||
----------------------
|
||||
.. c:type:: gpu::BaseRowFilter_GPU
|
||||
@@ -33,8 +31,6 @@ This class doesn't allocate memory for destination image. Usually this class is
|
||||
|
||||
.. index:: gpu::BaseColumnFilter_GPU
|
||||
|
||||
.. _gpu::BaseColumnFilter_GPU:
|
||||
|
||||
gpu::BaseColumnFilter_GPU
|
||||
-------------------------
|
||||
.. c:type:: gpu::BaseColumnFilter_GPU
|
||||
@@ -57,8 +53,6 @@ This class doesn't allocate memory for destination image. Usually this class is
|
||||
|
||||
.. index:: gpu::BaseFilter_GPU
|
||||
|
||||
.. _gpu::BaseFilter_GPU:
|
||||
|
||||
gpu::BaseFilter_GPU
|
||||
-------------------
|
||||
.. c:type:: gpu::BaseFilter_GPU
|
||||
@@ -82,8 +76,6 @@ This class doesn't allocate memory for destination image. Usually this class is
|
||||
|
||||
.. index:: gpu::FilterEngine_GPU
|
||||
|
||||
.. _gpu::FilterEngine_GPU:
|
||||
|
||||
gpu::FilterEngine_GPU
|
||||
---------------------
|
||||
.. c:type:: gpu::FilterEngine_GPU
|
||||
@@ -107,19 +99,19 @@ By using ``FilterEngine_GPU`` instead of functions you can avoid unnecessary mem
|
||||
|
||||
while (...)
|
||||
{
|
||||
cv::gpu::GpuMat src = getImg();
|
||||
cv::gpu::GpuMat dst;
|
||||
gpu::GpuMat src = getImg();
|
||||
gpu::GpuMat dst;
|
||||
// Allocate and release buffers at each iterations
|
||||
cv::gpu::GaussianBlur(src, dst, ksize, sigma1);
|
||||
gpu::GaussianBlur(src, dst, ksize, sigma1);
|
||||
}
|
||||
|
||||
// Allocate buffers only once
|
||||
cv::Ptr<cv::gpu::FilterEngine_GPU> filter =
|
||||
cv::gpu::createGaussianFilter_GPU(CV_8UC4, ksize, sigma1);
|
||||
cv::Ptr<gpu::FilterEngine_GPU> filter =
|
||||
gpu::createGaussianFilter_GPU(CV_8UC4, ksize, sigma1);
|
||||
while (...)
|
||||
{
|
||||
cv::gpu::GpuMat src = getImg();
|
||||
cv::gpu::GpuMat dst;
|
||||
gpu::GpuMat src = getImg();
|
||||
gpu::GpuMat dst;
|
||||
filter->apply(src, dst, cv::Rect(0, 0, src.cols, src.rows));
|
||||
}
|
||||
// Release buffers only once
|
||||
@@ -130,15 +122,11 @@ By using ``FilterEngine_GPU`` instead of functions you can avoid unnecessary mem
|
||||
**Please note:**
|
||||
The GPU filters doesn't support the in-place mode.
|
||||
|
||||
See also:,,,,,,,,,,
|
||||
.. index:: gpu::createFilter2D_GPU
|
||||
|
||||
.. index:: cv::gpu::createFilter2D_GPU
|
||||
|
||||
.. _cv::gpu::createFilter2D_GPU:
|
||||
|
||||
cv::gpu::createFilter2D_GPU
|
||||
gpu::createFilter2D_GPU
|
||||
---------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createFilter2D_GPU( const Ptr<BaseFilter_GPU>\& filter2D, int srcType, int dstType)
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createFilter2D_GPU( const Ptr<BaseFilter_GPU>& filter2D, int srcType, int dstType)
|
||||
|
||||
Creates non-separable filter engine with the specified filter.
|
||||
|
||||
@@ -150,13 +138,11 @@ cv::gpu::createFilter2D_GPU
|
||||
|
||||
Usually this function is used inside high-level functions, like,.
|
||||
|
||||
.. index:: cv::gpu::createSeparableFilter_GPU
|
||||
.. index:: gpu::createSeparableFilter_GPU
|
||||
|
||||
.. _cv::gpu::createSeparableFilter_GPU:
|
||||
|
||||
cv::gpu::createSeparableFilter_GPU
|
||||
gpu::createSeparableFilter_GPU
|
||||
----------------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createSeparableFilter_GPU( const Ptr<BaseRowFilter_GPU>\& rowFilter, const Ptr<BaseColumnFilter_GPU>\& columnFilter, int srcType, int bufType, int dstType)
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createSeparableFilter_GPU( const Ptr<BaseRowFilter_GPU>& rowFilter, const Ptr<BaseColumnFilter_GPU>& columnFilter, int srcType, int bufType, int dstType)
|
||||
|
||||
Creates separable filter engine with the specified filters.
|
||||
|
||||
@@ -172,11 +158,9 @@ cv::gpu::createSeparableFilter_GPU
|
||||
Usually this function is used inside high-level functions, like
|
||||
.
|
||||
|
||||
.. index:: cv::gpu::getRowSumFilter_GPU
|
||||
.. index:: gpu::getRowSumFilter_GPU
|
||||
|
||||
.. _cv::gpu::getRowSumFilter_GPU:
|
||||
|
||||
cv::gpu::getRowSumFilter_GPU
|
||||
gpu::getRowSumFilter_GPU
|
||||
----------------------------
|
||||
.. c:function:: Ptr<BaseRowFilter_GPU> getRowSumFilter_GPU(int srcType, int sumType, int ksize, int anchor = -1)
|
||||
|
||||
@@ -193,11 +177,9 @@ cv::gpu::getRowSumFilter_GPU
|
||||
**Please note:**
|
||||
This filter doesn't check out of border accesses, so only proper submatrix of bigger matrix have to be passed to it.
|
||||
|
||||
.. index:: cv::gpu::getColumnSumFilter_GPU
|
||||
.. index:: gpu::getColumnSumFilter_GPU
|
||||
|
||||
.. _cv::gpu::getColumnSumFilter_GPU:
|
||||
|
||||
cv::gpu::getColumnSumFilter_GPU
|
||||
gpu::getColumnSumFilter_GPU
|
||||
-------------------------------
|
||||
.. c:function:: Ptr<BaseColumnFilter_GPU> getColumnSumFilter_GPU(int sumType, int dstType, int ksize, int anchor = -1)
|
||||
|
||||
@@ -214,17 +196,15 @@ cv::gpu::getColumnSumFilter_GPU
|
||||
**Please note:**
|
||||
This filter doesn't check out of border accesses, so only proper submatrix of bigger matrix have to be passed to it.
|
||||
|
||||
.. index:: cv::gpu::createBoxFilter_GPU
|
||||
.. index:: gpu::createBoxFilter_GPU
|
||||
|
||||
.. _cv::gpu::createBoxFilter_GPU:
|
||||
|
||||
cv::gpu::createBoxFilter_GPU
|
||||
gpu::createBoxFilter_GPU
|
||||
----------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createBoxFilter_GPU(int srcType, int dstType, const Size\& ksize, const Point\& anchor = Point(-1,-1))
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createBoxFilter_GPU(int srcType, int dstType, const Size& ksize, const Point& anchor = Point(-1,-1))
|
||||
|
||||
Creates normalized 2D box filter.
|
||||
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getBoxFilter_GPU(int srcType, int dstType, const Size\& ksize, Point anchor = Point(-1, -1))
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getBoxFilter_GPU(int srcType, int dstType, const Size& ksize, Point anchor = Point(-1, -1))
|
||||
|
||||
:param srcType: Input image type. Supports ``CV_8UC1`` and ``CV_8UC4`` .
|
||||
|
||||
@@ -237,14 +217,13 @@ cv::gpu::createBoxFilter_GPU
|
||||
**Please note:**
|
||||
This filter doesn't check out of border accesses, so only proper submatrix of bigger matrix have to be passed to it.
|
||||
|
||||
See also:
|
||||
:func:`boxFilter` .
|
||||
See also: :func:`boxFilter` .
|
||||
|
||||
.. index:: gpu::boxFilter
|
||||
|
||||
cv::gpu::boxFilter
|
||||
gpu::boxFilter
|
||||
------------------
|
||||
.. c:function:: void boxFilter(const GpuMat\& src, GpuMat\& dst, int ddepth, Size ksize, Point anchor = Point(-1,-1))
|
||||
.. c:function:: void gpu::boxFilter(const GpuMat& src, GpuMat& dst, int ddepth, Size ksize, Point anchor = Point(-1,-1))
|
||||
|
||||
Smooths the image using the normalized box filter.
|
||||
|
||||
@@ -266,9 +245,9 @@ See also:
|
||||
|
||||
.. index:: gpu::blur
|
||||
|
||||
cv::gpu::blur
|
||||
gpu::blur
|
||||
-------------
|
||||
.. c:function:: void blur(const GpuMat\& src, GpuMat\& dst, Size ksize, Point anchor = Point(-1,-1))
|
||||
.. c:function:: void gpu::blur(const GpuMat& src, GpuMat& dst, Size ksize, Point anchor = Point(-1,-1))
|
||||
|
||||
A synonym for normalized box filter.
|
||||
|
||||
@@ -286,17 +265,15 @@ This filter doesn't check out of border accesses, so only proper submatrix of bi
|
||||
See also:
|
||||
:func:`blur`,:func:`gpu::boxFilter` .
|
||||
|
||||
.. index:: cv::gpu::createMorphologyFilter_GPU
|
||||
.. index:: gpu::createMorphologyFilter_GPU
|
||||
|
||||
.. _cv::gpu::createMorphologyFilter_GPU:
|
||||
|
||||
cv::gpu::createMorphologyFilter_GPU
|
||||
gpu::createMorphologyFilter_GPU
|
||||
-----------------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createMorphologyFilter_GPU(int op, int type, const Mat\& kernel, const Point\& anchor = Point(-1,-1), int iterations = 1)
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createMorphologyFilter_GPU(int op, int type, const Mat& kernel, const Point& anchor = Point(-1,-1), int iterations = 1)
|
||||
|
||||
Creates 2D morphological filter.
|
||||
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getMorphologyFilter_GPU(int op, int type, const Mat\& kernel, const Size\& ksize, Point anchor=Point(-1,-1))
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getMorphologyFilter_GPU(int op, int type, const Mat& kernel, const Size& ksize, Point anchor=Point(-1,-1))
|
||||
|
||||
{Morphology operation id. Only ``MORPH_ERODE`` and ``MORPH_DILATE`` are supported.}
|
||||
|
||||
@@ -316,9 +293,9 @@ See also:
|
||||
|
||||
.. index:: gpu::erode
|
||||
|
||||
cv::gpu::erode
|
||||
gpu::erode
|
||||
--------------
|
||||
.. c:function:: void erode(const GpuMat\& src, GpuMat\& dst, const Mat\& kernel, Point anchor = Point(-1, -1), int iterations = 1)
|
||||
.. c:function:: void gpu::erode(const GpuMat& src, GpuMat& dst, const Mat& kernel, Point anchor = Point(-1, -1), int iterations = 1)
|
||||
|
||||
Erodes an image by using a specific structuring element.
|
||||
|
||||
@@ -340,9 +317,9 @@ See also:
|
||||
|
||||
.. index:: gpu::dilate
|
||||
|
||||
cv::gpu::dilate
|
||||
gpu::dilate
|
||||
---------------
|
||||
.. c:function:: void dilate(const GpuMat\& src, GpuMat\& dst, const Mat\& kernel, Point anchor = Point(-1, -1), int iterations = 1)
|
||||
.. c:function:: void gpu::dilate(const GpuMat& src, GpuMat& dst, const Mat& kernel, Point anchor = Point(-1, -1), int iterations = 1)
|
||||
|
||||
Dilates an image by using a specific structuring element.
|
||||
|
||||
@@ -364,9 +341,9 @@ See also:
|
||||
|
||||
.. index:: gpu::morphologyEx
|
||||
|
||||
cv::gpu::morphologyEx
|
||||
gpu::morphologyEx
|
||||
---------------------
|
||||
.. c:function:: void morphologyEx(const GpuMat\& src, GpuMat\& dst, int op, const Mat\& kernel, Point anchor = Point(-1, -1), int iterations = 1)
|
||||
.. c:function:: void gpu::morphologyEx(const GpuMat& src, GpuMat& dst, int op, const Mat& kernel, Point anchor = Point(-1, -1), int iterations = 1)
|
||||
|
||||
Applies an advanced morphological operation to image.
|
||||
|
||||
@@ -398,17 +375,15 @@ This filter doesn't check out of border accesses, so only proper submatrix of bi
|
||||
See also:
|
||||
:func:`morphologyEx` .
|
||||
|
||||
.. index:: cv::gpu::createLinearFilter_GPU
|
||||
.. index:: gpu::createLinearFilter_GPU
|
||||
|
||||
.. _cv::gpu::createLinearFilter_GPU:
|
||||
|
||||
cv::gpu::createLinearFilter_GPU
|
||||
gpu::createLinearFilter_GPU
|
||||
-------------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createLinearFilter_GPU(int srcType, int dstType, const Mat\& kernel, const Point\& anchor = Point(-1,-1))
|
||||
.. c:function:: Ptr<FilterEngine_GPU> gpu::createLinearFilter_GPU(int srcType, int dstType, const Mat& kernel, const Point& anchor = Point(-1,-1))
|
||||
|
||||
Creates the non-separable linear filter.
|
||||
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getLinearFilter_GPU(int srcType, int dstType, const Mat\& kernel, const Size\& ksize, Point anchor = Point(-1, -1))
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getLinearFilter_GPU(int srcType, int dstType, const Mat& kernel, const Size& ksize, Point anchor = Point(-1, -1))
|
||||
|
||||
:param srcType: Input image type. Supports ``CV_8UC1`` and ``CV_8UC4`` .
|
||||
|
||||
@@ -428,9 +403,9 @@ See also:
|
||||
|
||||
.. index:: gpu::filter2D
|
||||
|
||||
cv::gpu::filter2D
|
||||
gpu::filter2D
|
||||
-----------------
|
||||
.. c:function:: void filter2D(const GpuMat\& src, GpuMat\& dst, int ddepth, const Mat\& kernel, Point anchor=Point(-1,-1))
|
||||
.. c:function:: void gpu::filter2D(const GpuMat& src, GpuMat& dst, int ddepth, const Mat& kernel, Point anchor=Point(-1,-1))
|
||||
|
||||
Applies non-separable 2D linear filter to image.
|
||||
|
||||
@@ -452,9 +427,9 @@ See also:
|
||||
|
||||
.. index:: gpu::Laplacian
|
||||
|
||||
cv::gpu::Laplacian
|
||||
gpu::Laplacian
|
||||
------------------
|
||||
.. c:function:: void Laplacian(const GpuMat\& src, GpuMat\& dst, int ddepth, int ksize = 1, double scale = 1)
|
||||
.. c:function:: void gpu::Laplacian(const GpuMat& src, GpuMat& dst, int ddepth, int ksize = 1, double scale = 1)
|
||||
|
||||
Applies Laplacian operator to image.
|
||||
|
||||
@@ -474,13 +449,11 @@ This filter doesn't check out of border accesses, so only proper submatrix of bi
|
||||
See also:
|
||||
:func:`Laplacian`,:func:`gpu::filter2D` .
|
||||
|
||||
.. index:: cv::gpu::getLinearRowFilter_GPU
|
||||
.. index:: gpu::getLinearRowFilter_GPU
|
||||
|
||||
.. _cv::gpu::getLinearRowFilter_GPU:
|
||||
|
||||
cv::gpu::getLinearRowFilter_GPU
|
||||
gpu::getLinearRowFilter_GPU
|
||||
-------------------------------
|
||||
.. c:function:: Ptr<BaseRowFilter_GPU> getLinearRowFilter_GPU(int srcType, int bufType, const Mat\& rowKernel, int anchor = -1, int borderType = BORDER_CONSTANT)
|
||||
.. c:function:: Ptr<BaseRowFilter_GPU> getLinearRowFilter_GPU(int srcType, int bufType, const Mat& rowKernel, int anchor = -1, int borderType = BORDER_CONSTANT)
|
||||
|
||||
Creates primitive row filter with the specified kernel.
|
||||
|
||||
@@ -498,13 +471,11 @@ There are two version of algorithm: NPP and OpenCV. NPP calls when ``srcType ==
|
||||
|
||||
See also:,:func:`createSeparableLinearFilter` .
|
||||
|
||||
.. index:: cv::gpu::getLinearColumnFilter_GPU
|
||||
.. index:: gpu::getLinearColumnFilter_GPU
|
||||
|
||||
.. _cv::gpu::getLinearColumnFilter_GPU:
|
||||
|
||||
cv::gpu::getLinearColumnFilter_GPU
|
||||
gpu::getLinearColumnFilter_GPU
|
||||
----------------------------------
|
||||
.. c:function:: Ptr<BaseColumnFilter_GPU> getLinearColumnFilter_GPU(int bufType, int dstType, const Mat\& columnKernel, int anchor = -1, int borderType = BORDER_CONSTANT)
|
||||
.. c:function:: Ptr<BaseColumnFilter_GPU> getLinearColumnFilter_GPU(int bufType, int dstType, const Mat& columnKernel, int anchor = -1, int borderType = BORDER_CONSTANT)
|
||||
|
||||
Creates the primitive column filter with the specified kernel.
|
||||
|
||||
@@ -521,13 +492,11 @@ cv::gpu::getLinearColumnFilter_GPU
|
||||
There are two version of algorithm: NPP and OpenCV. NPP calls when ``dstType == CV_8UC1`` or ``dstType == CV_8UC4`` and ``bufType == dstType`` , otherwise calls OpenCV version. NPP supports only ``BORDER_CONSTANT`` border type and doesn't check indices outside image. OpenCV version supports only ``CV_32F`` buffer depth and ``BORDER_REFLECT101``,``BORDER_REPLICATE`` and ``BORDER_CONSTANT`` border types and checks indices outside image.
|
||||
See also:,:func:`createSeparableLinearFilter` .
|
||||
|
||||
.. index:: cv::gpu::createSeparableLinearFilter_GPU
|
||||
.. index:: gpu::createSeparableLinearFilter_GPU
|
||||
|
||||
.. _cv::gpu::createSeparableLinearFilter_GPU:
|
||||
|
||||
cv::gpu::createSeparableLinearFilter_GPU
|
||||
gpu::createSeparableLinearFilter_GPU
|
||||
----------------------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createSeparableLinearFilter_GPU(int srcType, int dstType, const Mat\& rowKernel, const Mat\& columnKernel, const Point\& anchor = Point(-1,-1), int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createSeparableLinearFilter_GPU(int srcType, int dstType, const Mat& rowKernel, const Mat& columnKernel, const Point& anchor = Point(-1,-1), int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
Creates the separable linear filter engine.
|
||||
|
||||
@@ -546,9 +515,9 @@ See also:,,
|
||||
|
||||
.. index:: gpu::sepFilter2D
|
||||
|
||||
cv::gpu::sepFilter2D
|
||||
gpu::sepFilter2D
|
||||
--------------------
|
||||
.. c:function:: void sepFilter2D(const GpuMat\& src, GpuMat\& dst, int ddepth, const Mat\& kernelX, const Mat\& kernelY, Point anchor = Point(-1,-1), int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
.. c:function:: void gpu::sepFilter2D(const GpuMat& src, GpuMat& dst, int ddepth, const Mat& kernelX, const Mat& kernelY, Point anchor = Point(-1,-1), int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
Applies separable 2D linear filter to the image.
|
||||
|
||||
@@ -566,11 +535,9 @@ cv::gpu::sepFilter2D
|
||||
|
||||
See also:,:func:`sepFilter2D` .
|
||||
|
||||
.. index:: cv::gpu::createDerivFilter_GPU
|
||||
.. index:: gpu::createDerivFilter_GPU
|
||||
|
||||
.. _cv::gpu::createDerivFilter_GPU:
|
||||
|
||||
cv::gpu::createDerivFilter_GPU
|
||||
gpu::createDerivFilter_GPU
|
||||
------------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createDerivFilter_GPU(int srcType, int dstType, int dx, int dy, int ksize, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
@@ -592,9 +559,9 @@ See also:,:func:`createDerivFilter` .
|
||||
|
||||
.. index:: gpu::Sobel
|
||||
|
||||
cv::gpu::Sobel
|
||||
gpu::Sobel
|
||||
--------------
|
||||
.. c:function:: void Sobel(const GpuMat\& src, GpuMat\& dst, int ddepth, int dx, int dy, int ksize = 3, double scale = 1, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
.. c:function:: void gpu::Sobel(const GpuMat& src, GpuMat& dst, int ddepth, int dx, int dy, int ksize = 3, double scale = 1, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
Applies generalized Sobel operator to the image.
|
||||
|
||||
@@ -618,9 +585,9 @@ See also:,:func:`Sobel` .
|
||||
|
||||
.. index:: gpu::Scharr
|
||||
|
||||
cv::gpu::Scharr
|
||||
gpu::Scharr
|
||||
---------------
|
||||
.. c:function:: void Scharr(const GpuMat\& src, GpuMat\& dst, int ddepth, int dx, int dy, double scale = 1, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
.. c:function:: void gpu::Scharr(const GpuMat& src, GpuMat& dst, int ddepth, int dx, int dy, double scale = 1, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
Calculates the first x- or y- image derivative using Scharr operator.
|
||||
|
||||
@@ -636,14 +603,11 @@ cv::gpu::Scharr
|
||||
|
||||
:param scale: Optional scale factor for the computed derivative values (by default, no scaling is applied, see :func:`getDerivKernels` ).
|
||||
|
||||
:param rowBorderType, columnBorderType: Pixel extrapolation method, see :func:`borderInterpolate`
|
||||
See also:,:func:`Scharr` .
|
||||
:param rowBorderType, columnBorderType: Pixel extrapolation method, see :func:`borderInterpolate` See also:,:func:`Scharr` .
|
||||
|
||||
.. index:: cv::gpu::createGaussianFilter_GPU
|
||||
.. index:: gpu::createGaussianFilter_GPU
|
||||
|
||||
.. _cv::gpu::createGaussianFilter_GPU:
|
||||
|
||||
cv::gpu::createGaussianFilter_GPU
|
||||
gpu::createGaussianFilter_GPU
|
||||
---------------------------------
|
||||
.. c:function:: Ptr<FilterEngine_GPU> createGaussianFilter_GPU(int type, Size ksize, double sigmaX, double sigmaY = 0, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
@@ -663,9 +627,9 @@ See also:,:func:`createGaussianFilter` .
|
||||
|
||||
.. index:: gpu::GaussianBlur
|
||||
|
||||
cv::gpu::GaussianBlur
|
||||
gpu::GaussianBlur
|
||||
---------------------
|
||||
.. c:function:: void GaussianBlur(const GpuMat\& src, GpuMat\& dst, Size ksize, double sigmaX, double sigmaY = 0, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
.. c:function:: void gpu::GaussianBlur(const GpuMat& src, GpuMat& dst, Size ksize, double sigmaX, double sigmaY = 0, int rowBorderType = BORDER_DEFAULT, int columnBorderType = -1)
|
||||
|
||||
Smooths the image using Gaussian filter.
|
||||
|
||||
@@ -681,13 +645,11 @@ cv::gpu::GaussianBlur
|
||||
|
||||
See also:,:func:`GaussianBlur` .
|
||||
|
||||
.. index:: cv::gpu::getMaxFilter_GPU
|
||||
.. index:: gpu::getMaxFilter_GPU
|
||||
|
||||
.. _cv::gpu::getMaxFilter_GPU:
|
||||
|
||||
cv::gpu::getMaxFilter_GPU
|
||||
gpu::getMaxFilter_GPU
|
||||
-------------------------
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getMaxFilter_GPU(int srcType, int dstType, const Size\& ksize, Point anchor = Point(-1,-1))
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getMaxFilter_GPU(int srcType, int dstType, const Size& ksize, Point anchor = Point(-1,-1))
|
||||
|
||||
Creates maximum filter.
|
||||
|
||||
@@ -702,13 +664,11 @@ cv::gpu::getMaxFilter_GPU
|
||||
**Please note:**
|
||||
This filter doesn't check out of border accesses, so only proper submatrix of bigger matrix have to be passed to it.
|
||||
|
||||
.. index:: cv::gpu::getMinFilter_GPU
|
||||
.. index:: gpu::getMinFilter_GPU
|
||||
|
||||
.. _cv::gpu::getMinFilter_GPU:
|
||||
|
||||
cv::gpu::getMinFilter_GPU
|
||||
gpu::getMinFilter_GPU
|
||||
-------------------------
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getMinFilter_GPU(int srcType, int dstType, const Size\& ksize, Point anchor = Point(-1,-1))
|
||||
.. c:function:: Ptr<BaseFilter_GPU> getMinFilter_GPU(int srcType, int dstType, const Size& ksize, Point anchor = Point(-1,-1))
|
||||
|
||||
Creates minimum filter.
|
||||
|
||||
|
@@ -7,7 +7,7 @@ Image Processing
|
||||
|
||||
cv::gpu::meanShiftFiltering
|
||||
---------------------------
|
||||
.. c:function:: void meanShiftFiltering(const GpuMat\& src, GpuMat\& dst,
|
||||
.. c:function:: void gpu::meanShiftFiltering(const GpuMat\& src, GpuMat\& dst,
|
||||
int sp, int sr,
|
||||
TermCriteria criteria = TermCriteria(TermCriteria::MAX_ITER
|
||||
+ TermCriteria::EPS, 5, 1))
|
||||
@@ -28,7 +28,7 @@ cv::gpu::meanShiftFiltering
|
||||
|
||||
cv::gpu::meanShiftProc
|
||||
----------------------
|
||||
.. c:function:: void meanShiftProc(const GpuMat\& src, GpuMat\& dstr, GpuMat\& dstsp,
|
||||
.. c:function:: void gpu::meanShiftProc(const GpuMat\& src, GpuMat\& dstr, GpuMat\& dstsp,
|
||||
int sp, int sr,
|
||||
TermCriteria criteria = TermCriteria(TermCriteria::MAX_ITER
|
||||
+ TermCriteria::EPS, 5, 1))
|
||||
@@ -54,7 +54,7 @@ See also:
|
||||
|
||||
cv::gpu::meanShiftSegmentation
|
||||
------------------------------
|
||||
.. c:function:: void meanShiftSegmentation(const GpuMat\& src, Mat\& dst,
|
||||
.. c:function:: void gpu::meanShiftSegmentation(const GpuMat\& src, Mat\& dst,
|
||||
int sp, int sr, int minsize,
|
||||
TermCriteria criteria = TermCriteria(TermCriteria::MAX_ITER
|
||||
+ TermCriteria::EPS, 5, 1))
|
||||
@@ -77,9 +77,9 @@ cv::gpu::meanShiftSegmentation
|
||||
|
||||
cv::gpu::integral
|
||||
-----------------
|
||||
.. c:function:: void integral(const GpuMat\& src, GpuMat\& sum)
|
||||
.. c:function:: void gpu::integral(const GpuMat\& src, GpuMat\& sum)
|
||||
|
||||
.. c:function:: void integral(const GpuMat\& src, GpuMat\& sum, GpuMat\& sqsum)
|
||||
.. c:function:: void gpu::integral(const GpuMat\& src, GpuMat\& sum, GpuMat\& sqsum)
|
||||
|
||||
Computes integral image and squared integral image.
|
||||
|
||||
@@ -96,7 +96,7 @@ See also:
|
||||
|
||||
cv::gpu::sqrIntegral
|
||||
--------------------
|
||||
.. c:function:: void sqrIntegral(const GpuMat\& src, GpuMat\& sqsum)
|
||||
.. c:function:: void gpu::sqrIntegral(const GpuMat\& src, GpuMat\& sqsum)
|
||||
|
||||
Computes squared integral image.
|
||||
|
||||
@@ -108,7 +108,7 @@ cv::gpu::sqrIntegral
|
||||
|
||||
cv::gpu::columnSum
|
||||
------------------
|
||||
.. c:function:: void columnSum(const GpuMat\& src, GpuMat\& sum)
|
||||
.. c:function:: void gpu::columnSum(const GpuMat\& src, GpuMat\& sum)
|
||||
|
||||
Computes vertical (column) sum.
|
||||
|
||||
@@ -120,7 +120,7 @@ cv::gpu::columnSum
|
||||
|
||||
cv::gpu::cornerHarris
|
||||
---------------------
|
||||
.. c:function:: void cornerHarris(const GpuMat\& src, GpuMat\& dst,
|
||||
.. c:function:: void gpu::cornerHarris(const GpuMat\& src, GpuMat\& dst,
|
||||
int blockSize, int ksize, double k,
|
||||
int borderType=BORDER_REFLECT101)
|
||||
|
||||
@@ -145,7 +145,7 @@ See also:
|
||||
|
||||
cv::gpu::cornerMinEigenVal
|
||||
--------------------------
|
||||
.. c:function:: void cornerMinEigenVal(const GpuMat\& src, GpuMat\& dst,
|
||||
.. c:function:: void gpu::cornerMinEigenVal(const GpuMat\& src, GpuMat\& dst,
|
||||
int blockSize, int ksize,
|
||||
int borderType=BORDER_REFLECT101)
|
||||
|
||||
@@ -170,7 +170,7 @@ See also:
|
||||
|
||||
cv::gpu::mulSpectrums
|
||||
---------------------
|
||||
.. c:function:: void mulSpectrums(const GpuMat\& a, const GpuMat\& b,
|
||||
.. c:function:: void gpu::mulSpectrums(const GpuMat\& a, const GpuMat\& b,
|
||||
GpuMat\& c, int flags, bool conjB=false)
|
||||
|
||||
Performs per-element multiplication of two Fourier spectrums.
|
||||
@@ -194,7 +194,7 @@ See also:
|
||||
|
||||
cv::gpu::mulAndScaleSpectrums
|
||||
-----------------------------
|
||||
.. c:function:: void mulAndScaleSpectrums(const GpuMat\& a, const GpuMat\& b,
|
||||
.. c:function:: void gpu::mulAndScaleSpectrums(const GpuMat\& a, const GpuMat\& b,
|
||||
GpuMat\& c, int flags, float scale, bool conjB=false)
|
||||
|
||||
Performs per-element multiplication of two Fourier spectrums and scales the result.
|
||||
@@ -219,8 +219,8 @@ See also:
|
||||
.. index:: gpu::dft
|
||||
|
||||
cv::gpu::dft
|
||||
------------ ``_`` ``_``
|
||||
.. c:function:: void dft(const GpuMat\& src, GpuMat\& dst, Size dft_size, int flags=0)
|
||||
------------
|
||||
.. c:function:: void gpu::dft(const GpuMat\& src, GpuMat\& dst, Size dft_size, int flags=0)
|
||||
|
||||
Performs a forward or inverse discrete Fourier transform (1D or 2D) of floating point matrix. Can handle real matrices (CV32FC1) and complex matrices in the interleaved format (CV32FC2).
|
||||
|
||||
@@ -259,10 +259,10 @@ See also:
|
||||
|
||||
cv::gpu::convolve
|
||||
-----------------
|
||||
.. c:function:: void convolve(const GpuMat\& image, const GpuMat\& templ, GpuMat\& result,
|
||||
.. c:function:: void gpu::convolve(const GpuMat\& image, const GpuMat\& templ, GpuMat\& result,
|
||||
bool ccorr=false)
|
||||
|
||||
.. c:function:: void convolve(const GpuMat\& image, const GpuMat\& templ, GpuMat\& result,
|
||||
.. c:function:: void gpu::convolve(const GpuMat\& image, const GpuMat\& templ, GpuMat\& result,
|
||||
bool ccorr, ConvolveBuf\& buf)
|
||||
|
||||
Computes convolution (or cross-correlation) of two images.
|
||||
@@ -316,7 +316,7 @@ Constructs a buffer for the convolve function with respectively arguments.
|
||||
|
||||
cv::gpu::matchTemplate
|
||||
----------------------
|
||||
.. c:function:: void matchTemplate(const GpuMat\& image, const GpuMat\& templ,
|
||||
.. c:function:: void gpu::matchTemplate(const GpuMat\& image, const GpuMat\& templ,
|
||||
GpuMat\& result, int method)
|
||||
|
||||
Computes a proximity map for a raster template and an image where the template is searched for.
|
||||
@@ -325,8 +325,7 @@ cv::gpu::matchTemplate
|
||||
|
||||
:param templ: Template image. Must have the same size and type as ``image`` .
|
||||
|
||||
:param result: Map containing comparison results ( ``CV_32FC1`` ). If ``image`` is :math:`W \times H` and
|
||||
``templ`` is :math:`w \times h` then ``result`` must be :math:`(W-w+1) \times (H-h+1)` .
|
||||
:param result: Map containing comparison results ( ``CV_32FC1`` ). If ``image`` is :math:`W \times H` and ``templ`` is :math:`w \times h` then ``result`` must be :math:`(W-w+1) \times (H-h+1)` .
|
||||
|
||||
:param method: Specifies the way which the template must be compared with the image.
|
||||
|
||||
@@ -351,7 +350,7 @@ See also:
|
||||
|
||||
cv::gpu::remap
|
||||
--------------
|
||||
.. c:function:: void remap(const GpuMat\& src, GpuMat\& dst, const GpuMat\& xmap, const GpuMat\& ymap)
|
||||
.. c:function:: void gpu::remap(const GpuMat\& src, GpuMat\& dst, const GpuMat\& xmap, const GpuMat\& ymap)
|
||||
|
||||
Applies a generic geometrical transformation to an image.
|
||||
|
||||
@@ -378,9 +377,9 @@ See also:
|
||||
|
||||
cv::gpu::cvtColor
|
||||
-----------------
|
||||
.. c:function:: void cvtColor(const GpuMat\& src, GpuMat\& dst, int code, int dcn = 0)
|
||||
.. c:function:: void gpu::cvtColor(const GpuMat\& src, GpuMat\& dst, int code, int dcn = 0)
|
||||
|
||||
.. c:function:: void cvtColor(const GpuMat\& src, GpuMat\& dst, int code, int dcn, const Stream\& stream)
|
||||
.. c:function:: void gpu::cvtColor(const GpuMat\& src, GpuMat\& dst, int code, int dcn, const Stream\& stream)
|
||||
|
||||
Converts image from one color space to another.
|
||||
|
||||
@@ -403,9 +402,9 @@ See also:
|
||||
|
||||
cv::gpu::threshold
|
||||
------------------
|
||||
.. c:function:: double threshold(const GpuMat\& src, GpuMat\& dst, double thresh, double maxval, int type)
|
||||
.. c:function:: double gpu::threshold(const GpuMat\& src, GpuMat\& dst, double thresh, double maxval, int type)
|
||||
|
||||
.. c:function:: double threshold(const GpuMat\& src, GpuMat\& dst, double thresh, double maxval, int type, const Stream\& stream)
|
||||
.. c:function:: double gpu::threshold(const GpuMat\& src, GpuMat\& dst, double thresh, double maxval, int type, const Stream\& stream)
|
||||
|
||||
Applies a fixed-level threshold to each array element.
|
||||
|
||||
@@ -428,7 +427,7 @@ See also:
|
||||
|
||||
cv::gpu::resize
|
||||
---------------
|
||||
.. c:function:: void resize(const GpuMat\& src, GpuMat\& dst, Size dsize, double fx=0, double fy=0, int interpolation = INTER_LINEAR)
|
||||
.. c:function:: void gpu::resize(const GpuMat\& src, GpuMat\& dst, Size dsize, double fx=0, double fy=0, int interpolation = INTER_LINEAR)
|
||||
|
||||
Resizes an image.
|
||||
|
||||
@@ -468,7 +467,7 @@ See also:
|
||||
|
||||
cv::gpu::warpAffine
|
||||
-------------------
|
||||
.. c:function:: void warpAffine(const GpuMat\& src, GpuMat\& dst, const Mat\& M, Size dsize, int flags = INTER_LINEAR)
|
||||
.. c:function:: void gpu::warpAffine(const GpuMat\& src, GpuMat\& dst, const Mat\& M, Size dsize, int flags = INTER_LINEAR)
|
||||
|
||||
Applies an affine transformation to an image.
|
||||
|
||||
@@ -489,7 +488,7 @@ See also:
|
||||
|
||||
cv::gpu::warpPerspective
|
||||
------------------------
|
||||
.. c:function:: void warpPerspective(const GpuMat\& src, GpuMat\& dst, const Mat\& M, Size dsize, int flags = INTER_LINEAR)
|
||||
.. c:function:: void gpu::warpPerspective(const GpuMat\& src, GpuMat\& dst, const Mat\& M, Size dsize, int flags = INTER_LINEAR)
|
||||
|
||||
Applies a perspective transformation to an image.
|
||||
|
||||
@@ -511,7 +510,7 @@ See also:
|
||||
|
||||
cv::gpu::rotate
|
||||
---------------
|
||||
.. c:function:: void rotate(const GpuMat\& src, GpuMat\& dst, Size dsize, double angle, double xShift = 0, double yShift = 0, int interpolation = INTER_LINEAR)
|
||||
.. c:function:: void gpu::rotate(const GpuMat\& src, GpuMat\& dst, Size dsize, double angle, double xShift = 0, double yShift = 0, int interpolation = INTER_LINEAR)
|
||||
|
||||
Rotates an image around the origin (0,0) and then shifts it.
|
||||
|
||||
@@ -536,7 +535,7 @@ See also:
|
||||
|
||||
cv::gpu::copyMakeBorder
|
||||
-----------------------
|
||||
.. c:function:: void copyMakeBorder(const GpuMat\& src, GpuMat\& dst, int top, int bottom, int left, int right, const Scalar\& value = Scalar())
|
||||
.. c:function:: void gpu::copyMakeBorder(const GpuMat\& src, GpuMat\& dst, int top, int bottom, int left, int right, const Scalar\& value = Scalar())
|
||||
|
||||
Copies 2D array to a larger destination array and pads borders with the given constant.
|
||||
|
||||
@@ -554,7 +553,7 @@ See also:
|
||||
|
||||
cv::gpu::rectStdDev
|
||||
-------------------
|
||||
.. c:function:: void rectStdDev(const GpuMat\& src, const GpuMat\& sqr, GpuMat\& dst, const Rect\& rect)
|
||||
.. c:function:: void gpu::rectStdDev(const GpuMat\& src, const GpuMat\& sqr, GpuMat\& dst, const Rect\& rect)
|
||||
|
||||
Computes standard deviation of integral images.
|
||||
|
||||
@@ -570,7 +569,7 @@ cv::gpu::rectStdDev
|
||||
|
||||
cv::gpu::evenLevels
|
||||
-------------------
|
||||
.. c:function:: void evenLevels(GpuMat\& levels, int nLevels, int lowerLevel, int upperLevel)
|
||||
.. c:function:: void gpu::evenLevels(GpuMat\& levels, int nLevels, int lowerLevel, int upperLevel)
|
||||
|
||||
Computes levels with even distribution.
|
||||
|
||||
@@ -586,9 +585,9 @@ cv::gpu::evenLevels
|
||||
|
||||
cv::gpu::histEven
|
||||
-----------------
|
||||
.. c:function:: void histEven(const GpuMat\& src, GpuMat\& hist, int histSize, int lowerLevel, int upperLevel)
|
||||
.. c:function:: void gpu::histEven(const GpuMat\& src, GpuMat\& hist, int histSize, int lowerLevel, int upperLevel)
|
||||
|
||||
.. c:function:: void histEven(const GpuMat\& src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4])
|
||||
.. c:function:: void gpu::histEven(const GpuMat\& src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4])
|
||||
|
||||
Calculates histogram with evenly distributed bins.
|
||||
|
||||
@@ -606,9 +605,9 @@ cv::gpu::histEven
|
||||
|
||||
cv::gpu::histRange
|
||||
------------------
|
||||
.. c:function:: void histRange(const GpuMat\& src, GpuMat\& hist, const GpuMat\& levels)
|
||||
.. c:function:: void gpu::histRange(const GpuMat\& src, GpuMat\& hist, const GpuMat\& levels)
|
||||
|
||||
.. c:function:: void histRange(const GpuMat\& src, GpuMat hist[4], const GpuMat levels[4])
|
||||
.. c:function:: void gpu::histRange(const GpuMat\& src, GpuMat hist[4], const GpuMat levels[4])
|
||||
|
||||
Calculates histogram with bins determined by levels array.
|
||||
|
||||
|
@@ -5,9 +5,9 @@ Matrix Reductions
|
||||
|
||||
.. index:: gpu::meanStdDev
|
||||
|
||||
cv::gpu::meanStdDev
|
||||
gpu::meanStdDev
|
||||
-------------------
|
||||
.. c:function:: void meanStdDev(const GpuMat\& mtx, Scalar\& mean, Scalar\& stddev)
|
||||
.. c:function:: void gpu::meanStdDev(const GpuMat\& mtx, Scalar\& mean, Scalar\& stddev)
|
||||
|
||||
Computes mean value and standard deviation of matrix elements.
|
||||
|
||||
@@ -22,9 +22,9 @@ See also:
|
||||
|
||||
.. index:: gpu::norm
|
||||
|
||||
cv::gpu::norm
|
||||
gpu::norm
|
||||
-------------
|
||||
.. c:function:: double norm(const GpuMat\& src, int normType=NORM_L2)
|
||||
.. c:function:: double gpu::norm(const GpuMat\& src, int normType=NORM_L2)
|
||||
|
||||
Returns norm of matrix (or of two matrices difference).
|
||||
|
||||
@@ -45,8 +45,7 @@ cv::gpu::norm
|
||||
|
||||
* **src1** First source matrix. ``CV_8UC1`` matrices are supported for now.
|
||||
|
||||
* **src2** Second source matrix. Must have the same size and type as ``src1``
|
||||
.
|
||||
* **src2** Second source matrix. Must have the same size and type as ``src1``.
|
||||
|
||||
* **normType** Norm type. ``NORM_L1`` , ``NORM_L2`` and ``NORM_INF`` are supported for now.
|
||||
|
||||
@@ -55,11 +54,11 @@ See also:
|
||||
|
||||
.. index:: gpu::sum
|
||||
|
||||
cv::gpu::sum
|
||||
gpu::sum
|
||||
------------
|
||||
.. c:function:: Scalar sum(const GpuMat\& src)
|
||||
.. c:function:: Scalar gpu::sum(const GpuMat\& src)
|
||||
|
||||
.. c:function:: Scalar sum(const GpuMat\& src, GpuMat\& buf)
|
||||
.. c:function:: Scalar gpu::sum(const GpuMat\& src, GpuMat\& buf)
|
||||
|
||||
Returns sum of matrix elements.
|
||||
|
||||
@@ -72,11 +71,11 @@ See also:
|
||||
|
||||
.. index:: gpu::absSum
|
||||
|
||||
cv::gpu::absSum
|
||||
gpu::absSum
|
||||
---------------
|
||||
.. c:function:: Scalar absSum(const GpuMat\& src)
|
||||
.. c:function:: Scalar gpu::absSum(const GpuMat\& src)
|
||||
|
||||
.. c:function:: Scalar absSum(const GpuMat\& src, GpuMat\& buf)
|
||||
.. c:function:: Scalar gpu::absSum(const GpuMat\& src, GpuMat\& buf)
|
||||
|
||||
Returns sum of matrix elements absolute values.
|
||||
|
||||
@@ -86,11 +85,11 @@ cv::gpu::absSum
|
||||
|
||||
.. index:: gpu::sqrSum
|
||||
|
||||
cv::gpu::sqrSum
|
||||
gpu::sqrSum
|
||||
---------------
|
||||
.. c:function:: Scalar sqrSum(const GpuMat\& src)
|
||||
.. c:function:: Scalar gpu::sqrSum(const GpuMat\& src)
|
||||
|
||||
.. c:function:: Scalar sqrSum(const GpuMat\& src, GpuMat\& buf)
|
||||
.. c:function:: Scalar gpu::sqrSum(const GpuMat\& src, GpuMat\& buf)
|
||||
|
||||
Returns squared sum of matrix elements.
|
||||
|
||||
@@ -100,13 +99,11 @@ cv::gpu::sqrSum
|
||||
|
||||
.. index:: gpu::minMax
|
||||
|
||||
cv::gpu::minMax
|
||||
gpu::minMax
|
||||
---------------
|
||||
.. c:function:: void minMax(const GpuMat\& src, double* minVal,
|
||||
double* maxVal=0, const GpuMat\& mask=GpuMat())
|
||||
.. c:function:: void gpu::minMax(const GpuMat\& src, double* minVal, double* maxVal=0, const GpuMat\& mask=GpuMat())
|
||||
|
||||
.. c:function:: void minMax(const GpuMat\& src, double* minVal, double* maxVal,
|
||||
const GpuMat\& mask, GpuMat\& buf)
|
||||
.. c:function:: void gpu::minMax(const GpuMat\& src, double* minVal, double* maxVal, const GpuMat\& mask, GpuMat\& buf)
|
||||
|
||||
Finds global minimum and maximum matrix elements and returns their values.
|
||||
|
||||
@@ -127,13 +124,13 @@ See also:
|
||||
|
||||
.. index:: gpu::minMaxLoc
|
||||
|
||||
cv::gpu::minMaxLoc
|
||||
gpu::minMaxLoc
|
||||
------------------
|
||||
.. c:function:: void minMaxLoc(const GpuMat\& src, double\* minVal, double* maxVal=0,
|
||||
.. c:function:: void gpu::minMaxLoc(const GpuMat\& src, double\* minVal, double* maxVal=0,
|
||||
Point* minLoc=0, Point* maxLoc=0,
|
||||
const GpuMat\& mask=GpuMat())
|
||||
|
||||
.. c:function:: void minMaxLoc(const GpuMat\& src, double* minVal, double* maxVal,
|
||||
.. c:function:: void gpu::minMaxLoc(const GpuMat\& src, double* minVal, double* maxVal,
|
||||
Point* minLoc, Point* maxLoc, const GpuMat\& mask,
|
||||
GpuMat\& valbuf, GpuMat\& locbuf)
|
||||
|
||||
@@ -162,11 +159,11 @@ See also:
|
||||
|
||||
.. index:: gpu::countNonZero
|
||||
|
||||
cv::gpu::countNonZero
|
||||
gpu::countNonZero
|
||||
---------------------
|
||||
.. c:function:: int countNonZero(const GpuMat\& src)
|
||||
.. c:function:: int gpu::countNonZero(const GpuMat\& src)
|
||||
|
||||
.. c:function:: int countNonZero(const GpuMat\& src, GpuMat\& buf)
|
||||
.. c:function:: int gpu::countNonZero(const GpuMat\& src, GpuMat\& buf)
|
||||
|
||||
Counts non-zero matrix elements.
|
||||
|
||||
|
@@ -5,9 +5,9 @@ Operations on Matrices
|
||||
|
||||
.. index:: gpu::transpose
|
||||
|
||||
cv::gpu::transpose
|
||||
gpu::transpose
|
||||
------------------
|
||||
.. c:function:: void transpose(const GpuMat\& src, GpuMat\& dst)
|
||||
.. c:function:: void gpu::transpose(const GpuMat\& src, GpuMat\& dst)
|
||||
|
||||
Transposes a matrix.
|
||||
|
||||
@@ -20,9 +20,9 @@ See also:
|
||||
|
||||
.. index:: gpu::flip
|
||||
|
||||
cv::gpu::flip
|
||||
gpu::flip
|
||||
-------------
|
||||
.. c:function:: void flip(const GpuMat\& a, GpuMat\& b, int flipCode)
|
||||
.. c:function:: void gpu::flip(const GpuMat\& a, GpuMat\& b, int flipCode)
|
||||
|
||||
Flips a 2D matrix around vertical, horizontal or both axes.
|
||||
|
||||
@@ -44,13 +44,13 @@ See also:
|
||||
|
||||
.. index:: gpu::LUT
|
||||
|
||||
cv::gpu::LUT
|
||||
gpu::LUT
|
||||
------------
|
||||
.. math::
|
||||
|
||||
dst(I) = lut(src(I))
|
||||
|
||||
.. c:function:: void LUT(const GpuMat\& src, const Mat\& lut, GpuMat\& dst)
|
||||
.. c:function:: void gpu::LUT(const GpuMat\& src, const Mat\& lut, GpuMat\& dst)
|
||||
|
||||
Transforms the source matrix into the destination matrix using given look-up table:
|
||||
|
||||
@@ -65,11 +65,11 @@ See also:
|
||||
|
||||
.. index:: gpu::merge
|
||||
|
||||
cv::gpu::merge
|
||||
gpu::merge
|
||||
--------------
|
||||
.. c:function:: void merge(const GpuMat* src, size_t n, GpuMat\& dst)
|
||||
.. c:function:: void gpu::merge(const GpuMat* src, size_t n, GpuMat\& dst)
|
||||
|
||||
.. c:function:: void merge(const GpuMat* src, size_t n, GpuMat\& dst,
|
||||
.. c:function:: void gpu::merge(const GpuMat* src, size_t n, GpuMat\& dst,
|
||||
const Stream\& stream)
|
||||
|
||||
Makes a multi-channel matrix out of several single-channel matrices.
|
||||
@@ -98,11 +98,11 @@ See also:
|
||||
|
||||
.. index:: gpu::split
|
||||
|
||||
cv::gpu::split
|
||||
gpu::split
|
||||
--------------
|
||||
.. c:function:: void split(const GpuMat\& src, GpuMat* dst)
|
||||
.. c:function:: void gpu::split(const GpuMat\& src, GpuMat* dst)
|
||||
|
||||
.. c:function:: void split(const GpuMat\& src, GpuMat* dst, const Stream\& stream)
|
||||
.. c:function:: void gpu::split(const GpuMat\& src, GpuMat* dst, const Stream\& stream)
|
||||
|
||||
Copies each plane of a multi-channel matrix into an array.
|
||||
|
||||
@@ -112,9 +112,9 @@ cv::gpu::split
|
||||
|
||||
:param stream: Stream for the asynchronous version.
|
||||
|
||||
.. c:function:: void split(const GpuMat\& src, vector$<$GpuMat$>$\& dst)
|
||||
.. c:function:: void gpu::split(const GpuMat\& src, vector$<$GpuMat$>$\& dst)
|
||||
|
||||
.. c:function:: void split(const GpuMat\& src, vector$<$GpuMat$>$\& dst,
|
||||
.. c:function:: void gpu::split(const GpuMat\& src, vector$<$GpuMat$>$\& dst,
|
||||
const Stream\& stream)
|
||||
|
||||
* **src** Source matrix.
|
||||
@@ -128,9 +128,9 @@ See also:
|
||||
|
||||
.. index:: gpu::magnitude
|
||||
|
||||
cv::gpu::magnitude
|
||||
gpu::magnitude
|
||||
------------------
|
||||
.. c:function:: void magnitude(const GpuMat\& x, GpuMat\& magnitude)
|
||||
.. c:function:: void gpu::magnitude(const GpuMat\& x, GpuMat\& magnitude)
|
||||
|
||||
Computes magnitudes of complex matrix elements.
|
||||
|
||||
@@ -156,9 +156,9 @@ See also:
|
||||
|
||||
.. index:: gpu::magnitudeSqr
|
||||
|
||||
cv::gpu::magnitudeSqr
|
||||
gpu::magnitudeSqr
|
||||
---------------------
|
||||
.. c:function:: void magnitudeSqr(const GpuMat\& x, GpuMat\& magnitude)
|
||||
.. c:function:: void gpu::magnitudeSqr(const GpuMat\& x, GpuMat\& magnitude)
|
||||
|
||||
Computes squared magnitudes of complex matrix elements.
|
||||
|
||||
@@ -181,9 +181,9 @@ cv::gpu::magnitudeSqr
|
||||
|
||||
.. index:: gpu::phase
|
||||
|
||||
cv::gpu::phase
|
||||
gpu::phase
|
||||
--------------
|
||||
.. c:function:: void phase(const GpuMat\& x, const GpuMat\& y, GpuMat\& angle,
|
||||
.. c:function:: void gpu::phase(const GpuMat\& x, const GpuMat\& y, GpuMat\& angle,
|
||||
bool angleInDegrees=false)
|
||||
|
||||
.. c:function:: void phase(const GpuMat\& x, const GpuMat\& y, GpuMat\& angle,
|
||||
@@ -206,9 +206,9 @@ See also:
|
||||
|
||||
.. index:: gpu::cartToPolar
|
||||
|
||||
cv::gpu::cartToPolar
|
||||
gpu::cartToPolar
|
||||
--------------------
|
||||
.. c:function:: void cartToPolar(const GpuMat\& x, const GpuMat\& y, GpuMat\& magnitude,
|
||||
.. c:function:: void gpu::cartToPolar(const GpuMat\& x, const GpuMat\& y, GpuMat\& magnitude,
|
||||
GpuMat\& angle, bool angleInDegrees=false)
|
||||
|
||||
.. c:function:: void cartToPolar(const GpuMat\& x, const GpuMat\& y, GpuMat\& magnitude,
|
||||
@@ -233,12 +233,12 @@ See also:
|
||||
|
||||
.. index:: gpu::polarToCart
|
||||
|
||||
cv::gpu::polarToCart
|
||||
gpu::polarToCart
|
||||
--------------------
|
||||
.. c:function:: void polarToCart(const GpuMat\& magnitude, const GpuMat\& angle,
|
||||
.. c:function:: void gpu::polarToCart(const GpuMat\& magnitude, const GpuMat\& angle,
|
||||
GpuMat\& x, GpuMat\& y, bool angleInDegrees=false)
|
||||
|
||||
.. c:function:: void polarToCart(const GpuMat\& magnitude, const GpuMat\& angle,
|
||||
.. c:function:: void gpu::polarToCart(const GpuMat\& magnitude, const GpuMat\& angle,
|
||||
GpuMat\& x, GpuMat\& y, bool angleInDegrees,
|
||||
const Stream\& stream)
|
||||
|
||||
|
@@ -5,9 +5,9 @@ Per-element Operations.
|
||||
|
||||
.. index:: gpu::add
|
||||
|
||||
cv::gpu::add
|
||||
gpu::add
|
||||
------------
|
||||
.. c:function:: void add(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
.. c:function:: void gpu::add(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
|
||||
Computes matrix-matrix or matrix-scalar sum.
|
||||
|
||||
@@ -17,7 +17,7 @@ cv::gpu::add
|
||||
|
||||
:param c: Destination matrix. Will have the same size and type as ``a`` .
|
||||
|
||||
.. c:function:: void add(const GpuMat\& a, const Scalar\& sc, GpuMat\& c)
|
||||
.. c:function:: void gpu::add(const GpuMat\& a, const Scalar\& sc, GpuMat\& c)
|
||||
|
||||
* **a** Source matrix. ``CV_32FC1`` and ``CV_32FC2`` matrixes are supported for now.
|
||||
|
||||
@@ -30,9 +30,9 @@ See also:
|
||||
|
||||
.. index:: gpu::subtract
|
||||
|
||||
cv::gpu::subtract
|
||||
gpu::subtract
|
||||
-----------------
|
||||
.. c:function:: void subtract(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
.. c:function:: void gpu::subtract(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
|
||||
Subtracts matrix from another matrix (or scalar from matrix).
|
||||
|
||||
@@ -55,9 +55,9 @@ See also:
|
||||
|
||||
.. index:: gpu::multiply
|
||||
|
||||
cv::gpu::multiply
|
||||
gpu::multiply
|
||||
-----------------
|
||||
.. c:function:: void multiply(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
.. c:function:: void gpu::multiply(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
|
||||
Computes per-element product of two matrices (or of matrix and scalar).
|
||||
|
||||
@@ -80,9 +80,9 @@ See also:
|
||||
|
||||
.. index:: gpu::divide
|
||||
|
||||
cv::gpu::divide
|
||||
gpu::divide
|
||||
---------------
|
||||
.. c:function:: void divide(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
.. c:function:: void gpu::divide(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
|
||||
Performs per-element division of two matrices (or division of matrix by scalar).
|
||||
|
||||
@@ -108,9 +108,9 @@ See also:
|
||||
|
||||
.. index:: gpu::exp
|
||||
|
||||
cv::gpu::exp
|
||||
gpu::exp
|
||||
------------
|
||||
.. c:function:: void exp(const GpuMat\& a, GpuMat\& b)
|
||||
.. c:function:: void gpu::exp(const GpuMat\& a, GpuMat\& b)
|
||||
|
||||
Computes exponent of each matrix element.
|
||||
|
||||
@@ -123,9 +123,9 @@ See also:
|
||||
|
||||
.. index:: gpu::log
|
||||
|
||||
cv::gpu::log
|
||||
gpu::log
|
||||
------------
|
||||
.. c:function:: void log(const GpuMat\& a, GpuMat\& b)
|
||||
.. c:function:: void gpu::log(const GpuMat\& a, GpuMat\& b)
|
||||
|
||||
Computes natural logarithm of absolute value of each matrix element.
|
||||
|
||||
@@ -138,9 +138,9 @@ See also:
|
||||
|
||||
.. index:: gpu::absdiff
|
||||
|
||||
cv::gpu::absdiff
|
||||
gpu::absdiff
|
||||
----------------
|
||||
.. c:function:: void absdiff(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
.. c:function:: void gpu::absdiff(const GpuMat\& a, const GpuMat\& b, GpuMat\& c)
|
||||
|
||||
Computes per-element absolute difference of two matrices (or of matrix and scalar).
|
||||
|
||||
@@ -163,9 +163,9 @@ See also:
|
||||
|
||||
.. index:: gpu::compare
|
||||
|
||||
cv::gpu::compare
|
||||
gpu::compare
|
||||
----------------
|
||||
.. c:function:: void compare(const GpuMat\& a, const GpuMat\& b, GpuMat\& c, int cmpop)
|
||||
.. c:function:: void gpu::compare(const GpuMat\& a, const GpuMat\& b, GpuMat\& c, int cmpop)
|
||||
|
||||
Compares elements of two matrices.
|
||||
|
||||
@@ -188,16 +188,16 @@ cv::gpu::compare
|
||||
See also:
|
||||
:func:`compare` .
|
||||
|
||||
.. index:: cv::gpu::bitwise_not
|
||||
.. index:: gpu::bitwise_not
|
||||
|
||||
.. _cv::gpu::bitwise_not:
|
||||
.. _gpu::bitwise_not:
|
||||
|
||||
cv::gpu::bitwise_not
|
||||
gpu::bitwise_not
|
||||
--------------------
|
||||
.. c:function:: void bitwise_not(const GpuMat\& src, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_not(const GpuMat\& src, GpuMat\& dst,
|
||||
const GpuMat\& mask=GpuMat())
|
||||
|
||||
.. c:function:: void bitwise_not(const GpuMat\& src, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_not(const GpuMat\& src, GpuMat\& dst,
|
||||
const GpuMat\& mask, const Stream\& stream)
|
||||
|
||||
Performs per-element bitwise inversion.
|
||||
@@ -213,16 +213,16 @@ cv::gpu::bitwise_not
|
||||
See also:
|
||||
.
|
||||
|
||||
.. index:: cv::gpu::bitwise_or
|
||||
.. index:: gpu::bitwise_or
|
||||
|
||||
.. _cv::gpu::bitwise_or:
|
||||
.. _gpu::bitwise_or:
|
||||
|
||||
cv::gpu::bitwise_or
|
||||
gpu::bitwise_or
|
||||
-------------------
|
||||
.. c:function:: void bitwise_or(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_or(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const GpuMat\& mask=GpuMat())
|
||||
|
||||
.. c:function:: void bitwise_or(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_or(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const GpuMat\& mask, const Stream\& stream)
|
||||
|
||||
Performs per-element bitwise disjunction of two matrices.
|
||||
@@ -240,16 +240,16 @@ cv::gpu::bitwise_or
|
||||
See also:
|
||||
.
|
||||
|
||||
.. index:: cv::gpu::bitwise_and
|
||||
.. index:: gpu::bitwise_and
|
||||
|
||||
.. _cv::gpu::bitwise_and:
|
||||
.. _gpu::bitwise_and:
|
||||
|
||||
cv::gpu::bitwise_and
|
||||
gpu::bitwise_and
|
||||
--------------------
|
||||
.. c:function:: void bitwise_and(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_and(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const GpuMat\& mask=GpuMat())
|
||||
|
||||
.. c:function:: void bitwise_and(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_and(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const GpuMat\& mask, const Stream\& stream)
|
||||
|
||||
Performs per-element bitwise conjunction of two matrices.
|
||||
@@ -267,16 +267,16 @@ cv::gpu::bitwise_and
|
||||
See also:
|
||||
.
|
||||
|
||||
.. index:: cv::gpu::bitwise_xor
|
||||
.. index:: gpu::bitwise_xor
|
||||
|
||||
.. _cv::gpu::bitwise_xor:
|
||||
.. _gpu::bitwise_xor:
|
||||
|
||||
cv::gpu::bitwise_xor
|
||||
gpu::bitwise_xor
|
||||
--------------------
|
||||
.. c:function:: void bitwise_xor(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_xor(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const GpuMat\& mask=GpuMat())
|
||||
|
||||
.. c:function:: void bitwise_xor(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::bitwise_xor(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const GpuMat\& mask, const Stream\& stream)
|
||||
|
||||
Performs per-element bitwise "exclusive or" of two matrices.
|
||||
@@ -296,11 +296,11 @@ See also:
|
||||
|
||||
.. index:: gpu::min
|
||||
|
||||
cv::gpu::min
|
||||
gpu::min
|
||||
------------
|
||||
.. c:function:: void min(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst)
|
||||
.. c:function:: void gpu::min(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst)
|
||||
|
||||
.. c:function:: void min(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::min(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const Stream\& stream)
|
||||
|
||||
Computes per-element minimum of two matrices (or of matrix and scalar).
|
||||
@@ -313,9 +313,9 @@ cv::gpu::min
|
||||
|
||||
:param stream: Stream for the asynchronous version.
|
||||
|
||||
.. c:function:: void min(const GpuMat\& src1, double src2, GpuMat\& dst)
|
||||
.. c:function:: void gpu::min(const GpuMat\& src1, double src2, GpuMat\& dst)
|
||||
|
||||
.. c:function:: void min(const GpuMat\& src1, double src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::min(const GpuMat\& src1, double src2, GpuMat\& dst,
|
||||
const Stream\& stream)
|
||||
|
||||
* **src1** Source matrix.
|
||||
@@ -331,11 +331,11 @@ See also:
|
||||
|
||||
.. index:: gpu::max
|
||||
|
||||
cv::gpu::max
|
||||
gpu::max
|
||||
------------
|
||||
.. c:function:: void max(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst)
|
||||
.. c:function:: void gpu::max(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst)
|
||||
|
||||
.. c:function:: void max(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
.. c:function:: void gpu::max(const GpuMat\& src1, const GpuMat\& src2, GpuMat\& dst,
|
||||
const Stream\& stream)
|
||||
|
||||
Computes per-element maximum of two matrices (or of matrix and scalar).
|
||||
|
Reference in New Issue
Block a user