Skip to content

Commit

Permalink
Merge commit '43aec5ad' into merge-2.4
Browse files Browse the repository at this point in the history
Conflicts:
	cmake/OpenCVConfig.cmake
	cmake/OpenCVLegacyOptions.cmake
	modules/contrib/src/retina.cpp
	modules/gpu/doc/camera_calibration_and_3d_reconstruction.rst
	modules/gpu/doc/video.rst
	modules/gpu/src/speckle_filtering.cpp
	modules/python/src2/cv2.cv.hpp
	modules/python/test/test2.py
	samples/python/watershed.py
  • Loading branch information
Roman Donchenko committed Aug 27, 2013
2 parents 4d06c4c + 43aec5a commit 2c4bbb3
Show file tree
Hide file tree
Showing 448 changed files with 992 additions and 1,315 deletions.
82 changes: 51 additions & 31 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,42 +1,58 @@
.git* export-ignore

* text=auto whitespace=trailing-space,space-before-tab,-indent-with-non-tab,tab-in-indent,tabwidth=4

*.py text
*.cpp text
*.hpp text
*.cxx text
*.hxx text
*.mm text
*.c text
*.h text
*.i text
*.js text
*.java text
*.scala text
*.cu text
*.cl text
*.css_t text
*.qrc text
*.qss text
*.S text
*.rst text
*.tex text
*.sty text

*.aidl text
*.mk text
.git* text export-ignore

*.aidl text
*.appxmanifest text
*.bib text
*.c text
*.cl text
*.conf text
*.cpp text
*.css_t text
*.cu text
*.cxx text
*.def text
*.filelist text
*.h text
*.hpp text
*.htm text
*.html text
*.hxx text
*.i text
*.idl text
*.java text
*.js text
*.mk text
*.mm text
*.plist text
*.properties text
*.py text
*.qrc text
*.qss text
*.S text
*.sbt text
*.scala text
*.sty text
*.tex text
*.txt text
*.xaml text

# reST underlines/overlines can look like conflict markers
*.rst text conflict-marker-size=80

*.cmake text whitespace=tabwidth=2
*.cmakein text whitespace=tabwidth=2
*.in text whitespace=tabwidth=2
CMakeLists.txt text whitespace=tabwidth=2

*.png binary
*.jpeg binary
*.jpg binary
*.avi binary
*.bmp binary
*.exr binary
*.ico binary
*.jpeg binary
*.jpg binary
*.png binary

*.a binary
*.so binary
Expand All @@ -47,6 +63,7 @@ CMakeLists.txt text whitespace=tabwidth=2
*.pbxproj binary
*.vec binary
*.doc binary
*.dia binary

*.xml -text whitespace=cr-at-eol
*.yml -text whitespace=cr-at-eol
Expand All @@ -55,9 +72,12 @@ CMakeLists.txt text whitespace=tabwidth=2
.cproject -text whitespace=cr-at-eol merge=union
org.eclipse.jdt.core.prefs -text whitespace=cr-at-eol merge=union

*.vcproj text eol=crlf merge=union
*.bat text eol=crlf
*.cmd text eol=crlf
*.cmd.tmpl text eol=crlf
*.dsp text eol=crlf -whitespace
*.sln text eol=crlf -whitespace
*.vcproj text eol=crlf -whitespace merge=union
*.vcxproj text eol=crlf -whitespace merge=union

*.sh text eol=lf
*.sh text eol=lf
1 change: 1 addition & 0 deletions 3rdparty/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -whitespace
2 changes: 1 addition & 1 deletion 3rdparty/ffmpeg/ffmpeg_version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ set(HAVE_GENTOO_FFMPEG 1)
set(ALIASOF_libavcodec_VERSION 53.61.100)
set(ALIASOF_libavformat_VERSION 53.32.100)
set(ALIASOF_libavutil_VERSION 51.35.100)
set(ALIASOF_libswscale_VERSION 2.1.100)
set(ALIASOF_libswscale_VERSION 2.1.100)
2 changes: 1 addition & 1 deletion 3rdparty/ffmpeg/make.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
set path=c:\dev\msys32\bin;%path% & gcc -Wall -shared -o opencv_ffmpeg.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat -lavcodec -lavdevice -lswscale -lavutil -lwsock32
set path=c:\dev\msys64\bin;%path% & gcc -m64 -Wall -shared -o opencv_ffmpeg_64.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat64 -lavcodec64 -lavdevice64 -lswscale64 -lavutil64 -lavcore64 -lwsock32 -lws2_32
set path=c:\dev\msys64\bin;%path% & gcc -m64 -Wall -shared -o opencv_ffmpeg_64.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat64 -lavcodec64 -lavdevice64 -lswscale64 -lavutil64 -lavcore64 -lwsock32 -lws2_32
2 changes: 0 additions & 2 deletions 3rdparty/ffmpeg/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ How to update opencv_ffmpeg.dll and opencv_ffmpeg_64.dll when a new version of F

