Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
245bc5dc
Commit
245bc5dc
authored
Jun 27, 2013
by
hbristow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maintenant compiling video et photo aussi
parent
5bc55a04
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+1
-2
CMakeLists.txt
modules/matlab/CMakeLists.txt
+6
-3
bridge.hpp
modules/matlab/include/bridge.hpp
+5
-0
No files found.
cmake/OpenCVModule.cmake
View file @
245bc5dc
...
...
@@ -312,8 +312,7 @@ macro(ocv_glob_modules)
list
(
APPEND __directories_observed
"
${
__path
}
"
)
# TODO: Undo this change to build all modules
#file(GLOB __ocvmodules RELATIVE "${__path}" "${__path}/*")
file
(
GLOB __ocvmodules RELATIVE
"
${
__path
}
"
"
${
__path
}
/core"
"
${
__path
}
/imgproc"
"
${
__path
}
/ml"
"
${
__path
}
/highgui"
"
${
__path
}
/matlab"
)
file
(
GLOB __ocvmodules RELATIVE
"
${
__path
}
"
"
${
__path
}
/*"
)
if
(
__ocvmodules
)
list
(
SORT __ocvmodules
)
foreach
(
mod
${
__ocvmodules
}
)
...
...
modules/matlab/CMakeLists.txt
View file @
245bc5dc
...
...
@@ -43,9 +43,12 @@ endif()
set
(
the_description
"The Matlab/Octave bindings"
)
ocv_add_module
(
matlab BINDINGS
#TODO: does it actually NEED to depend on core?
OPTIONAL opencv_core
opencv_objdetect opencv_features2d opencv_video
opencv_highgui opencv_ml opencv_calib3d opencv_photo
opencv_nonfree opencv_calib opencv_imgproc
)
opencv_imgproc opencv_ml opencv_highgui
#opencv_objdetect opencv_features2d
opencv_video opencv_photo
#opencv_calib opencv_calib3d
#opencv_nonfree
)
# TODO: Undo this when building all modules to find python properly
#set(HDR_PARSER_PATH ${OPENCV_MODULE_opencv_python_LOCATION}/src2)
...
...
modules/matlab/include/bridge.hpp
View file @
245bc5dc
...
...
@@ -149,6 +149,11 @@ public:
double
toDouble
()
{
return
0
;
}
operator
double
()
{
return
toDouble
();
}
// --------------------------- float --------------------------------------
Bridge
&
operator
=
(
const
float
&
obj
)
{
return
*
this
;
}
float
toFloat
()
{
return
0
;
}
operator
float
()
{
return
toFloat
();
}
// -------------------------- Point --------------------------------------
Bridge
&
operator
=
(
const
cv
::
Point
&
obj
)
{
return
*
this
;
}
cv
::
Point
toPoint
()
{
return
cv
::
Point
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment