Commit Graph

26 Commits

Author SHA1 Message Date
hbristow
7e5bbec895 Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00
hbristow
d16d637eb2 Fixed handling of optional arguments under ArgumentParser. Fixed default constructor error in MxArray 2013-08-30 16:10:32 +10:00
hbristow
a780c3a7d1 Swapped out function assertions in favour of ArgumentParser 2013-08-30 15:06:57 +10:00
hbristow
8f62a52b9b Brought matlab module into cv namespace 2013-08-30 12:39:01 +10:00
hbristow
153549c7f6 Added LICENSE and Americanizations 2013-08-30 01:09:29 +10:00
hbristow
78dc2c5423 Upadated include tree to match the rest of opencv. Added install configuration for custom mex compiler 2013-08-28 17:06:19 +10:00
hbristow
7ef3be3429 By default, all function now export at least one return value back into the Matlab workspace, even if none are requested. This is in line with Matlab's calling convention, where functions called without an lvalue or a semicolon have their first output printed to the terminal 2013-08-07 00:14:13 +10:00
hbristow
baa946c390 Split MxArray out of bridge into standalone file. Does not depend on bridge. Working to make it API complete with respect to mxArray, but with better calling syntax 2013-07-02 16:42:37 -07:00
hbristow
504558c0be Better C++11 and C++98 support/interop. Started writing map interface. Some core functions actually run 2013-07-01 16:33:55 -07:00
hbristow
538dbfe585 Now compiling under much more strigent warnings, with Clang and optional C++11 support 2013-06-29 14:24:53 -07:00
hbristow
53a7fbf74b Improved bridge. Fixed I/O problem in function template 2013-06-29 00:19:08 -07:00
hbristow
53c9c40eba started MxArray wrapper around mxArray class 2013-06-28 19:48:42 -07:00
hbristow
0b9ff11537 Fixed bug where expected number of input variables was incorrect if any of the inputs were also outputs 2013-06-24 13:11:29 -07:00
hbristow
da63919811 Improved error handling on entry to mex files 2013-06-24 12:42:28 -07:00
hbristow
755ce9d654 Matlab bindings now only building once rather than every call to make, via the use of some proxies. Matlab build currently only happens in one thread, so it can be pretty slow 2013-06-22 23:26:27 -07:00
hbristow
3b4814a52e Started writing the Bridge interface. Mex wrappers now starting to compile for core 2013-06-22 12:38:40 -07:00
hbristow
0263727b53 Function templates now include the full skeleton, from input to output. Class templates need work 2013-06-21 23:39:28 -07:00
hbristow
f45bc35652 input/output assignment in templates is working for non-trivial cases. Updated parse_tree to handle '/IO' and '/S' modifiers 2013-06-21 22:55:48 -07:00
hbristow
1a15ed3279 Started handling trivial case of return references. Removed most modules from build tree while testing (cmake/OpenCVModule) 2013-06-21 17:33:24 -07:00
hbristow
0c726a3fbe Improved exception handling and unit tests 2013-06-19 16:37:57 +10:00
hbristow
884f36ba65 Improved configure time tests. Added OpenCV specific exception handling 2013-06-19 11:54:14 +10:00
hbristow
4d135ac4d8 Improved exception handling in function template 2013-06-18 23:13:03 +10:00
hbristow
804d0924c9 cmake now attempts to generate and compile a simple mex file at configure time and reports the working status of the generator and compiler, rather than just naively saying Matlab exists 2013-06-18 23:00:48 +10:00
Hilton Bristow
66c40bee6f Template population now functional 2013-06-17 16:51:24 +10:00
Hilton Bristow
09e294711d Added class templates 2013-06-17 16:51:23 +10:00
Hilton Bristow
5d1944bace Added jinja framework for templates and base templates for functions and docs 2013-06-17 16:48:07 +10:00