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
8919c316
Commit
8919c316
authored
Apr 28, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3964 from Dikay900:master_diff_to_2_4
parents
6a5f413f
d6c95621
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
+18
-11
OpenCVDetectCXXCompiler.cmake
cmake/OpenCVDetectCXXCompiler.cmake
+1
-1
OpenCVConfig.cmake.in
cmake/templates/OpenCVConfig.cmake.in
+7
-0
hough_lines.markdown
...torials/imgproc/imgtrans/hough_lines/hough_lines.markdown
+1
-1
openni_capture.cpp
samples/cpp/openni_capture.cpp
+9
-9
No files found.
cmake/OpenCVDetectCXXCompiler.cmake
View file @
8919c316
...
...
@@ -114,7 +114,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)")
endif
()
# Similar code
is existed
in OpenCVConfig.cmake
# Similar code
exists
in OpenCVConfig.cmake
if
(
NOT DEFINED OpenCV_STATIC
)
# look for global setting
if
(
NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS
)
...
...
cmake/templates/OpenCVConfig.cmake.in
View file @
8919c316
...
...
@@ -77,6 +77,13 @@ if("@USE_IPPICV@" STREQUAL "TRUE") # value is defined by package builder (use ST
endif()
if(NOT TARGET opencv_core)
# Extract directory name from full path of the file currently being processed.
# Note that CMake 2.8.3 introduced CMAKE_CURRENT_LIST_DIR. We reimplement it
# for older versions of CMake to support these as well.
if(CMAKE_VERSION VERSION_LESS "2.8.3")
get_filename_component(CMAKE_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
endif()
include(${CMAKE_CURRENT_LIST_DIR}/OpenCVModules${OpenCV_MODULES_SUFFIX}.cmake)
endif()
...
...
doc/tutorials/imgproc/imgtrans/hough_lines/hough_lines.markdown
View file @
8919c316
...
...
@@ -55,7 +55,7 @@ Arranging the terms: \f$r = x \cos \theta + y \sin \theta\f$
-# We can do the same operation above for all the points in an image. If the curves of two
different points intersect in the plane
\f
$
\t
heta
\f
$ -
\f
$r
\f
$, that means that both points belong to a
same line. For instance, following with the example above and drawing the plot for two more
points:
\f
$x_{1} =
9
\f
$,
\f
$y_{1} = 4
\f
$ and
\f
$x_{2} = 12
\f
$,
\f
$y_{2} = 3
\f
$, we get:
points:
\f
$x_{1} =
4
\f
$,
\f
$y_{1} = 9
\f
$ and
\f
$x_{2} = 12
\f
$,
\f
$y_{2} = 3
\f
$, we get:
![](images/Hough_Lines_Tutorial_Theory_2.jpg)
...
...
samples/cpp/openni_capture.cpp
View file @
8919c316
...
...
@@ -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