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
69b8f304
Commit
69b8f304
authored
Sep 04, 2011
by
Alexandre Benoit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory safety test added
parent
c02b5f1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
retina.cpp
modules/contrib/src/retina.cpp
+4
-3
No files found.
modules/contrib/src/retina.cpp
View file @
69b8f304
...
...
@@ -77,19 +77,20 @@ namespace cv
Retina
::
Retina
(
const
std
::
string
parametersSaveFile
,
const
cv
::
Size
inputSize
)
{
_retinaFilter
=
0
;
_retinaFilter
=
0
;
_init
(
parametersSaveFile
,
inputSize
,
true
,
RETINA_COLOR_BAYER
,
false
);
}
Retina
::
Retina
(
const
std
::
string
parametersSaveFile
,
const
cv
::
Size
inputSize
,
const
bool
colorMode
,
RETINA_COLORSAMPLINGMETHOD
colorSamplingMethod
,
const
bool
useRetinaLogSampling
,
const
double
reductionFactor
,
const
double
samplingStrenght
)
{
_retinaFilter
=
0
;
_init
(
parametersSaveFile
,
inputSize
,
colorMode
,
colorSamplingMethod
,
useRetinaLogSampling
,
reductionFactor
,
samplingStrenght
);
_init
(
parametersSaveFile
,
inputSize
,
colorMode
,
colorSamplingMethod
,
useRetinaLogSampling
,
reductionFactor
,
samplingStrenght
);
};
Retina
::~
Retina
()
{
delete
_retinaFilter
;
if
(
_retinaFilter
)
delete
_retinaFilter
;
}
void
Retina
::
setColorSaturation
(
const
bool
saturateColors
,
const
float
colorSaturationValue
)
...
...
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