Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
2b74ca6f
Commit
2b74ca6f
authored
Feb 04, 2015
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added opencv_contrib_world module and fixed some compilation warnings on iOS
parent
312c8fa7
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
65 additions
and
17 deletions
+65
-17
CMakeLists.txt
modules/adas/tools/fcw_detect/CMakeLists.txt
+1
-1
CMakeLists.txt
modules/adas/tools/fcw_train/CMakeLists.txt
+1
-1
retinacolor.hpp
modules/bioinspired/src/retinacolor.hpp
+1
-1
retinafilter.hpp
modules/bioinspired/src/retinafilter.hpp
+1
-1
CMakeLists.txt
modules/contrib_world/CMakeLists.txt
+43
-0
contrib_world.hpp
modules/contrib_world/include/opencv2/contrib_world.hpp
+5
-0
dummy.cpp
modules/contrib_world/src/dummy.cpp
+1
-0
ar_hmdb.cpp
modules/datasets/src/ar_hmdb.cpp
+1
-1
or_imagenet.cpp
modules/datasets/src/or_imagenet.cpp
+2
-2
or_sun.cpp
modules/datasets/src/or_sun.cpp
+1
-1
binary_descriptor.cpp
modules/line_descriptor/src/binary_descriptor.cpp
+3
-3
icp.cpp
modules/surface_matching/src/icp.cpp
+2
-2
erfilter.cpp
modules/text/src/erfilter.cpp
+1
-1
dct_image_denoising.cpp
modules/xphoto/src/dct_image_denoising.cpp
+2
-3
No files found.
modules/adas/tools/fcw_detect/CMakeLists.txt
View file @
2b74ca6f
...
...
@@ -32,4 +32,4 @@ if(ENABLE_SOLUTION_FOLDERS)
set_target_properties
(
${
the_target
}
PROPERTIES FOLDER
"applications"
)
endif
()
install
(
TARGETS
${
the_target
}
RUNTIME DESTINATION bin COMPONENT main
)
install
(
TARGETS
${
the_target
}
OPTIONAL
RUNTIME DESTINATION bin COMPONENT main
)
modules/adas/tools/fcw_train/CMakeLists.txt
View file @
2b74ca6f
...
...
@@ -32,4 +32,4 @@ if(ENABLE_SOLUTION_FOLDERS)
set_target_properties
(
${
the_target
}
PROPERTIES FOLDER
"applications"
)
endif
()
install
(
TARGETS
${
the_target
}
RUNTIME DESTINATION bin COMPONENT main
)
install
(
TARGETS
${
the_target
}
OPTIONAL
RUNTIME DESTINATION bin COMPONENT main
)
modules/bioinspired/src/retinacolor.hpp
View file @
2b74ca6f
...
...
@@ -338,7 +338,7 @@ namespace bioinspired
class
Parallel_computeGradient
:
public
cv
::
ParallelLoopBody
{
pr
ivate
:
pr
otected
:
float
*
imageGradient
;
const
float
*
luminance
;
unsigned
int
nbColumns
,
doubleNbColumns
,
nbRows
,
nbPixels
;
...
...
modules/bioinspired/src/retinafilter.hpp
View file @
2b74ca6f
...
...
@@ -503,7 +503,7 @@ public:
inline
unsigned
int
getOutputNBpixels
()
{
return
_photoreceptorsPrefilter
.
getNBpixels
();
}
pr
ivate
:
pr
otected
:
// processing activation flags
bool
_useParvoOutput
;
...
...
modules/contrib_world/CMakeLists.txt
0 → 100644
View file @
2b74ca6f
set
(
the_description
"Separate world module containing all contrib modules"
)
set
(
OPENCV_MODULE_IS_PART_OF_WORLD FALSE
)
set
(
BUILD_opencv_contrib_world_INIT OFF
)
# disabled by default
# add new submodules to this list
set
(
OPENCV_MODULE_CHILDREN
bgsegm
bioinspired
ccalib
cvv
datasets
face
latentsvm
line_descriptor
optflow
reg
rgbd
saliency
surface_matching
text
tracking
xfeatures2d
ximgproc
xobjdetect
xphoto
)
ocv_list_add_prefix
(
OPENCV_MODULE_CHILDREN
"opencv_"
)
ocv_define_module
(
contrib_world
)
# ocv_add_module(contrib_world)
# set(link_deps "")
# foreach(m ${OPENCV_MODULE_opencv_contrib_world_CHILDREN})
# list(APPEND link_deps ${OPENCV_MODULE_${m}_LINK_DEPS})
# endforeach()
#
# ocv_glob_module_sources()
# ocv_module_include_directories()
#
# ocv_create_module(${link_deps})
modules/contrib_world/include/opencv2/contrib_world.hpp
0 → 100644
View file @
2b74ca6f
#ifndef __OPENCV_CONTRIB_WORLD_HPP__
#define __OPENCV_CONTRIB_WORLD_HPP__
#endif
modules/contrib_world/src/dummy.cpp
0 → 100644
View file @
2b74ca6f
#include "opencv2/contrib_world.hpp"
modules/datasets/src/ar_hmdb.cpp
View file @
2b74ca6f
...
...
@@ -111,7 +111,7 @@ void AR_hmdbImp::loadDatasetSplit(const string &path, int number)
if
(
itId
==
actionsId
.
end
())
{
actionsId
.
insert
(
make_pair
(
action
,
actionsId
.
size
()));
id
=
actionsId
.
size
();
id
=
(
int
)
actionsId
.
size
();
}
else
{
id
=
(
*
itId
).
second
;
...
...
modules/datasets/src/or_imagenet.cpp
View file @
2b74ca6f
...
...
@@ -129,7 +129,7 @@ void OR_imagenetImp::loadDataset(const string &path)
{
Ptr
<
OR_imagenetObj
>
curr
(
new
OR_imagenetObj
);
curr
->
id
=
atoi
(
line
.
c_str
());
numberToString
(
validation
.
back
().
size
()
+
1
,
curr
->
image
);
numberToString
(
(
int
)
validation
.
back
().
size
()
+
1
,
curr
->
image
);
curr
->
image
=
"val/ILSVRC2010_val_"
+
curr
->
image
+
".JPEG"
;
validation
.
back
().
push_back
(
curr
);
...
...
@@ -153,7 +153,7 @@ void OR_imagenetImp::loadDataset(const string &path)
{
Ptr
<
OR_imagenetObj
>
curr
(
new
OR_imagenetObj
);
curr
->
id
=
*
it
;
numberToString
(
test
.
back
().
size
()
+
1
,
curr
->
image
);
numberToString
(
(
int
)
test
.
back
().
size
()
+
1
,
curr
->
image
);
curr
->
image
=
"test/ILSVRC2010_test_"
+
curr
->
image
+
".JPEG"
;
test
.
back
().
push_back
(
curr
);
...
...
modules/datasets/src/or_sun.cpp
View file @
2b74ca6f
...
...
@@ -98,7 +98,7 @@ void OR_sunImp::loadDatasetPart(const string &path, vector< Ptr<Object> > &datas
curr
->
label
=
(
*
it
).
second
;
}
else
{
curr
->
label
=
pathLabel
.
size
();
curr
->
label
=
(
int
)
pathLabel
.
size
();
pathLabel
.
insert
(
make_pair
(
labelStr
,
curr
->
label
));
paths
.
push_back
(
labelStr
);
}
...
...
modules/line_descriptor/src/binary_descriptor.cpp
View file @
2b74ca6f
...
...
@@ -570,7 +570,7 @@ void BinaryDescriptor::computeImpl( const Mat& imageSrc, std::vector<KeyLine>& k
/* create a map to record association between KeyLines and their position
in ScaleLines vector */
std
::
map
<
std
::
pair
<
int
,
int
>
,
in
t
>
correspondences
;
std
::
map
<
std
::
pair
<
int
,
int
>
,
size_
t
>
correspondences
;
/* fill ScaleLines object */
for
(
size_t
slCounter
=
0
;
slCounter
<
keylines
.
size
();
slCounter
++
)
...
...
@@ -601,7 +601,7 @@ void BinaryDescriptor::computeImpl( const Mat& imageSrc, std::vector<KeyLine>& k
/* update map */
int
id
=
kl
.
class_id
;
int
oct
=
kl
.
octave
;
correspondences
.
insert
(
std
::
pair
<
std
::
pair
<
int
,
int
>
,
in
t
>
(
std
::
pair
<
int
,
int
>
(
id
,
oct
),
slCounter
)
);
correspondences
.
insert
(
std
::
pair
<
std
::
pair
<
int
,
int
>
,
size_
t
>
(
std
::
pair
<
int
,
int
>
(
id
,
oct
),
slCounter
)
);
}
/* delete useless OctaveSingleLines */
...
...
@@ -632,7 +632,7 @@ void BinaryDescriptor::computeImpl( const Mat& imageSrc, std::vector<KeyLine>& k
{
/* get original index of keypoint */
int
lineOctave
=
(
sl
[
k
][
lineC
]
).
octaveCount
;
int
originalIndex
=
correspondences
.
find
(
std
::
pair
<
int
,
int
>
(
k
,
lineOctave
)
)
->
second
;
int
originalIndex
=
(
int
)
correspondences
.
find
(
std
::
pair
<
int
,
int
>
(
k
,
lineOctave
)
)
->
second
;
if
(
!
returnFloatDescr
)
{
...
...
modules/surface_matching/src/icp.cpp
View file @
2b74ca6f
...
...
@@ -425,9 +425,9 @@ int ICP::registerModelToScene(const Mat& srcPC, const Mat& dstPC, double& residu
if
(
node
)
{
// select the first node
int
idx
=
reinterpret_cast
<
long
>
(
node
->
data
)
-
1
,
dn
=
0
;
long
idx
=
reinterpret_cast
<
long
>
(
node
->
data
)
-
1
,
dn
=
0
;
int
dup
=
(
int
)
node
->
key
-
1
;
int
minIdxD
=
idx
;
long
minIdxD
=
idx
;
float
minDist
=
distances
[
idx
];
while
(
node
)
...
...
modules/text/src/erfilter.cpp
View file @
2b74ca6f
...
...
@@ -1998,7 +1998,7 @@ enum {
computation.
*/
class
dissimilarity
{
pr
ivate
:
pr
otected
:
double
*
Xa
;
auto_array_ptr
<
double
>
Xnew
;
ptrdiff_t
dim
;
// size_t saves many statis_cast<> in products
...
...
modules/xphoto/src/dct_image_denoising.cpp
View file @
2b74ca6f
...
...
@@ -70,7 +70,7 @@ namespace xphoto
void
operator
()
(
const
Range
&
range
)
const
;
pr
ivate
:
pr
otected
:
const
Mat
&
src
;
std
::
vector
<
Mat
>
&
patches
;
// image decomposition into sliding patches
...
...
@@ -182,4 +182,4 @@ namespace xphoto
}
}
}
\ No newline at end of file
}
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