1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00
Commit Graph

11 Commits

Author SHA1 Message Date
Ahmed Ashour
cd7276f41f Merge pull request #2131 from asashour:param
* doc: fix return parameter for void method

* docs: add missing parameter description
2019-06-06 13:56:37 +03:00
tompollok
fcb266f728 refactoring catching all exceptions as const ref 2018-11-10 00:10:43 +01:00
Alexander Alekhin
06de054482 bioinspired: apply CV_OVERRIDE/CV_FINAL 2018-03-21 16:59:10 +03:00
Vladislav Sovrasov
53b82426e8 bioinspired: move all factories into corresponding classes 2017-08-17 15:32:37 +03:00
Vladislav Sovrasov
ec6ab8cdd5 bioinspired: remove register specifier to prevent possible warnings from cxx11 compilers 2017-08-15 14:52:16 +03:00
catree
af26ce3af2 Bioinspired module: remove printSetup to avoid unnecessary printing in the console, fix some typos. (#905) 2016-12-23 13:53:18 +03:00
Patrick Snape
c8986b13fc Complex issue around const valarray indexing
Fixes https://github.com/Itseez/opencv_contrib/issues/332

Relevant material:
http://stackoverflow.com/questions/6066273/pointer-into-vector-but-not-into-a-valarray
http://objectmix.com/c/40001-address-first-member-valarray.html
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#389

I have to admit my naivety here, this issue is was complex for me
to diagnose. It appears that in the MSVC 2008/2010 implementation
of std::valarray, when indexing and assigning to a const variable,
that the const version of the member function
valarray<T>::operator[](size_t) returns a value instead of a
const-reference. Therefore, taking the address of this is a
compiler error as you can't take the address of an lvalue. By
performing a const_cast on the array we change which function
is called and thus we actually do recieve a const-reference.
This should not effect other compilers.
2015-08-20 11:29:14 +01:00
Alexandre Benoit
60cbf17abd added python support and completed documentation 2015-05-03 13:05:50 +02:00
Ilya Lavrenov
ae5c87eafa fixed warnings 2014-06-20 15:45:07 +04:00
Kirill Kornyakov
05fc3a9909 Fix bioinspired build on Mac (clang) 2014-03-20 23:03:16 +04:00
Alexandre Benoit
8ed9d2604f added a local extremum blob detector that can be used after retina module to detect transient areas (low level saliency) 2014-02-17 21:50:04 +01:00