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
85793d01
Commit
85793d01
authored
Jan 21, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6001 from terfendail:pyrsegmentation_valgrind
parents
a57b03c3
f01f1bc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pyrsegmentation.cpp
modules/legacy/src/pyrsegmentation.cpp
+3
-3
No files found.
modules/legacy/src/pyrsegmentation.cpp
View file @
85793d01
...
...
@@ -130,8 +130,8 @@ static void icvMaxRoi1( _CvRect16u *max_rect, int x, int y );
(float)fabs((a).green - (b).green), \
(float)fabs((a).blue - (b).blue))*/
#define _CV_NEXT_BASE_C1(p,n) (
_CvPyramid*)((char*)(p) + (n)*sizeof(_CvPyramidBase
))
#define _CV_NEXT_BASE_C3(p,n) (
_CvPyramidC3*)((char*)(p) + (n)*sizeof(_CvPyramidBaseC3
))
#define _CV_NEXT_BASE_C1(p,n) (
(_CvPyramid*)((char*)(p) + (n)*(ptrdiff_t)sizeof(_CvPyramidBase)
))
#define _CV_NEXT_BASE_C3(p,n) (
(_CvPyramidC3*)((char*)(p) + (n)*(ptrdiff_t)sizeof(_CvPyramidBaseC3)
))
CV_INLINE
float
icvRGBDist_Max
(
const
_CvRGBf
&
a
,
const
_CvRGBf
&
b
)
...
...
@@ -868,7 +868,7 @@ icvPyrSegmentation8uC3R( uchar * src_image, int src_step,
if
(
p_cur
[
size
.
width
].
a
==
0
)
{
p_cur
[
size
.
width
].
c
=
p_prev
[(
l
!=
0
)
-
1
].
c
;
p_cur
[
size
.
width
].
c
=
(
l
!=
0
)
?
p_prev
->
c
:
_CV_NEXT_BASE_C3
(
p_prev
,
-
1
)
->
c
;
}
else
{
...
...
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