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
dd25f416
Commit
dd25f416
authored
Aug 27, 2013
by
Roman Donchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
War on Whitespace, master edition: tabs.
parent
9ed475cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
hog.cpp
modules/objdetect/src/hog.cpp
+1
-1
perf_calib3d.cpp
modules/ocl/perf/perf_calib3d.cpp
+5
-5
image_sequence.cpp
samples/cpp/image_sequence.cpp
+2
-2
houghcircles.py
samples/python2/houghcircles.py
+2
-2
No files found.
modules/objdetect/src/hog.cpp
View file @
dd25f416
...
...
@@ -820,7 +820,7 @@ const float* HOGCache::getBlock(Point pt, float* buf)
int
h0
=
h
[
0
],
h1
=
h
[
1
];
__m128
_a0
=
_mm_set1_ps
(
a
[
0
]),
_a1
=
_mm_set1_ps
(
a
[
1
]);
__m128
_w
=
_mm_mul_ps
(
_mm_set1_ps
(
pk
.
gradWeight
),
_mm_loadu_ps
(
pk
.
histWeights
));
__m128
_w
=
_mm_mul_ps
(
_mm_set1_ps
(
pk
.
gradWeight
),
_mm_loadu_ps
(
pk
.
histWeights
));
__m128
_t0
=
_mm_mul_ps
(
_a0
,
_w
),
_t1
=
_mm_mul_ps
(
_a1
,
_w
);
_mm_storeu_ps
(
hist0
,
_t0
);
...
...
modules/ocl/perf/perf_calib3d.cpp
View file @
dd25f416
...
...
@@ -57,12 +57,12 @@ PERFTEST(StereoMatchBM)
SUBTEST
<<
left_image
.
cols
<<
'x'
<<
left_image
.
rows
<<
"; aloeL.jpg ;"
<<
right_image
.
cols
<<
'x'
<<
right_image
.
rows
<<
"; aloeR.jpg "
;
Ptr
<
StereoBM
>
bm
=
createStereoBM
(
n_disp
,
winSize
);
bm
->
compute
(
left_image
,
right_image
,
dst
);
Ptr
<
StereoBM
>
bm
=
createStereoBM
(
n_disp
,
winSize
);
bm
->
compute
(
left_image
,
right_image
,
dst
);
CPU_ON
;
bm
->
compute
(
left_image
,
right_image
,
dst
);
CPU_OFF
;
CPU_ON
;
bm
->
compute
(
left_image
,
right_image
,
dst
);
CPU_OFF
;
d_left
.
upload
(
left_image
);
d_right
.
upload
(
right_image
);
...
...
samples/cpp/image_sequence.cpp
View file @
dd25f416
...
...
@@ -10,8 +10,8 @@ static void help(char** argv)
{
cout
<<
"
\n
This sample shows you how to read a sequence of images using the VideoCapture interface.
\n
"
<<
"Usage: "
<<
argv
[
0
]
<<
" <image_mask> (example mask: example_%%02d.jpg)
\n
"
<<
"Image mask defines the name variation for the input images that have to be read as a sequence.
\n
"
<<
"Using the mask example_%%02d.jpg will read in images labeled as 'example_00.jpg', 'example_01.jpg', etc."
<<
"Image mask defines the name variation for the input images that have to be read as a sequence.
\n
"
<<
"Using the mask example_%%02d.jpg will read in images labeled as 'example_00.jpg', 'example_01.jpg', etc."
<<
endl
;
}
...
...
samples/python2/houghcircles.py
View file @
dd25f416
...
...
@@ -13,9 +13,9 @@ import sys
print
__doc__
try
:
fn
=
sys
.
argv
[
1
]
fn
=
sys
.
argv
[
1
]
except
:
fn
=
"../cpp/board.jpg"
fn
=
"../cpp/board.jpg"
src
=
cv2
.
imread
(
fn
,
1
)
img
=
cv2
.
cvtColor
(
src
,
cv2
.
COLOR_BGR2GRAY
)
...
...
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