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
d8be3fe9
Commit
d8be3fe9
authored
Mar 27, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1078 from jexner:lsc-initialize-weights-fix
parents
0ed62f35
ab5f5d6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lsc.cpp
modules/ximgproc/src/lsc.cpp
+1
-1
No files found.
modules/ximgproc/src/lsc.cpp
View file @
d8be3fe9
...
...
@@ -1183,7 +1183,7 @@ inline void SuperpixelLSCImpl::GetFeatureSpace()
}
// compute m_W normalization array
m_W
=
Mat
(
m_height
,
m_width
,
CV_32F
);
m_W
=
Mat
(
m_height
,
m_width
,
CV_32F
,
0.0
f
);
parallel_for_
(
Range
(
0
,
m_width
),
FeatureSpaceWeights
(
m_chvec
,
&
m_W
,
sigmaX1
,
sigmaX2
,
sigmaY1
,
sigmaY2
,
sigmaC1
,
sigmaC2
,
m_nr_channels
,
m_chvec_max
,
m_dist_coeff
,
m_color_coeff
,
...
...
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