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
f88d8b95
Commit
f88d8b95
authored
Sep 06, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Sep 06, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1405 from SpecLad:retina-ocl-warn
parents
bad92732
439e90f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
retina_ocl.cpp
modules/bioinspired/src/retina_ocl.cpp
+0
-3
retina_ocl.hpp
modules/bioinspired/src/retina_ocl.hpp
+3
-2
No files found.
modules/bioinspired/src/retina_ocl.cpp
View file @
f88d8b95
...
...
@@ -1040,9 +1040,6 @@ const oclMat &MagnoRetinaFilter::runFilter(const oclMat &OPL_ON, const oclMat &O
x##_slices[_SLICE_INDEX_] = x(getROI(_SLICE_INDEX_));\
}
static
float
_LMStoACr1Cr2
[]
=
{
1.0
,
1.0
,
0.0
,
1.0
,
-
1.0
,
0.0
,
-
0.5
,
-
0.5
,
1.0
};
static
float
_LMStoLab
[]
=
{
0.5774
f
,
0.5774
f
,
0.5774
f
,
0.4082
f
,
0.4082
f
,
-
0.8165
f
,
0.7071
f
,
-
0.7071
f
,
0.
f
};
RetinaColor
::
RetinaColor
(
const
unsigned
int
NBrows
,
const
unsigned
int
NBcolumns
,
const
int
samplingMethod
)
:
BasicRetinaFilter
(
NBrows
,
NBcolumns
,
3
),
_RGBmosaic
(
NBrows
*
3
,
NBcolumns
,
CV_32FC1
),
...
...
modules/bioinspired/src/retina_ocl.hpp
View file @
f88d8b95
...
...
@@ -160,14 +160,15 @@ public:
};
protected
:
cv
::
ocl
::
oclMat
_filterOutput
;
cv
::
ocl
::
oclMat
_localBuffer
;
int
_NBrows
;
int
_NBcols
;
unsigned
int
_halfNBrows
;
unsigned
int
_halfNBcolumns
;
cv
::
ocl
::
oclMat
_filterOutput
;
cv
::
ocl
::
oclMat
_localBuffer
;
std
::
valarray
<
float
>
_filteringCoeficientsTable
;
float
_v0
;
float
_maxInputValue
;
...
...
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