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
1fe54411
Commit
1fe54411
authored
Oct 12, 2014
by
Ilya Lavrenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cv::convertMaps
parent
aa11e102
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
imgwarp.cpp
modules/imgproc/src/imgwarp.cpp
+0
-0
pyramids.cpp
modules/imgproc/src/pyramids.cpp
+1
-1
test_histograms.cpp
modules/imgproc/test/test_histograms.cpp
+1
-1
test_imgwarp.cpp
modules/imgproc/test/test_imgwarp.cpp
+1
-1
No files found.
modules/imgproc/src/imgwarp.cpp
View file @
1fe54411
This diff is collapsed.
Click to expand it.
modules/imgproc/src/pyramids.cpp
View file @
1fe54411
...
@@ -286,7 +286,7 @@ struct PyrDownVec_32s16s
...
@@ -286,7 +286,7 @@ struct PyrDownVec_32s16s
v_r00
=
vaddq_s32
(
vaddq_s32
(
v_r00
,
v_r40
),
vaddq_s32
(
v_r20
,
v_r20
));
v_r00
=
vaddq_s32
(
vaddq_s32
(
v_r00
,
v_r40
),
vaddq_s32
(
v_r20
,
v_r20
));
v_r10
=
vaddq_s32
(
vaddq_s32
(
v_r10
,
v_r20
),
v_r30
);
v_r10
=
vaddq_s32
(
vaddq_s32
(
v_r10
,
v_r20
),
v_r30
);
v_r10
=
vshlq_n_s32
(
v_r10
,
2
);
v_r10
=
vshlq_n_s32
(
v_r10
,
2
);
int32x4_t
v_dst0
=
vshrq_n_s32
(
vaddq_s32
(
vaddq_s32
(
v_r00
,
shifted
),
v_delta
),
8
);
int32x4_t
v_dst0
=
vshrq_n_s32
(
vaddq_s32
(
vaddq_s32
(
v_r00
,
v_r10
),
v_delta
),
8
);
v_r01
=
vaddq_s32
(
vaddq_s32
(
v_r01
,
v_r41
),
vaddq_s32
(
v_r21
,
v_r21
));
v_r01
=
vaddq_s32
(
vaddq_s32
(
v_r01
,
v_r41
),
vaddq_s32
(
v_r21
,
v_r21
));
v_r11
=
vaddq_s32
(
vaddq_s32
(
v_r11
,
v_r21
),
v_r31
);
v_r11
=
vaddq_s32
(
vaddq_s32
(
v_r11
,
v_r21
),
v_r31
);
...
...
modules/imgproc/test/test_histograms.cpp
View file @
1fe54411
...
@@ -1100,7 +1100,7 @@ int CV_CompareHistTest::validate_test_results( int /*test_case_idx*/ )
...
@@ -1100,7 +1100,7 @@ int CV_CompareHistTest::validate_test_results( int /*test_case_idx*/ )
code
=
cvtest
::
TS
::
FAIL_INVALID_OUTPUT
;
code
=
cvtest
::
TS
::
FAIL_INVALID_OUTPUT
;
break
;
break
;
}
}
else
if
(
fabs
(
v0
-
v
)
>
FLT_EPSILON
*
1
0
*
MAX
(
fabs
(
v0
),
0.1
)
)
else
if
(
fabs
(
v0
-
v
)
>
FLT_EPSILON
*
1
4
*
MAX
(
fabs
(
v0
),
0.1
)
)
{
{
ts
->
printf
(
cvtest
::
TS
::
LOG
,
"The comparison result using the method #%d (%s)
\n\t
is inaccurate (=%g, should be =%g)
\n
"
,
ts
->
printf
(
cvtest
::
TS
::
LOG
,
"The comparison result using the method #%d (%s)
\n\t
is inaccurate (=%g, should be =%g)
\n
"
,
i
,
method_name
,
v
,
v0
);
i
,
method_name
,
v
,
v0
);
...
...
modules/imgproc/test/test_imgwarp.cpp
View file @
1fe54411
...
@@ -1602,7 +1602,7 @@ TEST(Resize, Area_half)
...
@@ -1602,7 +1602,7 @@ TEST(Resize, Area_half)
for
(
int
i
=
0
,
_size
=
sizeof
(
types
)
/
sizeof
(
types
[
0
]);
i
<
_size
;
++
i
)
for
(
int
i
=
0
,
_size
=
sizeof
(
types
)
/
sizeof
(
types
[
0
]);
i
<
_size
;
++
i
)
{
{
int
type
=
types
[
i
],
depth
=
CV_MAT_DEPTH
(
type
),
cn
=
CV_MAT_CN
(
type
);
int
type
=
types
[
i
],
depth
=
CV_MAT_DEPTH
(
type
),
cn
=
CV_MAT_CN
(
type
);
const
float
eps
=
depth
<=
CV_32S
?
0
:
5e-5
;
const
float
eps
=
depth
<=
CV_32S
?
0
:
7e-5
f
;
SCOPED_TRACE
(
depth
);
SCOPED_TRACE
(
depth
);
SCOPED_TRACE
(
cn
);
SCOPED_TRACE
(
cn
);
...
...
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