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
c35dab90
Commit
c35dab90
authored
Feb 18, 2014
by
Roman Donchenko
Committed by
OpenCV Buildbot
Feb 18, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2359 from SpecLad:moments-no-vectorize
parents
6f19ef86
e35d98e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
moments.cpp
modules/imgproc/src/moments.cpp
+4
-0
No files found.
modules/imgproc/src/moments.cpp
View file @
c35dab90
...
@@ -197,6 +197,10 @@ static void icvContourMoments( CvSeq* contour, CvMoments* moments )
...
@@ -197,6 +197,10 @@ static void icvContourMoments( CvSeq* contour, CvMoments* moments )
\****************************************************************************************/
\****************************************************************************************/
template
<
typename
T
,
typename
WT
,
typename
MT
>
template
<
typename
T
,
typename
WT
,
typename
MT
>
#if defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ >= 5 && __GNUC_MINOR__ < 9
// Workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60196
__attribute__
((
optimize
(
"no-tree-vectorize"
)))
#endif
static
void
momentsInTile
(
const
cv
::
Mat
&
img
,
double
*
moments
)
static
void
momentsInTile
(
const
cv
::
Mat
&
img
,
double
*
moments
)
{
{
cv
::
Size
size
=
img
.
size
();
cv
::
Size
size
=
img
.
size
();
...
...
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