added a few missing images for tutorials; integrated pull request #26
This commit is contained in:
parent
3d4ca2d709
commit
a6e2acbfee
4
3rdparty/libjasper/CMakeLists.txt
vendored
4
3rdparty/libjasper/CMakeLists.txt
vendored
@ -19,9 +19,9 @@ file(GLOB lib_ext_hdrs jasper/*.h)
|
||||
|
||||
add_library(${JASPER_LIBRARY} STATIC ${lib_srcs} ${lib_hdrs} ${lib_ext_hdrs})
|
||||
|
||||
if(MSVC)
|
||||
if(WIN32 AND NOT MINGW)
|
||||
add_definitions(-DJAS_WIN_MSVC_BUILD)
|
||||
endif()
|
||||
endif(WIN32 AND NOT MINGW)
|
||||
|
||||
ocv_warnings_disable(CMAKE_C_FLAGS -Wno-implicit-function-declaration -Wno-uninitialized -Wmissing-prototypes -Wmissing-declarations -Wunused -Wshadow -Wsign-compare)
|
||||
ocv_warnings_disable(CMAKE_C_FLAGS /wd4013 /wd4018 /wd4101 /wd4244 /wd4267 /wd4715) # vs2005
|
||||
|
@ -337,9 +337,12 @@ include(cmake/OpenCVCompilerOptions.cmake REQUIRED)
|
||||
# ----------------------------------------------------------------------------
|
||||
if(MSVC)
|
||||
include(cmake/OpenCVCRTLinkage.cmake REQUIRED)
|
||||
add_definitions(-D_VARIADIC_MAX=10)
|
||||
endif(MSVC)
|
||||
|
||||
if(WIN32 AND NOT MINGW)
|
||||
add_definitions(-D_VARIADIC_MAX=10)
|
||||
endif(WIN32 AND NOT MINGW)
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC..
|
||||
|
BIN
doc/tutorials/ios/hello/images/header_directive.png
Normal file
BIN
doc/tutorials/ios/hello/images/header_directive.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
BIN
doc/tutorials/ios/hello/images/linking_opencv_ios.png
Normal file
BIN
doc/tutorials/ios/hello/images/linking_opencv_ios.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
BIN
doc/tutorials/ios/hello/images/output.png
Normal file
BIN
doc/tutorials/ios/hello/images/output.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 KiB |
BIN
doc/tutorials/ios/hello/images/view_did_load.png
Normal file
BIN
doc/tutorials/ios/hello/images/view_did_load.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 KiB |
BIN
doc/tutorials/ios/image_manipulation/images/output.jpg
Normal file
BIN
doc/tutorials/ios/image_manipulation/images/output.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
@ -11,7 +11,16 @@ namespace {
|
||||
typedef pair<string, string> pair_string;
|
||||
DEF_PARAM_TEST_1(ImagePair, pair_string);
|
||||
|
||||
PERF_TEST_P(ImagePair, Calib3D_StereoBM, Values(make_pair<string, string>("gpu/perf/aloe.jpg", "gpu/perf/aloeR.jpg")))
|
||||
static pair_string make_string_pair(const string& a, const string& b)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
return pair<string, string>(a, b);
|
||||
#else
|
||||
return make_pair<string, string>(a, b);
|
||||
#endif
|
||||
}
|
||||
|
||||
PERF_TEST_P(ImagePair, Calib3D_StereoBM, Values(make_string_pair("gpu/perf/aloe.jpg", "gpu/perf/aloeR.jpg")))
|
||||
{
|
||||
declare.time(5.0);
|
||||
|
||||
@ -57,7 +66,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBM, Values(make_pair<string, string>("gpu/p
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// StereoBeliefPropagation
|
||||
|
||||
PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation, Values(make_pair<string, string>("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png")))
|
||||
PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation, Values(make_string_pair("gpu/stereobp/aloe-L.png", "gpu/stereobp/aloe-R.png")))
|
||||
{
|
||||
declare.time(10.0);
|
||||
|
||||
@ -93,7 +102,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoBeliefPropagation, Values(make_pair<string,
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// StereoConstantSpaceBP
|
||||
|
||||
PERF_TEST_P(ImagePair, Calib3D_StereoConstantSpaceBP, Values(make_pair<string, string>("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-R.png")))
|
||||
PERF_TEST_P(ImagePair, Calib3D_StereoConstantSpaceBP, Values(make_string_pair("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-R.png")))
|
||||
{
|
||||
declare.time(10.0);
|
||||
|
||||
@ -129,7 +138,7 @@ PERF_TEST_P(ImagePair, Calib3D_StereoConstantSpaceBP, Values(make_pair<string, s
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// DisparityBilateralFilter
|
||||
|
||||
PERF_TEST_P(ImagePair, Calib3D_DisparityBilateralFilter, Values(make_pair<string, string>("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-disp.png")))
|
||||
PERF_TEST_P(ImagePair, Calib3D_DisparityBilateralFilter, Values(make_string_pair("gpu/stereobm/aloe-L.png", "gpu/stereobm/aloe-disp.png")))
|
||||
{
|
||||
const cv::Mat img = readImage(GetParam().first, cv::IMREAD_GRAYSCALE);
|
||||
ASSERT_FALSE(img.empty());
|
||||
|
@ -107,6 +107,7 @@ endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND highgui_srcs src/cap_vfw.cpp src/cap_cmu.cpp src/cap_dshow.cpp)
|
||||
list(APPEND HIGHGUI_LIBRARIES vfw32)
|
||||
endif(WIN32)
|
||||
|
||||
if(HAVE_XINE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user