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
808e0cf1
Commit
808e0cf1
authored
Aug 13, 2013
by
Roman Donchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Boring changes - video.
parent
93f757f8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
bgfg_gaussmix.cpp
modules/video/src/bgfg_gaussmix.cpp
+1
-1
bgfg_gaussmix2.cpp
modules/video/src/bgfg_gaussmix2.cpp
+1
-1
bgfg_gmg.cpp
modules/video/src/bgfg_gmg.cpp
+1
-1
tvl1flow.cpp
modules/video/src/tvl1flow.cpp
+1
-1
test_backgroundsubtractor_gbh.cpp
modules/video/test/test_backgroundsubtractor_gbh.cpp
+1
-1
No files found.
modules/video/src/bgfg_gaussmix.cpp
View file @
808e0cf1
...
...
@@ -464,7 +464,7 @@ void BackgroundSubtractorMOGImpl::apply(InputArray _image, OutputArray _fgmask,
Ptr
<
BackgroundSubtractorMOG
>
createBackgroundSubtractorMOG
(
int
history
,
int
nmixtures
,
double
backgroundRatio
,
double
noiseSigma
)
{
return
new
BackgroundSubtractorMOGImpl
(
history
,
nmixtures
,
backgroundRatio
,
noiseSigma
);
return
makePtr
<
BackgroundSubtractorMOGImpl
>
(
history
,
nmixtures
,
backgroundRatio
,
noiseSigma
);
}
}
...
...
modules/video/src/bgfg_gaussmix2.cpp
View file @
808e0cf1
...
...
@@ -769,7 +769,7 @@ void BackgroundSubtractorMOG2Impl::getBackgroundImage(OutputArray backgroundImag
Ptr
<
BackgroundSubtractorMOG2
>
createBackgroundSubtractorMOG2
(
int
_history
,
double
_varThreshold
,
bool
_bShadowDetection
)
{
return
new
BackgroundSubtractorMOG2Impl
(
_history
,
(
float
)
_varThreshold
,
_bShadowDetection
);
return
makePtr
<
BackgroundSubtractorMOG2Impl
>
(
_history
,
(
float
)
_varThreshold
,
_bShadowDetection
);
}
}
...
...
modules/video/src/bgfg_gmg.cpp
View file @
808e0cf1
...
...
@@ -485,7 +485,7 @@ void BackgroundSubtractorGMGImpl::release()
Ptr
<
BackgroundSubtractorGMG
>
createBackgroundSubtractorGMG
(
int
initializationFrames
,
double
decisionThreshold
)
{
Ptr
<
BackgroundSubtractorGMG
>
bgfg
=
new
BackgroundSubtractorGMGImpl
;
Ptr
<
BackgroundSubtractorGMG
>
bgfg
=
makePtr
<
BackgroundSubtractorGMGImpl
>
()
;
bgfg
->
setNumFrames
(
initializationFrames
);
bgfg
->
setDecisionThreshold
(
decisionThreshold
);
...
...
modules/video/src/tvl1flow.cpp
View file @
808e0cf1
...
...
@@ -953,5 +953,5 @@ CV_INIT_ALGORITHM(OpticalFlowDual_TVL1, "DenseOpticalFlow.DualTVL1",
Ptr
<
DenseOpticalFlow
>
cv
::
createOptFlow_DualTVL1
()
{
return
new
OpticalFlowDual_TVL1
;
return
makePtr
<
OpticalFlowDual_TVL1
>
()
;
}
modules/video/test/test_backgroundsubtractor_gbh.cpp
View file @
808e0cf1
...
...
@@ -40,7 +40,7 @@ void CV_BackgroundSubtractorTest::run(int)
Ptr
<
BackgroundSubtractorGMG
>
fgbg
=
createBackgroundSubtractorGMG
();
Mat
fgmask
;
if
(
fgbg
.
empty
()
)
if
(
!
fgbg
)
CV_Error
(
Error
::
StsError
,
"Failed to create Algorithm
\n
"
);
/**
...
...
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