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
74197c5b
Commit
74197c5b
authored
Dec 16, 2010
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed link time error in gpu module
parent
343c33d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
match_template.cpp
modules/gpu/src/match_template.cpp
+7
-7
No files found.
modules/gpu/src/match_template.cpp
View file @
74197c5b
...
...
@@ -62,13 +62,13 @@ namespace cv { namespace gpu { namespace imgproc
void
multiplyAndNormalizeSpects
(
int
n
,
float
scale
,
const
cufftComplex
*
a
,
const
cufftComplex
*
b
,
cufftComplex
*
c
);
void
matchTemplateNaive_
8U_SQDIFF
(
const
DevMem2D
image
,
const
DevMem2D
templ
,
DevMem2Df
result
);
void
matchTemplateNaive_
SQDIFF_8U
(
const
DevMem2D
image
,
const
DevMem2D
templ
,
DevMem2Df
result
,
int
cn
);
void
matchTemplateNaive_
32F_SQDIF
F
(
const
DevMem2D
image
,
const
DevMem2D
templ
,
DevMem2Df
result
);
void
matchTemplateNaive_
SQDIFF_32
F
(
const
DevMem2D
image
,
const
DevMem2D
templ
,
DevMem2Df
result
,
int
cn
);
void
matchTemplatePrepared_
8U_SQDIFF
(
void
matchTemplatePrepared_
SQDIFF_8U
(
int
w
,
int
h
,
const
DevMem2Df
image_sumsq
,
float
templ_sumsq
,
DevMem2Df
result
);
}}}
...
...
@@ -98,7 +98,7 @@ namespace
void
matchTemplate_32F_SQDIFF
(
const
GpuMat
&
image
,
const
GpuMat
&
templ
,
GpuMat
&
result
)
{
result
.
create
(
image
.
rows
-
templ
.
rows
+
1
,
image
.
cols
-
templ
.
cols
+
1
,
CV_32F
);
imgproc
::
matchTemplateNaive_
32F_SQDIFF
(
image
,
templ
,
result
);
imgproc
::
matchTemplateNaive_
SQDIFF_32F
(
image
,
templ
,
result
,
1
);
}
...
...
@@ -243,7 +243,7 @@ namespace
void
matchTemplate_8U_SQDIFF
(
const
GpuMat
&
image
,
const
GpuMat
&
templ
,
GpuMat
&
result
)
{
result
.
create
(
image
.
rows
-
templ
.
rows
+
1
,
image
.
cols
-
templ
.
cols
+
1
,
CV_32F
);
imgproc
::
matchTemplateNaive_
8U_SQDIFF
(
image
,
templ
,
result
);
imgproc
::
matchTemplateNaive_
SQDIFF_8U
(
image
,
templ
,
result
,
1
);
}
...
...
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