..ocv:cfunction:: CvSetElem* cvGetSetElem( const CvSet* set_header, int index )
..ocv:cfunction:: CvSetElem* cvGetSetElem( const CvSet* set_header, int idx )
:param set_header:Set
:param set_header:Set
:param index:Index of the set element within a sequence
:param idx:Index of the set element within a sequence
The function finds a set element by its index. The function returns the pointer to it or 0 if the index is invalid or the corresponding node is free. The function supports negative indices as it uses
The function finds a set element by its index. The function returns the pointer to it or 0 if the index is invalid or the corresponding node is free. The function supports negative indices as it uses
Closes the file and releases all the memory buffers.
Closes the file and releases all the memory buffers.
..ocv:function::string FileStorage::release()
..ocv:function::void FileStorage::release()
Call this method after all I/O operations with the storage are finished. If the storage was opened for writing data and ``FileStorage::WRITE`` was specified
Call this method after all I/O operations with the storage are finished. If the storage was opened for writing data and ``FileStorage::WRITE`` was specified
@ -94,9 +94,9 @@ Finds keypoints in an image and computes their descriptors
:param useProvidedKeypoints:If it is true, then the method will use the provided vector of keypoints instead of detecting them.
:param useProvidedKeypoints:If it is true, then the method will use the provided vector of keypoints instead of detecting them.
FREAK
FREAK
-----
-----
..ocv:class:: FREAK
..ocv:class:: FREAK : public DescriptorExtractor
Class implementing the FREAK (*Fast Retina Keypoint*) keypoint descriptor, described in [AOV12]_. The algorithm propose a novel keypoint descriptor inspired by the human visual system and more precisely the retina, coined Fast Retina Key- point (FREAK). A cascade of binary strings is computed by efficiently comparing image intensities over a retinal sampling pattern. FREAKs are in general faster to compute with lower memory load and also more robust than SIFT, SURF or BRISK. They are competitive alternatives to existing keypoints in particular for embedded applications.
Class implementing the FREAK (*Fast Retina Keypoint*) keypoint descriptor, described in [AOV12]_. The algorithm propose a novel keypoint descriptor inspired by the human visual system and more precisely the retina, coined Fast Retina Key- point (FREAK). A cascade of binary strings is computed by efficiently comparing image intensities over a retinal sampling pattern. FREAKs are in general faster to compute with lower memory load and also more robust than SIFT, SURF or BRISK. They are competitive alternatives to existing keypoints in particular for embedded applications.
The class discriminates between foreground and background pixels by building and maintaining a model of the background. Any pixel which does not fit this model is then deemed to be foreground. The class implements algorithm described in [FGD2003]_.
The class discriminates between foreground and background pixels by building and maintaining a model of the background. Any pixel which does not fit this model is then deemed to be foreground. The class implements algorithm described in [FGD2003]_.
The results are available through the class fields:
The results are available through the class fields:
..ocv:member:: cv::gpu::GpuMat background
..ocv:member:: cv::gpu::GpuMat background
@ -383,7 +383,7 @@ gpu::FGDStatModel::update
--------------------------
--------------------------
Updates the background model and returns foreground regions count.
Updates the background model and returns foreground regions count.
..ocv:function:: int gpu::FGDStatModel::update(const cv::gpu::GpuMat& curFrame);
..ocv:function:: int gpu::FGDStatModel::update(const cv::gpu::GpuMat& curFrame)
:param curFrame:Next video frame.
:param curFrame:Next video frame.
@ -615,7 +615,7 @@ Class for reading video from files.
gpu::VideoReader_GPU::Codec
gpu::VideoReader_GPU::Codec
---------------------------
---------------------------
Video codecs supported by ocv:class:`gpu::VideoReader_GPU` . ::
Video codecs supported by :ocv:class:`gpu::VideoReader_GPU` . ::
enum Codec
enum Codec
{
{
@ -640,7 +640,7 @@ Video codecs supported by ocv:class:`gpu::VideoReader_GPU` . ::
gpu::VideoReader_GPU::ChromaFormat
gpu::VideoReader_GPU::ChromaFormat
----------------------------------
----------------------------------
Chroma formats supported by ocv:class:`gpu::VideoReader_GPU` . ::
Chroma formats supported by :ocv:class:`gpu::VideoReader_GPU` . ::