8. Then, go to <opencv>\3rdparty\ffmpeg, edit make.bat
(change paths to the actual paths to your msys32 and msys64 distributions) and then run make.bat


1 change: 0 additions & 1 deletion 3rdparty/libtiff/tif_config.h.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@

/* Support Deflate compression */
#define ZIP_SUPPORT 1

2 changes: 1 addition & 1 deletion 3rdparty/tbb/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tbb*.tgz
tbb*.tgz
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -863,4 +863,3 @@ ocv_finalize_status()
if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
message(WARNING "The source directory is the same as binary directory. \"make clean\" may damage the source tree")
endif()

1 change: 0 additions & 1 deletion apps/haartraining/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ if(ENABLE_SOLUTION_FOLDERS)
set_target_properties(opencv_haartraining PROPERTIES FOLDER "applications")
set_target_properties(opencv_haartraining_engine PROPERTIES FOLDER "applications")
endif()

1 change: 0 additions & 1 deletion apps/haartraining/_cvcommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ int icvGetIdxAt( CvMat* idx, int pos )
void icvSave( const CvArr* ptr, const char* filename, int line );

#endif /* __CVCOMMON_H_ */

1 change: 0 additions & 1 deletion apps/haartraining/performance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,4 +375,3 @@ int main( int argc, char* argv[] )

return 0;
}

1 change: 0 additions & 1 deletion apps/traincascade/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ if(ENABLE_SOLUTION_FOLDERS)
endif()

install(TARGETS ${the_target} RUNTIME DESTINATION bin COMPONENT main)

1 change: 0 additions & 1 deletion cmake/OpenCVCRTLinkage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@ if(NOT BUILD_WITH_DEBUG_INFO AND NOT MSVC)
string(REPLACE "/Zi" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
string(REPLACE "/Zi" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
endif()

2 changes: 1 addition & 1 deletion cmake/OpenCVCompilerOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,4 @@ if(MSVC)
if(NOT ENABLE_NOISY_WARNINGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251") #class 'std::XXX' needs to have dll-interface to be used by clients of YYY
endif()
endif()
endif()
4 changes: 2 additions & 2 deletions cmake/OpenCVFindIPP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ endfunction()
# ------------------------------------------------------------------------
function(set_ipp_new_libraries _LATEST_VERSION)
set(IPP_PREFIX "ipp")

if(${_LATEST_VERSION} VERSION_LESS "8.0")
set(IPP_SUFFIX "_l") # static not threaded libs suffix IPP 7.x
else()
Expand Down Expand Up @@ -346,4 +346,4 @@ if(WIN32 AND MINGW AND NOT IPP_LATEST_VERSION_MAJOR LESS 7)
# See http://code.opencv.org/issues/1906 for additional details
set(MSV_NTDLL "ntdll")
set(IPP_LIBRARIES ${IPP_LIBRARIES} ${MSV_NTDLL}${IPP_LIB_SUFFIX})
endif()
endif()
4 changes: 2 additions & 2 deletions cmake/OpenCVFindXimea.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set(XIMEA_LIBRARY_DIR)
if(WIN32)
# Try to find the XIMEA API path in registry.
GET_FILENAME_COMPONENT(XIMEA_PATH "[HKEY_CURRENT_USER\\Software\\XIMEA\\CamSupport\\API;Path]" ABSOLUTE)

if(EXISTS ${XIMEA_PATH})
set(XIMEA_FOUND 1)
# set LIB folders
Expand All @@ -43,4 +43,4 @@ endif()

mark_as_advanced(FORCE XIMEA_FOUND)
mark_as_advanced(FORCE XIMEA_PATH)
mark_as_advanced(FORCE XIMEA_LIBRARY_DIR)
mark_as_advanced(FORCE XIMEA_LIBRARY_DIR)
2 changes: 1 addition & 1 deletion cmake/OpenCVUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -515,4 +515,4 @@ function(ocv_source_group group)
cmake_parse_arguments(OCV_SOURCE_GROUP "" "" "GLOB" ${ARGN})
file(GLOB srcs ${OCV_SOURCE_GROUP_GLOB})
source_group(${group} FILES ${srcs})
endfunction()
endfunction()
2 changes: 1 addition & 1 deletion cmake/checks/OpenCVDetectCudaArch.cu
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ int main()
printf("%d.%d ", prop.major, prop.minor);
}
return 0;
}
}
2 changes: 1 addition & 1 deletion cmake/checks/vfwtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ int main()
AVIFileInit();
AVIFileExit();
return 0;
}
}
2 changes: 1 addition & 1 deletion cmake/checks/winrttest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
int main(int, char**)
{
return 0;
}
}
2 changes: 1 addition & 1 deletion cmake/cl2cpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ foreach(cl ${cl_list})
file(APPEND ${OUTPUT} "const char* ${cl_filename}=\"${lines};\n")
endforeach()

