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
aaa8678c
Commit
aaa8678c
authored
Aug 18, 2010
by
Andrey Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some warnings
parent
a3582b47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
gpu.hpp
modules/gpu/include/opencv2/gpu/gpu.hpp
+4
-3
matrix_operations.hpp
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
+2
-0
stereobm_gpu.cpp
modules/gpu/src/stereobm_gpu.cpp
+1
-1
No files found.
modules/gpu/include/opencv2/gpu/gpu.hpp
View file @
aaa8678c
...
...
@@ -288,14 +288,14 @@ namespace cv
int
rows
,
cols
;
size_t
step
;
int
alloc_type
;
uchar
*
data
;
int
*
refcount
;
uchar
*
datastart
;
uchar
*
dataend
;
int
alloc_type
;
};
//////////////////////////////// CudaStream ////////////////////////////////
...
...
@@ -374,9 +374,10 @@ namespace cv
// It queries current active device.
static
bool
checkIfGpuCallReasonable
();
int
preset
;
int
ndisp
;
int
winSize
;
int
preset
;
// If avergeTexThreshold == 0 => post procesing is disabled
// If avergeTexThreshold != 0 then disparity is set 0 in each point (x,y) where for left image
...
...
modules/gpu/include/opencv2/gpu/matrix_operations.hpp
View file @
aaa8678c
...
...
@@ -403,6 +403,8 @@ inline CudaMem CudaMem::clone() const
}
inline
void
CudaMem
::
create
(
Size
_size
,
int
_type
,
int
_alloc_type
)
{
create
(
_size
.
height
,
_size
.
width
,
_type
,
_alloc_type
);
}
//CCP void CudaMem::create(int _rows, int _cols, int _type, int _alloc_type);
//CPP void CudaMem::release();
...
...
modules/gpu/src/stereobm_gpu.cpp
View file @
aaa8678c
...
...
@@ -73,7 +73,7 @@ cv::gpu::StereoBM_GPU::StereoBM_GPU()
:
preset
(
BASIC_PRESET
),
ndisp
(
DEFAULT_NDISP
),
winSize
(
DEFAULT_WINSZ
),
avergeTexThreshold
(
defaultAvgTexThreshold
)
{}
cv
::
gpu
::
StereoBM_GPU
::
StereoBM_GPU
(
int
preset_
,
int
ndisparities_
,
int
winSize_
)
:
ndisp
(
ndisparities_
),
winSize
(
winSize_
),
preset
(
preset
_
),
avergeTexThreshold
(
defaultAvgTexThreshold
)
:
preset
(
preset_
),
ndisp
(
ndisparities_
),
winSize
(
winSize
_
),
avergeTexThreshold
(
defaultAvgTexThreshold
)
{
const
int
max_supported_ndisp
=
1
<<
(
sizeof
(
unsigned
char
)
*
8
);
CV_Assert
(
0
<
ndisp
&&
ndisp
<=
max_supported_ndisp
);
...
...
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