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
9f7548ab
Commit
9f7548ab
authored
Apr 24, 2015
by
Dikay900
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update openni sample comments referring #81
parent
6a5f413f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
openni_capture.cpp
samples/cpp/openni_capture.cpp
+9
-9
No files found.
samples/cpp/openni_capture.cpp
View file @
9f7548ab
...
...
@@ -13,14 +13,14 @@ static void help()
"The user gets some of the supported output images.
\n
"
"
\n
All supported output map types:
\n
"
"1.) Data given from depth generator
\n
"
" C
V_C
AP_OPENNI_DEPTH_MAP - depth values in mm (CV_16UC1)
\n
"
" C
V_C
AP_OPENNI_POINT_CLOUD_MAP - XYZ in meters (CV_32FC3)
\n
"
" C
V_C
AP_OPENNI_DISPARITY_MAP - disparity in pixels (CV_8UC1)
\n
"
" C
V_C
AP_OPENNI_DISPARITY_MAP_32F - disparity in pixels (CV_32FC1)
\n
"
" C
V_C
AP_OPENNI_VALID_DEPTH_MASK - mask of valid pixels (not ocluded, not shaded etc.) (CV_8UC1)
\n
"
" CAP_OPENNI_DEPTH_MAP - depth values in mm (CV_16UC1)
\n
"
" CAP_OPENNI_POINT_CLOUD_MAP - XYZ in meters (CV_32FC3)
\n
"
" CAP_OPENNI_DISPARITY_MAP - disparity in pixels (CV_8UC1)
\n
"
" CAP_OPENNI_DISPARITY_MAP_32F - disparity in pixels (CV_32FC1)
\n
"
" CAP_OPENNI_VALID_DEPTH_MASK - mask of valid pixels (not ocluded, not shaded etc.) (CV_8UC1)
\n
"
"2.) Data given from RGB image generator
\n
"
" C
V_C
AP_OPENNI_BGR_IMAGE - color image (CV_8UC3)
\n
"
" C
V_C
AP_OPENNI_GRAY_IMAGE - gray image (CV_8UC1)
\n
"
" CAP_OPENNI_BGR_IMAGE - color image (CV_8UC3)
\n
"
" CAP_OPENNI_GRAY_IMAGE - gray image (CV_8UC1)
\n
"
<<
endl
;
}
...
...
@@ -89,8 +89,8 @@ static void printCommandLineParams()
{
cout
<<
"-cd Colorized disparity? (0 or 1; 1 by default) Ignored if disparity map is not selected to show."
<<
endl
;
cout
<<
"-fmd Fixed max disparity? (0 or 1; 0 by default) Ignored if disparity map is not colorized (-cd 0)."
<<
endl
;
cout
<<
"-mode image mode: resolution and fps, supported three values: 0 - C
V_CAP_OPENNI_VGA_30HZ, 1 - CV_
CAP_OPENNI_SXGA_15HZ,"
<<
endl
;
cout
<<
" 2 - C
V_C
AP_OPENNI_SXGA_30HZ (0 by default). Ignored if rgb image or gray image are not selected to show."
<<
endl
;
cout
<<
"-mode image mode: resolution and fps, supported three values: 0 - C
AP_OPENNI_VGA_30HZ, 1 -
CAP_OPENNI_SXGA_15HZ,"
<<
endl
;
cout
<<
" 2 - CAP_OPENNI_SXGA_30HZ (0 by default). Ignored if rgb image or gray image are not selected to show."
<<
endl
;
cout
<<
"-m Mask to set which output images are need. It is a string of size 5. Each element of this is '0' or '1' and"
<<
endl
;
cout
<<
" determine: is depth map, disparity map, valid pixels mask, rgb image, gray image need or not (correspondently)?"
<<
endl
;
cout
<<
" By default -m 01010 i.e. disparity map and rgb image will be shown."
<<
endl
;
...
...
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