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
e1322cf5
Commit
e1322cf5
authored
Mar 30, 2020
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16928 from alalek:fix_15075
parents
67dfdee3
be17f532
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
resize.cpp
modules/imgproc/src/resize.cpp
+3
-4
test_imgwarp.cpp
modules/imgproc/test/test_imgwarp.cpp
+1
-1
No files found.
modules/imgproc/src/resize.cpp
View file @
e1322cf5
...
...
@@ -1043,10 +1043,9 @@ public:
default
:
for
(
x
=
0
;
x
<
dsize
.
width
;
x
++
,
D
+=
pix_size
)
{
const
int
*
_tS
=
(
const
int
*
)(
S
+
x_ofs
[
x
]);
int
*
_tD
=
(
int
*
)
D
;
for
(
int
k
=
0
;
k
<
pix_size4
;
k
++
)
_tD
[
k
]
=
_tS
[
k
];
const
uchar
*
_tS
=
S
+
x_ofs
[
x
];
for
(
int
k
=
0
;
k
<
pix_size
;
k
++
)
D
[
k
]
=
_tS
[
k
];
}
}
}
...
...
modules/imgproc/test/test_imgwarp.cpp
View file @
e1322cf5
...
...
@@ -1721,7 +1721,7 @@ TEST(Resize, lanczos4_regression_16192)
EXPECT_EQ
(
cvtest
::
norm
(
dst
,
expected
,
NORM_INF
),
0
)
<<
dst
(
Rect
(
0
,
0
,
8
,
8
));
}
TEST
(
Resize
,
DISABLED_nearest_regression_15075
)
// reverted https://github.com/opencv/opencv/pull/16497
TEST
(
Resize
,
nearest_regression_15075
)
{
const
int
C
=
5
;
const
int
i1
=
5
,
j1
=
5
;
...
...
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