template_map_base.m 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. % ------------------------------------------------------------------------
  2. % <strong>OpenCV Toolbox</strong>
  3. % Matlab bindings for the OpenCV library
  4. % ------------------------------------------------------------------------
  5. %
  6. % The OpenCV Toolbox allows you to make calls to native OpenCV methods
  7. % and classes directly from within Matlab.
  8. %
  9. % <strong>PATHS</strong>
  10. % To call OpenCV methods from anywhere in your workspace, add the
  11. % directory containing this file to the path:
  12. %
  13. % addpath(fileparts(which('cv')));
  14. %
  15. % The OpenCV Toolbox contains two important locations:
  16. % cv.m - This file, containing OpenCV enums
  17. % +cv/ - The directory containing the OpenCV methods and classes
  18. %
  19. % <strong>CALLING SYNTAX</strong>
  20. % To call an OpenCV method, class or enum, it must be prefixed with the
  21. % 'cv' qualifier. For example:
  22. %
  23. % % perform a Fourier transform
  24. % Xf = cv.dft(X, cv.DFT_COMPLEX_OUTPUT);
  25. %
  26. % % create a VideoCapture object, and open a file
  27. % camera = cv.VideoCapture();
  28. % camera.open('/path/to/file');
  29. %
  30. % You can specify optional arguments by name, similar to how python
  31. % and many builtin Matlab functions work. For example, the cv.dft
  32. % method used above has an optional 'nonzeroRows' argument. If
  33. % you want to specify that, but keep the default 'flags' behaviour,
  34. % simply call the method as:
  35. %
  36. % Xf = cv.dft(X, 'nonzeroRows', 7);
  37. %
  38. % <strong>HELP</strong>
  39. % Each method has its own help file containing information about the
  40. % arguments, return values, and what operation the method performs.
  41. % You can access this help information by typing:
  42. %
  43. % help cv.methodName
  44. %
  45. % The full list of methods can be found by inspecting the +cv/
  46. % directory. Note that the methods available to you will depend
  47. % on which modules you configured OpenCV to build.
  48. %
  49. % <strong>DIAGNOSTICS</strong>
  50. % If you are having problems with the OpenCV Toolbox and need to send a
  51. % bug report to the OpenCV team, you can get a printout of diagnostic
  52. % information to submit along with your report by typing:
  53. %
  54. % <a href="matlab: cv.buildInformation()">cv.buildInformation();</a>
  55. %
  56. % <strong>OTHER RESOURCES</strong>
  57. % OpenCV documentation online: <a href="matlab: web('http://docs.opencv.org', '-browser')">http://docs.opencv.org</a>
  58. % OpenCV issue tracker: <a href="matlab: web('http://code.opencv.org', '-browser')">http://code.opencv.org</a>
  59. % OpenCV Q&A: <a href="matlab: web('http://answers.opencv.org', '-browser')">http://answers.opencv.org</a>
  60. %
  61. % See also: cv.help, <a href="matlab: cv.buildInformation()">cv.buildInformation</a>
  62. %
  63. % Copyright {{ time.strftime("%Y", time.localtime()) }} The OpenCV Foundation
  64. %
  65. classdef cv
  66. properties (Constant = true)
  67. {% for key, val in constants.items() %}
  68. {{key}} = {{val|formatMatlabConstant(constants)}};
  69. {% endfor %}
  70. end
  71. end