file(APPEND ${OUTPUT} "}\n}\n")
file(APPEND ${OUTPUT} "}\n}\n")
2 changes: 0 additions & 2 deletions cmake/templates/cmake_uninstall.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ FOREACH(file ${files})
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)


2 changes: 1 addition & 1 deletion cmake/templates/opencv_modules.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
*
*/

@OPENCV_MODULE_DEFINITIONS_CONFIGMAKE@
@OPENCV_MODULE_DEFINITIONS_CONFIGMAKE@
3 changes: 1 addition & 2 deletions doc/_static/insertIframe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function insertIframe (elementId, iframeSrc)
function insertIframe (elementId, iframeSrc)
{
var iframe;
if (document.createElement && (iframe = document.createElement('iframe')))
Expand All @@ -10,4 +10,3 @@ function insertIframe (elementId, iframeSrc)
element.parentNode.replaceChild(iframe, element);
}
}

2 changes: 1 addition & 1 deletion doc/_themes/blue/static/default.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -387,4 +387,4 @@ div.sphinxsidebar #searchbox input[type="text"] {

div.sphinxsidebar #searchbox input[type="submit"] {
width:auto;
}
}
2 changes: 1 addition & 1 deletion doc/_themes/blue/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ feedbacklinkcolor = #ffffff
bodyfont = sans-serif
headfont = 'Trebuchet MS', sans-serif
guifont = "Lucida Sans","Lucida Sans Unicode","Lucida Grande",Verdana,Arial,Helvetica,sans-serif
lang = none
lang = none
2 changes: 0 additions & 2 deletions doc/check_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,3 @@ def check_module_docs(self, name):
for m in opencv_module_list:
print "\n\n*************************** " + m + " *************************\n"
p.check_module_docs(m)


1 change: 0 additions & 1 deletion doc/mymath.sty
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@
#7 & #8 & #9
\end{bmatrix}
}

10 changes: 5 additions & 5 deletions doc/opencv_cheatsheet.tex
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
% if using A4 paper. (This probably isn't strictly necessary.)
% If using another size paper, use default 1cm margins.
\ifthenelse{\lengthtest { \paperwidth = 11in}}
{ \geometry{top=.5in,left=.5in,right=.5in,bottom=.5in} }
{\ifthenelse{ \lengthtest{ \paperwidth = 297mm}}
{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} }
{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} }
}
{ \geometry{top=.5in,left=.5in,right=.5in,bottom=.5in} }
{\ifthenelse{ \lengthtest{ \paperwidth = 297mm}}
{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} }
{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} }
}

% Turn off header and footer
% \pagestyle{empty}
Expand Down
1 change: 0 additions & 1 deletion doc/pattern_tools/svgfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -3667,4 +3667,3 @@ def SVG(self, trans=None):
output.append(LineAxis(x, start, x, end, start, end, bars, False, False, **self.attr).SVG(trans))

return output

Loading

0 comments on commit 2c4bbb3

Please sign in to comment.