Commit Graph

115 Commits

Author SHA1 Message Date
hbristow
8f92973b8c Started documentation skeleton 2013-08-06 21:16:38 +10:00
hbristow
b654413567 Added mixed-precision check when attempting to link to an OpenCV version with different bitness. Bindings now compiling and linking on my Windows 7 VM with VS2012 and Matlab R2013a 2013-08-06 13:01:57 +10:00
hbristow
48aac747ca removed pkg_resources (setuptools) dependency from jinja. Matlab module now has no python dependencies beyond the core python libs 2013-08-06 00:40:57 +10:00
hbristow
d00f4e267b Added Windows dll versioning and Debug library postfix checks. Dependent libraries now being found by linker :) 2013-08-05 17:37:48 +10:00
hbristow
ecb506842b Added Windows-specific configuration lookup for linker paths 2013-08-05 14:49:12 +10:00
hbristow
dfda79e673 Added passthrough of CXX FLAGS to mex compiler 2013-08-05 00:44:38 +10:00
hbristow
5e50791a9d Generator and compiler now working on Windows. Moved matlab to correct VS solution folder 2013-07-31 12:37:05 +10:00
hbristow
58ca8ed97f Improved finding Matlab on Windows machines. Needs testing on computers that have multiple version installed 2013-07-31 11:24:28 +10:00
hbristow
627b9df85f removed experimental IO from build 2013-07-31 00:00:50 +10:00
hbristow
6549e5e052 Added flaky support for finding Matlab on Windows machines 2013-07-30 23:58:32 +10:00
hbristow
9cc949e341 Added more test cases 2013-07-12 17:31:25 +10:00
hbristow
5a34b00737 Added more test cases 2013-07-12 16:57:05 +10:00
hbristow
603d949354 Improved string handling. Swapped transpose interface for slow but correct implementation. Will come back to optimized implementation later. imshow now works correctly 2013-07-12 15:48:03 +10:00
hbristow
346f7d0f3e Fast deep-copy-transpose implemented which attempts to not thrash the cache. Good first step for now, but no transpose at all would be preferrable. Started I/O. 2013-07-12 10:38:48 +10:00
hbristow
d126263983 implemented faster transpose with SEE auto vectorization 2013-07-03 23:34:02 -07: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
6fd296c0b0 More aggressive build warnings. The cmake configuration is quite fragile. Pay particular attention to quotes around variables 2013-06-29 16:30:17 -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
fc519aa3b3 Matlab constants now being parsed correctly. Over 700 constants correctly formatted :) 2013-06-27 20:03:38 -07:00
hbristow
ef6327bb89 Now building all OpenCV functions 2013-06-27 18:13:04 -07:00
hbristow
d6453cf051 Now builds all functions except those dependent on Features2d. Improved build detection if cmake is rerun 2013-06-27 16:25:18 -07:00
hbristow
245bc5dcc0 maintenant compiling video et photo aussi 2013-06-27 13:58:40 -07:00
hbristow
5bc55a042e Now building all functions (not classes) in core, imgproc, ml and highgui 2013-06-27 11:45:19 -07:00
hbristow
bb56ac4ae6 Added delta builds of Matlab executables. Imgproc module now compiling 2013-06-27 00:25:48 -07:00
hbristow
136f205fb3 added handling of constants equaling constants for C++ map 2013-06-26 17:41:35 -07:00
hbristow
6b88a21be8 added handling of constants equaling constants. e.g. FMT_DEFAULT = FMT_MATLAB 2013-06-26 17:39:08 -07:00
hbristow
c5720213e4 Commented enum maps 2013-06-26 16:13:50 -07:00
hbristow
e51bdbeb2d All OpenCV constants being exported into matlab class and C++ map templates 2013-06-26 15:45:05 -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
8cd48cf35a Added README and proposal. Staging for first public commit 2013-06-23 20:48:40 -07:00
hbristow
c8fdb2c1e0 Changed build locations so that the matlab module can be used in-place, without having to install 2013-06-23 13:54:54 -07:00
hbristow
b0285d92b4 Improved file installation 2013-06-23 13:34:01 -07:00
hbristow
3b77fa5e8c Improved dependency checking 2013-06-23 09:44:26 -07:00
hbristow
24d5adfd54 Added commenting to modules/matlab/CMakeLists.txt 2013-06-22 23:52:05 -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
d9cea3b8b0 Compiling matlab from sources now appears as a single target 2013-06-19 17:37:41 +10:00
hbristow
0c726a3fbe Improved exception handling and unit tests 2013-06-19 16:37:57 +10:00
hbristow
bbece095fb Starting writing Matlab testing framework 2013-06-19 15:04:52 +10:00
hbristow
31415e344f Matlab binding generation now at build time 2013-06-19 13:59:22 +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
hbristow
fc16cfcf41 Improved template formatting 2013-06-18 17:29:04 +10:00
hbristow
304fd03e64 Updated jinja version 2013-06-18 17:27:09 +10:00
hbristow
28c90609c9 Stripped more unnecessary files out of jinja. Now down to 21 files at 352KB. Stripped files are in jinja-unused for the moment 2013-06-17 16:51:25 +10:00
Hilton Bristow
30aa710022 Removed some debug statements 2013-06-17 16:51:24 +10:00
Hilton Bristow
eda32520e2 Improved tempalte formatting 2013-06-17 16:51:24 +10:00
Hilton Bristow
66c40bee6f Template population now functional 2013-06-17 16:51:24 +10:00
Hilton Bristow
827b4f93e4 Stripped down jinja, added cmake support 2013-06-17 16:51:24 +10:00
Hilton Bristow
09e294711d Added class templates 2013-06-17 16:51:23 +10:00
Hilton Bristow
c29a98ef84 Added README 2013-06-17 16:51:23 +10:00
Hilton Bristow
8e9cdf8ca3 Updated print formatting 2013-06-17 16:51:23 +10:00
Hilton Bristow
808f9dbc93 Improved parse tree, now building within main opencv build system 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
Hilton Bristow
e8e537a1c7 Added matlab generator stub 2013-06-17 16:48:06 +10:00
Hilton Bristow
ded45b4d1a Added basic ability to find Matlab installations. Added test cpp file under modules/matlab/test to test mex compiler within cmake 2013-06-17 16:48:05 +10:00
Hilton Bristow
411604fa90 Initial matlab commit 2013-06-17 16:40:54 +10:00