├── .gitignore ├── Project ├── ImageTest │ ├── ImageTest.pro │ ├── ImageTest.pro.user │ └── code │ │ ├── inc │ │ ├── imagetest.h │ │ └── menu.h │ │ ├── main.cpp │ │ ├── src │ │ ├── imagetest.cc │ │ └── menu.cc │ │ ├── stdafx.h │ │ └── ui │ │ └── imagetest.ui ├── Readme.md ├── depends │ ├── AtomDocSet │ │ └── DoxygenTemplates.xml │ ├── gtest │ │ └── include │ │ │ └── gtest │ │ │ ├── gtest-death-test.h │ │ │ ├── gtest-message.h │ │ │ ├── gtest-param-test.h │ │ │ ├── gtest-param-test.h.pump │ │ │ ├── gtest-printers.h │ │ │ ├── gtest-spi.h │ │ │ ├── gtest-test-part.h │ │ │ ├── gtest-typed-test.h │ │ │ ├── gtest.h │ │ │ ├── gtest_pred_impl.h │ │ │ ├── gtest_prod.h │ │ │ └── internal │ │ │ ├── custom │ │ │ ├── README.md │ │ │ ├── gtest-port.h │ │ │ ├── gtest-printers.h │ │ │ └── gtest.h │ │ │ ├── gtest-death-test-internal.h │ │ │ ├── gtest-filepath.h │ │ │ ├── gtest-internal.h │ │ │ ├── gtest-linked_ptr.h │ │ │ ├── gtest-param-util-generated.h │ │ │ ├── gtest-param-util-generated.h.pump │ │ │ ├── gtest-param-util.h │ │ │ ├── gtest-port-arch.h │ │ │ ├── gtest-port.h │ │ │ ├── gtest-string.h │ │ │ ├── gtest-tuple.h │ │ │ ├── gtest-tuple.h.pump │ │ │ ├── gtest-type-util.h │ │ │ └── gtest-type-util.h.pump │ ├── opencv │ │ └── include │ │ │ ├── opencv │ │ │ ├── cv.h │ │ │ ├── cv.hpp │ │ │ ├── cvaux.h │ │ │ ├── cvaux.hpp │ │ │ ├── cvwimage.h │ │ │ ├── cxcore.h │ │ │ ├── cxcore.hpp │ │ │ ├── cxeigen.hpp │ │ │ ├── cxmisc.h │ │ │ ├── highgui.h │ │ │ └── ml.h │ │ │ └── opencv2 │ │ │ ├── calib3d.hpp │ │ │ ├── calib3d │ │ │ ├── calib3d.hpp │ │ │ └── calib3d_c.h │ │ │ ├── core.hpp │ │ │ ├── core │ │ │ ├── affine.hpp │ │ │ ├── base.hpp │ │ │ ├── bufferpool.hpp │ │ │ ├── core.hpp │ │ │ ├── core_c.h │ │ │ ├── cuda.hpp │ │ │ ├── cuda.inl.hpp │ │ │ ├── cuda_stream_accessor.hpp │ │ │ ├── cuda_types.hpp │ │ │ ├── cv_cpu_dispatch.h │ │ │ ├── cv_cpu_helper.h │ │ │ ├── cvdef.h │ │ │ ├── cvstd.hpp │ │ │ ├── cvstd.inl.hpp │ │ │ ├── directx.hpp │ │ │ ├── eigen.hpp │ │ │ ├── fast_math.hpp │ │ │ ├── hal │ │ │ │ ├── hal.hpp │ │ │ │ ├── interface.h │ │ │ │ ├── intrin.hpp │ │ │ │ ├── intrin_cpp.hpp │ │ │ │ ├── intrin_neon.hpp │ │ │ │ ├── intrin_sse.hpp │ │ │ │ └── intrin_vsx.hpp │ │ │ ├── ippasync.hpp │ │ │ ├── mat.hpp │ │ │ ├── mat.inl.hpp │ │ │ ├── matx.hpp │ │ │ ├── neon_utils.hpp │ │ │ ├── ocl.hpp │ │ │ ├── ocl_genbase.hpp │ │ │ ├── opengl.hpp │ │ │ ├── operations.hpp │ │ │ ├── optim.hpp │ │ │ ├── ovx.hpp │ │ │ ├── persistence.hpp │ │ │ ├── ptr.inl.hpp │ │ │ ├── saturate.hpp │ │ │ ├── softfloat.hpp │ │ │ ├── sse_utils.hpp │ │ │ ├── traits.hpp │ │ │ ├── types.hpp │ │ │ ├── types_c.h │ │ │ ├── utility.hpp │ │ │ ├── utils │ │ │ │ ├── filesystem.hpp │ │ │ │ ├── logger.defines.hpp │ │ │ │ ├── logger.hpp │ │ │ │ └── trace.hpp │ │ │ ├── va_intel.hpp │ │ │ ├── version.hpp │ │ │ ├── vsx_utils.hpp │ │ │ └── wimage.hpp │ │ │ ├── cvconfig.h │ │ │ ├── dnn.hpp │ │ │ ├── dnn │ │ │ ├── all_layers.hpp │ │ │ ├── dict.hpp │ │ │ ├── dnn.hpp │ │ │ ├── dnn.inl.hpp │ │ │ ├── layer.details.hpp │ │ │ ├── layer.hpp │ │ │ └── shape_utils.hpp │ │ │ ├── features2d.hpp │ │ │ ├── features2d │ │ │ ├── features2d.hpp │ │ │ └── hal │ │ │ │ └── interface.h │ │ │ ├── flann.hpp │ │ │ ├── flann │ │ │ ├── all_indices.h │ │ │ ├── allocator.h │ │ │ ├── any.h │ │ │ ├── autotuned_index.h │ │ │ ├── composite_index.h │ │ │ ├── config.h │ │ │ ├── defines.h │ │ │ ├── dist.h │ │ │ ├── dummy.h │ │ │ ├── dynamic_bitset.h │ │ │ ├── flann.hpp │ │ │ ├── flann_base.hpp │ │ │ ├── general.h │ │ │ ├── ground_truth.h │ │ │ ├── hdf5.h │ │ │ ├── heap.h │ │ │ ├── hierarchical_clustering_index.h │ │ │ ├── index_testing.h │ │ │ ├── kdtree_index.h │ │ │ ├── kdtree_single_index.h │ │ │ ├── kmeans_index.h │ │ │ ├── linear_index.h │ │ │ ├── logger.h │ │ │ ├── lsh_index.h │ │ │ ├── lsh_table.h │ │ │ ├── matrix.h │ │ │ ├── miniflann.hpp │ │ │ ├── nn_index.h │ │ │ ├── object_factory.h │ │ │ ├── params.h │ │ │ ├── random.h │ │ │ ├── result_set.h │ │ │ ├── sampling.h │ │ │ ├── saving.h │ │ │ ├── simplex_downhill.h │ │ │ └── timer.h │ │ │ ├── highgui.hpp │ │ │ ├── highgui │ │ │ ├── highgui.hpp │ │ │ └── highgui_c.h │ │ │ ├── imgcodecs.hpp │ │ │ ├── imgcodecs │ │ │ ├── imgcodecs.hpp │ │ │ ├── imgcodecs_c.h │ │ │ └── ios.h │ │ │ ├── imgproc.hpp │ │ │ ├── imgproc │ │ │ ├── detail │ │ │ │ └── distortion_model.hpp │ │ │ ├── hal │ │ │ │ ├── hal.hpp │ │ │ │ └── interface.h │ │ │ ├── imgproc.hpp │ │ │ ├── imgproc_c.h │ │ │ └── types_c.h │ │ │ ├── ml.hpp │ │ │ ├── ml │ │ │ ├── ml.hpp │ │ │ └── ml.inl.hpp │ │ │ ├── objdetect.hpp │ │ │ ├── objdetect │ │ │ ├── detection_based_tracker.hpp │ │ │ ├── objdetect.hpp │ │ │ └── objdetect_c.h │ │ │ ├── opencv.hpp │ │ │ ├── opencv_modules.hpp │ │ │ ├── photo.hpp │ │ │ ├── photo │ │ │ ├── cuda.hpp │ │ │ ├── photo.hpp │ │ │ └── photo_c.h │ │ │ ├── shape.hpp │ │ │ ├── shape │ │ │ ├── emdL1.hpp │ │ │ ├── hist_cost.hpp │ │ │ ├── shape.hpp │ │ │ ├── shape_distance.hpp │ │ │ └── shape_transformer.hpp │ │ │ ├── stitching.hpp │ │ │ ├── stitching │ │ │ ├── detail │ │ │ │ ├── autocalib.hpp │ │ │ │ ├── blenders.hpp │ │ │ │ ├── camera.hpp │ │ │ │ ├── exposure_compensate.hpp │ │ │ │ ├── matchers.hpp │ │ │ │ ├── motion_estimators.hpp │ │ │ │ ├── seam_finders.hpp │ │ │ │ ├── timelapsers.hpp │ │ │ │ ├── util.hpp │ │ │ │ ├── util_inl.hpp │ │ │ │ ├── warpers.hpp │ │ │ │ └── warpers_inl.hpp │ │ │ └── warpers.hpp │ │ │ ├── superres.hpp │ │ │ ├── superres │ │ │ └── optical_flow.hpp │ │ │ ├── video.hpp │ │ │ ├── video │ │ │ ├── background_segm.hpp │ │ │ ├── tracking.hpp │ │ │ ├── tracking_c.h │ │ │ └── video.hpp │ │ │ ├── videoio.hpp │ │ │ ├── videoio │ │ │ ├── cap_ios.h │ │ │ ├── videoio.hpp │ │ │ └── videoio_c.h │ │ │ ├── videostab.hpp │ │ │ ├── videostab │ │ │ ├── deblurring.hpp │ │ │ ├── fast_marching.hpp │ │ │ ├── fast_marching_inl.hpp │ │ │ ├── frame_source.hpp │ │ │ ├── global_motion.hpp │ │ │ ├── inpainting.hpp │ │ │ ├── log.hpp │ │ │ ├── motion_core.hpp │ │ │ ├── motion_stabilizing.hpp │ │ │ ├── optical_flow.hpp │ │ │ ├── outlier_rejection.hpp │ │ │ ├── ring_buffer.hpp │ │ │ ├── stabilizer.hpp │ │ │ └── wobble_suppression.hpp │ │ │ └── world.hpp │ └── spdlog │ │ └── include │ │ └── spdlog │ │ ├── async.h │ │ ├── async_logger.h │ │ ├── common.h │ │ ├── details │ │ ├── async_logger_impl.h │ │ ├── circular_q.h │ │ ├── console_globals.h │ │ ├── file_helper.h │ │ ├── fmt_helper.h │ │ ├── log_msg.h │ │ ├── logger_impl.h │ │ ├── mpmc_blocking_q.h │ │ ├── null_mutex.h │ │ ├── os.h │ │ ├── pattern_formatter.h │ │ ├── periodic_worker.h │ │ ├── registry.h │ │ └── thread_pool.h │ │ ├── fmt │ │ ├── bin_to_hex.h │ │ ├── bundled │ │ │ ├── LICENSE.rst │ │ │ ├── chrono.h │ │ │ ├── color.h │ │ │ ├── core.h │ │ │ ├── format-inl.h │ │ │ ├── format.h │ │ │ ├── locale.h │ │ │ ├── ostream.h │ │ │ ├── posix.h │ │ │ ├── printf.h │ │ │ ├── ranges.h │ │ │ └── time.h │ │ ├── fmt.h │ │ └── ostr.h │ │ ├── formatter.h │ │ ├── logger.h │ │ ├── sinks │ │ ├── android_sink.h │ │ ├── ansicolor_sink.h │ │ ├── base_sink.h │ │ ├── basic_file_sink.h │ │ ├── daily_file_sink.h │ │ ├── dist_sink.h │ │ ├── msvc_sink.h │ │ ├── null_sink.h │ │ ├── ostream_sink.h │ │ ├── rotating_file_sink.h │ │ ├── sink.h │ │ ├── stdout_color_sinks.h │ │ ├── stdout_sinks.h │ │ ├── syslog_sink.h │ │ ├── systemd_sink.h │ │ └── wincolor_sink.h │ │ ├── spdlog.h │ │ ├── tweakme.h │ │ └── version.h └── doc │ ├── Soft │ ├── ImageProcessing │ │ ├── ImageProcessing │ │ │ ├── Image │ │ │ │ ├── edit │ │ │ │ │ ├── Edit_Cancel.png │ │ │ │ │ ├── Edit_Full.png │ │ │ │ │ ├── Edit_Max.png │ │ │ │ │ ├── Edit_Option.png │ │ │ │ │ ├── Edit_Resume.png │ │ │ │ │ ├── img_black.png │ │ │ │ │ └── img_white.png │ │ │ │ ├── file │ │ │ │ │ ├── Close.png │ │ │ │ │ ├── New.png │ │ │ │ │ ├── Open.png │ │ │ │ │ ├── Save.png │ │ │ │ │ └── SaveAs.png │ │ │ │ ├── geom │ │ │ │ │ ├── Geom_Center.png │ │ │ │ │ ├── Geom_Default.png │ │ │ │ │ ├── Geom_Enlarge.png │ │ │ │ │ ├── Geom_EnlargeReduce.png │ │ │ │ │ ├── Geom_Flip.png │ │ │ │ │ ├── Geom_FlipX.png │ │ │ │ │ ├── Geom_FlipY.png │ │ │ │ │ ├── Geom_Reduce.png │ │ │ │ │ ├── Geom_Rotate.png │ │ │ │ │ ├── Geom_RotateCenter.png │ │ │ │ │ ├── Geom_RotateLeft.png │ │ │ │ │ └── Geom_RotateRight.png │ │ │ │ ├── gray │ │ │ │ │ ├── Gray_Bin.png │ │ │ │ │ ├── Gray_Gamma.png │ │ │ │ │ ├── Gray_Gray.png │ │ │ │ │ ├── Gray_Histeq.png │ │ │ │ │ ├── Gray_Linear.png │ │ │ │ │ ├── Gray_Log.png │ │ │ │ │ ├── Gray_Nolinear.png │ │ │ │ │ └── Gray_Reverse.png │ │ │ │ ├── help │ │ │ │ │ └── Help_Info.png │ │ │ │ ├── icon │ │ │ │ │ ├── 2.ico │ │ │ │ │ ├── 2.png │ │ │ │ │ ├── 3.png │ │ │ │ │ ├── ImageProcessing.png │ │ │ │ │ └── icon.ico │ │ │ │ ├── toolbox │ │ │ │ │ ├── Circle.png │ │ │ │ │ ├── Cut.png │ │ │ │ │ ├── Elipse.png │ │ │ │ │ ├── Hexagon.png │ │ │ │ │ ├── Line.png │ │ │ │ │ ├── Octagon.png │ │ │ │ │ ├── Painbrush.png │ │ │ │ │ ├── Rectangle.png │ │ │ │ │ ├── Rhombus.png │ │ │ │ │ ├── Square.png │ │ │ │ │ └── Triangle.png │ │ │ │ └── view │ │ │ │ │ └── Check.png │ │ │ ├── ImageProcessing.sln │ │ │ ├── ImageProcessing │ │ │ │ ├── GeneratedFiles │ │ │ │ │ ├── Debug │ │ │ │ │ │ ├── moc_CreateMenu.cpp │ │ │ │ │ │ ├── moc_CustomWindow.cpp │ │ │ │ │ │ ├── moc_MainWindow.cpp │ │ │ │ │ │ └── moc_PaintWidget.cpp │ │ │ │ │ ├── Release │ │ │ │ │ │ ├── moc_CreateMenu.cpp │ │ │ │ │ │ ├── moc_CustomWindow.cpp │ │ │ │ │ │ ├── moc_MainWindow.cpp │ │ │ │ │ │ └── moc_PaintWidget.cpp │ │ │ │ │ └── ui_ImageProcessing.h │ │ │ │ ├── ImageProcessing.aps │ │ │ │ ├── ImageProcessing.pro │ │ │ │ ├── ImageProcessing.qrc │ │ │ │ ├── ImageProcessing.rc │ │ │ │ ├── ImageProcessing.ui │ │ │ │ ├── ImageProcessing.vcxproj │ │ │ │ ├── ImageProcessing.vcxproj.filters │ │ │ │ ├── ImageProcessing.vcxproj.user │ │ │ │ ├── cpp │ │ │ │ │ ├── CreateMenu.cpp │ │ │ │ │ ├── CustomWindow.cpp │ │ │ │ │ ├── Enhance.cpp │ │ │ │ │ ├── Geom.cpp │ │ │ │ │ ├── Gray.cpp │ │ │ │ │ ├── ImgChange.cpp │ │ │ │ │ ├── MainWindow.cpp │ │ │ │ │ ├── Morp.cpp │ │ │ │ │ ├── PaintWidget.cpp │ │ │ │ │ └── main.cpp │ │ │ │ ├── header │ │ │ │ │ ├── CreateMenu.h │ │ │ │ │ ├── CustomWindow.h │ │ │ │ │ ├── Enhance.h │ │ │ │ │ ├── Geom.h │ │ │ │ │ ├── Gray.h │ │ │ │ │ ├── ImgChange.h │ │ │ │ │ ├── MainWindow.h │ │ │ │ │ ├── Morp.h │ │ │ │ │ └── PaintWidget.h │ │ │ │ ├── resource.h │ │ │ │ └── x64 │ │ │ │ │ └── Debug │ │ │ │ │ ├── ImageProcessing.log │ │ │ │ │ ├── ImageProcessing.res │ │ │ │ │ ├── ImageProcessing.tlog │ │ │ │ │ ├── CL.command.1.tlog │ │ │ │ │ ├── CL.read.1.tlog │ │ │ │ │ ├── CL.write.1.tlog │ │ │ │ │ ├── ImageProcessing.lastbuildstate │ │ │ │ │ ├── custombuild.command.1.tlog │ │ │ │ │ ├── custombuild.read.1.tlog │ │ │ │ │ ├── custombuild.write.1.tlog │ │ │ │ │ ├── link.command.1.tlog │ │ │ │ │ ├── link.read.1.tlog │ │ │ │ │ ├── link.write.1.tlog │ │ │ │ │ ├── rc.command.1.tlog │ │ │ │ │ ├── rc.read.1.tlog │ │ │ │ │ └── rc.write.1.tlog │ │ │ │ │ └── vc141.pdb │ │ │ ├── Test │ │ │ │ ├── circle.jpg │ │ │ │ ├── lena.jpg │ │ │ │ ├── pongo.jpg │ │ │ │ └── test.jpg │ │ │ ├── qss │ │ │ │ └── black.qss │ │ │ └── x64 │ │ │ │ └── Debug │ │ │ │ ├── ImageProcessing.exe │ │ │ │ ├── ImageProcessing.ilk │ │ │ │ └── ImageProcessing.pdb │ │ ├── ImageProcessing_lastest.exe │ │ ├── README.md │ │ └── fig │ │ │ ├── 1.png │ │ │ ├── 10.png │ │ │ ├── 11.png │ │ │ ├── 12.png │ │ │ ├── 13.png │ │ │ ├── 14.png │ │ │ ├── 15.png │ │ │ ├── 16.png │ │ │ ├── 17.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ └── 9.png │ ├── SSE_Optimization │ │ ├── Demo.jpg │ │ ├── ImageMaster.dll │ │ └── Wrapper.exe │ └── imageshop │ │ └── ImageShop.exe │ └── assets │ └── menu │ ├── 2019-10-28_130135.png │ ├── 2019-10-28_130145.png │ ├── 2019-10-28_130155.png │ ├── 2019-10-28_130203.png │ ├── 2019-10-28_130237.png │ ├── 2019-10-28_130300.png │ ├── 2019-10-28_130308.png │ ├── 2019-10-28_130315.png │ ├── 2019-10-28_130336.png │ ├── 2019-10-28_130343.png │ ├── 2019-10-28_130355.png │ ├── 2019-10-28_130403.png │ ├── 2019-10-28_130415.png │ ├── 2019-10-28_130423.png │ ├── 2019-10-28_130430.png │ ├── 2019-10-28_130636.png │ ├── 2019-10-28_130644.png │ ├── 2019-10-28_130656.png │ ├── 2019-10-28_130705.png │ ├── 2019-10-28_130729.png │ ├── 2019-10-28_160544.png │ ├── adjust.png │ └── edit.png └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Compiled Object files 5 | *.slo 6 | *.lo 7 | *.o 8 | *.obj 9 | 10 | # Precompiled Headers 11 | *.gch 12 | *.pch 13 | 14 | # Compiled Dynamic libraries 15 | *.so 16 | *.dylib 17 | *.dll 18 | 19 | # Fortran module files 20 | *.mod 21 | *.smod 22 | 23 | # Compiled Static libraries 24 | *.lai 25 | *.la 26 | *.a 27 | *.lib 28 | 29 | # Executables 30 | # *.exe 31 | *.out 32 | *.app 33 | Project/ImageTest/build-Debug/ 34 | !Project/doc/Soft/SSE_Optimization/ImageMaster.dll 35 | -------------------------------------------------------------------------------- /Project/ImageTest/ImageTest.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2019-10-28T13:22:26 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 10 | 11 | TARGET = ImageTest 12 | TEMPLATE = app 13 | 14 | # add c11 支持 15 | CONFIG += c++11 16 | 17 | # Add precompile header 18 | CONFIG += precompile_header 19 | PRECOMPILED_HEADER = code/stdafx.h 20 | 21 | # add version 22 | 23 | # 版本信息 24 | VERSION = 0.2.9 25 | # 图标 26 | # RC_ICONS = Code/ui/icon/Panorama.ico 27 | #名称 28 | QMAKE_TARGET_COMPANY = "S.Chen" 29 | 30 | QMAKE_TARGET_PRODUCT = "Image Lab" 31 | # 文件说明 32 | QMAKE_TARGET_DESCRIPTION = "Image Test Lab Soft Platform" 33 | # 版权信息 34 | QMAKE_TARGET_COPYRIGHT = "Copyright S.Chen. All rights reserved." 35 | # 中文(简体) 36 | RC_LANG = 0x0004 37 | 38 | 39 | 40 | # The following define makes your compiler emit warnings if you use 41 | # any feature of Qt which has been marked as deprecated (the exact warnings 42 | # depend on your compiler). Please consult the documentation of the 43 | # deprecated API in order to know how to port your code away from it. 44 | DEFINES += QT_DEPRECATED_WARNINGS 45 | 46 | # You can also make your code fail to compile if you use deprecated APIs. 47 | # In order to do so, uncomment the following line. 48 | # You can also select to disable deprecated APIs only up to a certain version of Qt. 49 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 50 | 51 | # add opencv lib 52 | 53 | win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../depends/opencv/lib/ -lopencv_world341 54 | else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../depends/opencv/lib/ -lopencv_world341d 55 | else:unix:!macx: LIBS += -L$$PWD/../depends/opencv/lib/ -lopencv_world341 56 | 57 | INCLUDEPATH += $$PWD/../depends/opencv/include 58 | DEPENDPATH += $$PWD/../depends/opencv/include 59 | 60 | win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../depends/opencv/lib/libopencv_world341.a 61 | else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../depends/opencv/lib/libopencv_world341d.a 62 | else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../depends/opencv/lib/opencv_world341.lib 63 | else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../depends/opencv/lib/opencv_world341d.lib 64 | else:unix:!macx: PRE_TARGETDEPS += $$PWD/../depends/opencv/lib/libopencv_world341.a 65 | 66 | 67 | # 工程文件 68 | 69 | FORMS += \ 70 | code/ui/imagetest.ui 71 | 72 | SOURCES += \ 73 | code/src/imagetest.cc \ 74 | code/src/menu.cc 75 | 76 | HEADERS += \ 77 | code/inc/imagetest.h \ 78 | code/inc/menu.h \ 79 | code/stdafx.h 80 | -------------------------------------------------------------------------------- /Project/ImageTest/code/inc/imagetest.h: -------------------------------------------------------------------------------- 1 | #ifndef IMAGETEST_H 2 | #define IMAGETEST_H 3 | 4 | #include "../stdafx.h" 5 | #include "ui_imagetest.h" 6 | 7 | 8 | namespace Ui { 9 | class ImageTest; 10 | } 11 | 12 | class ImageTest : public QMainWindow 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit ImageTest(QWidget *parent = nullptr); 18 | ~ImageTest(); 19 | 20 | private: 21 | Ui::ImageTest *ui; 22 | 23 | Menu *menu_; 24 | 25 | // 设置窗口内容 26 | // Menu 27 | 28 | private: 29 | // function 30 | void Init(); 31 | void Show(); 32 | 33 | void CreateMenubar(void); // 创建菜单栏 34 | void CreateLayout(void); // 布局窗口 35 | 36 | 37 | void 38 | 39 | 40 | 41 | }; 42 | 43 | #endif // IMAGETEST_H 44 | -------------------------------------------------------------------------------- /Project/ImageTest/code/inc/menu.h: -------------------------------------------------------------------------------- 1 | #ifndef CODEINCMENU_H 2 | #define CODEINCMENU_H 3 | 4 | #include "../stdafx.h" 5 | 6 | class Menu : public QMenuBar 7 | { 8 | public: 9 | Menu(); 10 | 11 | private: 12 | // 设置菜单的显示 13 | void Menu_File(void); 14 | }; 15 | 16 | #endif // CODEINCMENU_H 17 | -------------------------------------------------------------------------------- /Project/ImageTest/code/main.cpp: -------------------------------------------------------------------------------- 1 | #include "imagetest.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | ImageTest w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /Project/ImageTest/code/src/imagetest.cc: -------------------------------------------------------------------------------- 1 | #include "../inc/imagetest.h" 2 | #include "ui_imagetest.h" 3 | 4 | 5 | ImageTest::ImageTest(QWidget *parent) : 6 | QMainWindow(parent), 7 | ui(new Ui::ImageTest) 8 | { 9 | ui->setupUi(this); 10 | } 11 | 12 | ImageTest::~ImageTest() 13 | { 14 | delete ui; 15 | } 16 | 17 | // 初始化窗口显示 18 | void ImageTest::Init(void) 19 | { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /Project/ImageTest/code/src/menu.cc: -------------------------------------------------------------------------------- 1 | #include "../inc/menu.h" 2 | 3 | Menu::Menu() 4 | { 5 | Menu_File(); 6 | } 7 | 8 | void Menu::Menu_File(void) 9 | { 10 | 11 | QAction *Act_file_new = new QAction(QIcon("../Image/file/New.png"), tr("新建"), this); 12 | Act_file_new->setShortcut(Qt::Key_Control & Qt::Key_N); 13 | //Act_file_new->setStatusTip(tr("新建图像")); 14 | connect(Act_file_new, SIGNAL(triggered()), this, SLOT(File_new())); 15 | 16 | QAction *Act_file_open = new QAction(QIcon("../Image/file/Open.png"), tr("打开"), this); 17 | Act_file_open->setShortcuts(QKeySequence::Open); 18 | //Act_file_open->setStatusTip(tr("打开图像")); 19 | connect(Act_file_open, SIGNAL(triggered()), this, SLOT(File_open())); 20 | 21 | QAction *Act_file_save = new QAction(QIcon("../Image/file/Save.png"), tr("保存"), this); 22 | Act_file_save->setShortcuts(QKeySequence::Save); 23 | //Act_file_save->setStatusTip(tr("保存图像")); 24 | connect(Act_file_save, SIGNAL(triggered()), this, SLOT(File_save())); 25 | 26 | QAction *Act_file_saveas = new QAction(QIcon("../Image/file/SaveAs.png"), tr("另存为"), this); 27 | Act_file_saveas->setShortcuts(QKeySequence::SaveAs); 28 | //Act_file_saveas->setStatusTip(tr("图像另存为")); 29 | connect(Act_file_saveas, SIGNAL(triggered()), this, SLOT(File_saveas())); 30 | 31 | QAction *Act_file_close = new QAction(QIcon("../Image/file/Close.png"), tr("关闭"), this); 32 | Act_file_close->setShortcuts(QKeySequence::Close); 33 | //Act_file_close->setStatusTip(tr("关闭软件")); 34 | 35 | QMenu *file = addMenu(tr("文件")); 36 | file->addAction(Act_file_new); 37 | file->addAction(Act_file_open); 38 | file->addAction(Act_file_save); 39 | file->addAction(Act_file_saveas); 40 | file->addSeparator(); //添加一个分割器 41 | file->addAction(Act_file_close); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Project/ImageTest/code/stdafx.h: -------------------------------------------------------------------------------- 1 | #ifndef STDAFX_H 2 | #define STDAFX_H 3 | 4 | // 预编译头 5 | 6 | // QT库 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | // opencv 13 | #include "opencv2/opencv.hpp" 14 | #include "opencv2/core.hpp" 15 | #include "opencv2/highgui.hpp" 16 | 17 | 18 | // 自定义文件 19 | #include "./inc/imagetest.h" 20 | #include "./inc/menu.h" 21 | 22 | 23 | #endif // STDAFX_H 24 | -------------------------------------------------------------------------------- /Project/ImageTest/code/ui/imagetest.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | ImageTest 4 | 5 | 6 | 7 | 0 8 | 0 9 | 808 10 | 615 11 | 12 | 13 | 14 | ImageTest 15 | 16 | 17 | 18 | 19 | 20 | 0 21 | 0 22 | 808 23 | 22 24 | 25 | 26 | 27 | 28 | 29 | TopToolBarArea 30 | 31 | 32 | false 33 | 34 | 35 | 36 | 37 | 38 | 打开 39 | 40 | 41 | 42 | 43 | 保存 44 | 45 | 46 | 47 | 48 | tuichu 49 | 50 | 51 | 52 | 53 | 退出 54 | 55 | 56 | 57 | 58 | 形态学处理 59 | 60 | 61 | 62 | 63 | 二值信息 64 | 65 | 66 | 67 | 68 | 全局二值 69 | 70 | 71 | 72 | 73 | Wellner Adaptive Threshold 74 | 75 | 76 | 77 | 78 | Niblack Adaptive Threshold 79 | 80 | 81 | 82 | 83 | Bernsen Adaptive Threshold 84 | 85 | 86 | 87 | 88 | Get Outline 89 | 90 | 91 | 92 | 93 | Show Euclidean Distance Map 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /Project/depends/gtest/include/gtest/gtest_prod.h: -------------------------------------------------------------------------------- 1 | // Copyright 2006, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | // 31 | // Google C++ Testing and Mocking Framework definitions useful in production code. 32 | // GOOGLETEST_CM0003 DO NOT DELETE 33 | 34 | #ifndef GTEST_INCLUDE_GTEST_GTEST_PROD_H_ 35 | #define GTEST_INCLUDE_GTEST_GTEST_PROD_H_ 36 | 37 | // When you need to test the private or protected members of a class, 38 | // use the FRIEND_TEST macro to declare your tests as friends of the 39 | // class. For example: 40 | // 41 | // class MyClass { 42 | // private: 43 | // void PrivateMethod(); 44 | // FRIEND_TEST(MyClassTest, PrivateMethodWorks); 45 | // }; 46 | // 47 | // class MyClassTest : public testing::Test { 48 | // // ... 49 | // }; 50 | // 51 | // TEST_F(MyClassTest, PrivateMethodWorks) { 52 | // // Can call MyClass::PrivateMethod() here. 53 | // } 54 | // 55 | // Note: The test class must be in the same namespace as the class being tested. 56 | // For example, putting MyClassTest in an anonymous namespace will not work. 57 | 58 | #define FRIEND_TEST(test_case_name, test_name)\ 59 | friend class test_case_name##_##test_name##_Test 60 | 61 | #endif // GTEST_INCLUDE_GTEST_GTEST_PROD_H_ 62 | -------------------------------------------------------------------------------- /Project/depends/gtest/include/gtest/internal/custom/README.md: -------------------------------------------------------------------------------- 1 | # Customization Points 2 | 3 | The custom directory is an injection point for custom user configurations. 4 | 5 | ## Header `gtest.h` 6 | 7 | ### The following macros can be defined: 8 | 9 | * `GTEST_OS_STACK_TRACE_GETTER_` - The name of an implementation of 10 | `OsStackTraceGetterInterface`. 11 | * `GTEST_CUSTOM_TEMPDIR_FUNCTION_` - An override for `testing::TempDir()`. See 12 | `testing::TempDir` for semantics and signature. 13 | 14 | ## Header `gtest-port.h` 15 | 16 | The following macros can be defined: 17 | 18 | ### Flag related macros: 19 | 20 | * `GTEST_FLAG(flag_name)` 21 | * `GTEST_USE_OWN_FLAGFILE_FLAG_` - Define to 0 when the system provides its 22 | own flagfile flag parsing. 23 | * `GTEST_DECLARE_bool_(name)` 24 | * `GTEST_DECLARE_int32_(name)` 25 | * `GTEST_DECLARE_string_(name)` 26 | * `GTEST_DEFINE_bool_(name, default_val, doc)` 27 | * `GTEST_DEFINE_int32_(name, default_val, doc)` 28 | * `GTEST_DEFINE_string_(name, default_val, doc)` 29 | 30 | ### Logging: 31 | 32 | * `GTEST_LOG_(severity)` 33 | * `GTEST_CHECK_(condition)` 34 | * Functions `LogToStderr()` and `FlushInfoLog()` have to be provided too. 35 | 36 | ### Threading: 37 | 38 | * `GTEST_HAS_NOTIFICATION_` - Enabled if Notification is already provided. 39 | * `GTEST_HAS_MUTEX_AND_THREAD_LOCAL_` - Enabled if `Mutex` and `ThreadLocal` 40 | are already provided. Must also provide `GTEST_DECLARE_STATIC_MUTEX_(mutex)` 41 | and `GTEST_DEFINE_STATIC_MUTEX_(mutex)` 42 | * `GTEST_EXCLUSIVE_LOCK_REQUIRED_(locks)` 43 | * `GTEST_LOCK_EXCLUDED_(locks)` 44 | 45 | ### Underlying library support features 46 | 47 | * `GTEST_HAS_CXXABI_H_` 48 | 49 | ### Exporting API symbols: 50 | 51 | * `GTEST_API_` - Specifier for exported symbols. 52 | 53 | ## Header `gtest-printers.h` 54 | 55 | * See documentation at `gtest/gtest-printers.h` for details on how to define a 56 | custom printer. 57 | -------------------------------------------------------------------------------- /Project/depends/gtest/include/gtest/internal/custom/gtest-port.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // Injection point for custom user configurations. See README for details 31 | // 32 | // ** Custom implementation starts here ** 33 | 34 | #ifndef GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PORT_H_ 35 | #define GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PORT_H_ 36 | 37 | #endif // GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PORT_H_ 38 | -------------------------------------------------------------------------------- /Project/depends/gtest/include/gtest/internal/custom/gtest-printers.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // This file provides an injection point for custom printers in a local 31 | // installation of gTest. 32 | // It will be included from gtest-printers.h and the overrides in this file 33 | // will be visible to everyone. 34 | // 35 | // Injection point for custom user configurations. See README for details 36 | // 37 | // ** Custom implementation starts here ** 38 | 39 | #ifndef GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PRINTERS_H_ 40 | #define GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PRINTERS_H_ 41 | 42 | #endif // GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_PRINTERS_H_ 43 | -------------------------------------------------------------------------------- /Project/depends/gtest/include/gtest/internal/custom/gtest.h: -------------------------------------------------------------------------------- 1 | // Copyright 2015, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // Injection point for custom user configurations. See README for details 31 | // 32 | // ** Custom implementation starts here ** 33 | 34 | #ifndef GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_H_ 35 | #define GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_H_ 36 | 37 | #endif // GTEST_INCLUDE_GTEST_INTERNAL_CUSTOM_GTEST_H_ 38 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cv.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_OLD_CV_HPP 44 | #define OPENCV_OLD_CV_HPP 45 | 46 | //#if defined(__GNUC__) 47 | //#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" 48 | //#endif 49 | 50 | #include "cv.h" 51 | #include "opencv2/core.hpp" 52 | #include "opencv2/imgproc.hpp" 53 | #include "opencv2/photo.hpp" 54 | #include "opencv2/video.hpp" 55 | #include "opencv2/highgui.hpp" 56 | #include "opencv2/features2d.hpp" 57 | #include "opencv2/calib3d.hpp" 58 | #include "opencv2/objdetect.hpp" 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cvaux.h: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // Intel License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000, Intel Corporation, all rights reserved. 14 | // Third party copyrights are property of their respective owners. 15 | // 16 | // Redistribution and use in source and binary forms, with or without modification, 17 | // are permitted provided that the following conditions are met: 18 | // 19 | // * Redistribution's of source code must retain the above copyright notice, 20 | // this list of conditions and the following disclaimer. 21 | // 22 | // * Redistribution's in binary form must reproduce the above copyright notice, 23 | // this list of conditions and the following disclaimer in the documentation 24 | // and/or other materials provided with the distribution. 25 | // 26 | // * The name of Intel Corporation may not be used to endorse or promote products 27 | // derived from this software without specific prior written permission. 28 | // 29 | // This software is provided by the copyright holders and contributors "as is" and 30 | // any express or implied warranties, including, but not limited to, the implied 31 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 32 | // In no event shall the Intel Corporation or contributors be liable for any direct, 33 | // indirect, incidental, special, exemplary, or consequential damages 34 | // (including, but not limited to, procurement of substitute goods or services; 35 | // loss of use, data, or profits; or business interruption) however caused 36 | // and on any theory of liability, whether in contract, strict liability, 37 | // or tort (including negligence or otherwise) arising in any way out of 38 | // the use of this software, even if advised of the possibility of such damage. 39 | // 40 | //M*/ 41 | 42 | #ifndef OPENCV_OLD_AUX_H 43 | #define OPENCV_OLD_AUX_H 44 | 45 | //#if defined(__GNUC__) 46 | //#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" 47 | //#endif 48 | 49 | #include "opencv2/core/core_c.h" 50 | #include "opencv2/imgproc/imgproc_c.h" 51 | #include "opencv2/photo/photo_c.h" 52 | #include "opencv2/video/tracking_c.h" 53 | #include "opencv2/objdetect/objdetect_c.h" 54 | 55 | #endif 56 | 57 | /* End of file. */ 58 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cvaux.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // Intel License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000, Intel Corporation, all rights reserved. 14 | // Third party copyrights are property of their respective owners. 15 | // 16 | // Redistribution and use in source and binary forms, with or without modification, 17 | // are permitted provided that the following conditions are met: 18 | // 19 | // * Redistribution's of source code must retain the above copyright notice, 20 | // this list of conditions and the following disclaimer. 21 | // 22 | // * Redistribution's in binary form must reproduce the above copyright notice, 23 | // this list of conditions and the following disclaimer in the documentation 24 | // and/or other materials provided with the distribution. 25 | // 26 | // * The name of Intel Corporation may not be used to endorse or promote products 27 | // derived from this software without specific prior written permission. 28 | // 29 | // This software is provided by the copyright holders and contributors "as is" and 30 | // any express or implied warranties, including, but not limited to, the implied 31 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 32 | // In no event shall the Intel Corporation or contributors be liable for any direct, 33 | // indirect, incidental, special, exemplary, or consequential damages 34 | // (including, but not limited to, procurement of substitute goods or services; 35 | // loss of use, data, or profits; or business interruption) however caused 36 | // and on any theory of liability, whether in contract, strict liability, 37 | // or tort (including negligence or otherwise) arising in any way out of 38 | // the use of this software, even if advised of the possibility of such damage. 39 | // 40 | //M*/ 41 | 42 | #ifndef OPENCV_OLD_AUX_HPP 43 | #define OPENCV_OLD_AUX_HPP 44 | 45 | //#if defined(__GNUC__) 46 | //#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" 47 | //#endif 48 | 49 | #include "cvaux.h" 50 | #include "opencv2/core/utility.hpp" 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cvwimage.h: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////// 2 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 3 | // 4 | // By downloading, copying, installing or using the software you agree to 5 | // this license. If you do not agree to this license, do not download, 6 | // install, copy or use the software. 7 | // 8 | // License Agreement 9 | // For Open Source Computer Vision Library 10 | // 11 | // Copyright (C) 2008, Google, all rights reserved. 12 | // Third party copyrights are property of their respective owners. 13 | // 14 | // Redistribution and use in source and binary forms, with or without 15 | // modification, are permitted provided that the following conditions are met: 16 | // 17 | // * Redistribution's of source code must retain the above copyright notice, 18 | // this list of conditions and the following disclaimer. 19 | // 20 | // * Redistribution's in binary form must reproduce the above copyright notice, 21 | // this list of conditions and the following disclaimer in the documentation 22 | // and/or other materials provided with the distribution. 23 | // 24 | // * The name of Intel Corporation or contributors may not be used to endorse 25 | // or promote products derived from this software without specific 26 | // prior written permission. 27 | // 28 | // This software is provided by the copyright holders and contributors "as is" 29 | // and any express or implied warranties, including, but not limited to, the 30 | // implied warranties of merchantability and fitness for a particular purpose 31 | // are disclaimed. In no event shall the Intel Corporation or contributors be 32 | // liable for any direct, indirect, incidental, special, exemplary, or 33 | // consequential damages 34 | // (including, but not limited to, procurement of substitute goods or services; 35 | // loss of use, data, or profits; or business interruption) however caused 36 | // and on any theory of liability, whether in contract, strict liability, 37 | // or tort (including negligence or otherwise) arising in any way out of 38 | // the use of this software, even if advised of the possibility of such damage. 39 | 40 | 41 | #ifndef OPENCV_OLD_WIMAGE_HPP 42 | #define OPENCV_OLD_WIMAGE_HPP 43 | 44 | #include "opencv2/core/wimage.hpp" 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cxcore.h: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_OLD_CXCORE_H 44 | #define OPENCV_OLD_CXCORE_H 45 | 46 | //#if defined(__GNUC__) 47 | //#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" 48 | //#endif 49 | 50 | #include "opencv2/core/core_c.h" 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cxcore.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_OLD_CXCORE_HPP 44 | #define OPENCV_OLD_CXCORE_HPP 45 | 46 | //#if defined(__GNUC__) 47 | //#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" 48 | //#endif 49 | 50 | #include "cxcore.h" 51 | #include "opencv2/core.hpp" 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cxeigen.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_OLD_EIGEN_HPP 44 | #define OPENCV_OLD_EIGEN_HPP 45 | 46 | #include "opencv2/core/eigen.hpp" 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/cxmisc.h: -------------------------------------------------------------------------------- 1 | #ifndef OPENCV_OLD_CXMISC_H 2 | #define OPENCV_OLD_CXMISC_H 3 | 4 | #ifdef __cplusplus 5 | # include "opencv2/core/utility.hpp" 6 | #endif 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/highgui.h: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // Intel License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000, Intel Corporation, all rights reserved. 14 | // Third party copyrights are property of their respective owners. 15 | // 16 | // Redistribution and use in source and binary forms, with or without modification, 17 | // are permitted provided that the following conditions are met: 18 | // 19 | // * Redistribution's of source code must retain the above copyright notice, 20 | // this list of conditions and the following disclaimer. 21 | // 22 | // * Redistribution's in binary form must reproduce the above copyright notice, 23 | // this list of conditions and the following disclaimer in the documentation 24 | // and/or other materials provided with the distribution. 25 | // 26 | // * The name of Intel Corporation may not be used to endorse or promote products 27 | // derived from this software without specific prior written permission. 28 | // 29 | // This software is provided by the copyright holders and contributors "as is" and 30 | // any express or implied warranties, including, but not limited to, the implied 31 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 32 | // In no event shall the Intel Corporation or contributors be liable for any direct, 33 | // indirect, incidental, special, exemplary, or consequential damages 34 | // (including, but not limited to, procurement of substitute goods or services; 35 | // loss of use, data, or profits; or business interruption) however caused 36 | // and on any theory of liability, whether in contract, strict liability, 37 | // or tort (including negligence or otherwise) arising in any way out of 38 | // the use of this software, even if advised of the possibility of such damage. 39 | // 40 | //M*/ 41 | 42 | #ifndef OPENCV_OLD_HIGHGUI_H 43 | #define OPENCV_OLD_HIGHGUI_H 44 | 45 | #include "opencv2/core/core_c.h" 46 | #include "opencv2/highgui/highgui_c.h" 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv/ml.h: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // Intel License Agreement 11 | // 12 | // Copyright (C) 2000, Intel Corporation, all rights reserved. 13 | // Third party copyrights are property of their respective owners. 14 | // 15 | // Redistribution and use in source and binary forms, with or without modification, 16 | // are permitted provided that the following conditions are met: 17 | // 18 | // * Redistribution's of source code must retain the above copyright notice, 19 | // this list of conditions and the following disclaimer. 20 | // 21 | // * Redistribution's in binary form must reproduce the above copyright notice, 22 | // this list of conditions and the following disclaimer in the documentation 23 | // and/or other materials provided with the distribution. 24 | // 25 | // * The name of Intel Corporation may not be used to endorse or promote products 26 | // derived from this software without specific prior written permission. 27 | // 28 | // This software is provided by the copyright holders and contributors "as is" and 29 | // any express or implied warranties, including, but not limited to, the implied 30 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 31 | // In no event shall the Intel Corporation or contributors be liable for any direct, 32 | // indirect, incidental, special, exemplary, or consequential damages 33 | // (including, but not limited to, procurement of substitute goods or services; 34 | // loss of use, data, or profits; or business interruption) however caused 35 | // and on any theory of liability, whether in contract, strict liability, 36 | // or tort (including negligence or otherwise) arising in any way out of 37 | // the use of this software, even if advised of the possibility of such damage. 38 | // 39 | //M*/ 40 | 41 | #ifndef OPENCV_OLD_ML_H 42 | #define OPENCV_OLD_ML_H 43 | 44 | #include "opencv2/core/core_c.h" 45 | #include "opencv2/ml.hpp" 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/calib3d/calib3d.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/calib3d.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/bufferpool.hpp: -------------------------------------------------------------------------------- 1 | // This file is part of OpenCV project. 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory 3 | // of this distribution and at http://opencv.org/license.html. 4 | // 5 | // Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved. 6 | 7 | #ifndef OPENCV_CORE_BUFFER_POOL_HPP 8 | #define OPENCV_CORE_BUFFER_POOL_HPP 9 | 10 | #ifdef _MSC_VER 11 | #pragma warning(push) 12 | #pragma warning(disable: 4265) 13 | #endif 14 | 15 | namespace cv 16 | { 17 | 18 | //! @addtogroup core 19 | //! @{ 20 | 21 | class BufferPoolController 22 | { 23 | protected: 24 | ~BufferPoolController() { } 25 | public: 26 | virtual size_t getReservedSize() const = 0; 27 | virtual size_t getMaxReservedSize() const = 0; 28 | virtual void setMaxReservedSize(size_t size) = 0; 29 | virtual void freeAllReservedBuffers() = 0; 30 | }; 31 | 32 | //! @} 33 | 34 | } 35 | 36 | #ifdef _MSC_VER 37 | #pragma warning(pop) 38 | #endif 39 | 40 | #endif // OPENCV_CORE_BUFFER_POOL_HPP 41 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/core.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/core.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/ocl_genbase.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 14 | // Third party copyrights are property of their respective owners. 15 | // 16 | // Redistribution and use in source and binary forms, with or without modification, 17 | // are permitted provided that the following conditions are met: 18 | // 19 | // * Redistribution's of source code must retain the above copyright notice, 20 | // this list of conditions and the following disclaimer. 21 | // 22 | // * Redistribution's in binary form must reproduce the above copyright notice, 23 | // this list of conditions and the following disclaimer in the documentation 24 | // and/or other materials provided with the distribution. 25 | // 26 | // * The name of the copyright holders may not be used to endorse or promote products 27 | // derived from this software without specific prior written permission. 28 | // 29 | // This software is provided by the copyright holders and contributors "as is" and 30 | // any express or implied warranties, including, but not limited to, the implied 31 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 32 | // In no event shall the OpenCV Foundation or contributors be liable for any direct, 33 | // indirect, incidental, special, exemplary, or consequential damages 34 | // (including, but not limited to, procurement of substitute goods or services; 35 | // loss of use, data, or profits; or business interruption) however caused 36 | // and on any theory of liability, whether in contract, strict liability, 37 | // or tort (including negligence or otherwise) arising in any way out of 38 | // the use of this software, even if advised of the possibility of such damage. 39 | // 40 | //M*/ 41 | 42 | #ifndef OPENCV_OPENCL_GENBASE_HPP 43 | #define OPENCV_OPENCL_GENBASE_HPP 44 | 45 | //! @cond IGNORED 46 | 47 | namespace cv { 48 | namespace ocl { 49 | 50 | class ProgramSource; 51 | 52 | namespace internal { 53 | 54 | struct CV_EXPORTS ProgramEntry 55 | { 56 | const char* module; 57 | const char* name; 58 | const char* programCode; 59 | const char* programHash; 60 | ProgramSource* pProgramSource; 61 | 62 | operator ProgramSource& () const; 63 | }; 64 | 65 | } } } // namespace 66 | 67 | //! @endcond 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/ovx.hpp: -------------------------------------------------------------------------------- 1 | // This file is part of OpenCV project. 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory 3 | // of this distribution and at http://opencv.org/license.html. 4 | 5 | // Copyright (C) 2016, Intel Corporation, all rights reserved. 6 | // Third party copyrights are property of their respective owners. 7 | 8 | // OpenVX related definitions and declarations 9 | 10 | #pragma once 11 | #ifndef OPENCV_OVX_HPP 12 | #define OPENCV_OVX_HPP 13 | 14 | #include "cvdef.h" 15 | 16 | namespace cv 17 | { 18 | /// Check if use of OpenVX is possible 19 | CV_EXPORTS_W bool haveOpenVX(); 20 | 21 | /// Check if use of OpenVX is enabled 22 | CV_EXPORTS_W bool useOpenVX(); 23 | 24 | /// Enable/disable use of OpenVX 25 | CV_EXPORTS_W void setUseOpenVX(bool flag); 26 | } // namespace cv 27 | 28 | #endif // OPENCV_OVX_HPP 29 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/utils/filesystem.hpp: -------------------------------------------------------------------------------- 1 | // This file is part of OpenCV project. 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory 3 | // of this distribution and at http://opencv.org/license.html. 4 | 5 | #ifndef OPENCV_UTILS_FILESYSTEM_HPP 6 | #define OPENCV_UTILS_FILESYSTEM_HPP 7 | 8 | namespace cv { namespace utils { namespace fs { 9 | 10 | 11 | CV_EXPORTS bool exists(const cv::String& path); 12 | CV_EXPORTS bool isDirectory(const cv::String& path); 13 | 14 | CV_EXPORTS void remove_all(const cv::String& path); 15 | 16 | 17 | CV_EXPORTS cv::String getcwd(); 18 | 19 | /** Join path components */ 20 | CV_EXPORTS cv::String join(const cv::String& base, const cv::String& path); 21 | 22 | /** 23 | * Generate a list of all files that match the globbing pattern. 24 | * 25 | * Result entries are prefixed by base directory path. 26 | * 27 | * @param directory base directory 28 | * @param pattern filter pattern (based on '*'/'?' symbols). Use empty string to disable filtering and return all results 29 | * @param[out] result result of globing. 30 | * @param recursive scan nested directories too 31 | * @param includeDirectories include directories into results list 32 | */ 33 | CV_EXPORTS void glob(const cv::String& directory, const cv::String& pattern, 34 | CV_OUT std::vector& result, 35 | bool recursive = false, bool includeDirectories = false); 36 | 37 | /** 38 | * Generate a list of all files that match the globbing pattern. 39 | * 40 | * @param directory base directory 41 | * @param pattern filter pattern (based on '*'/'?' symbols). Use empty string to disable filtering and return all results 42 | * @param[out] result globbing result with relative paths from base directory 43 | * @param recursive scan nested directories too 44 | * @param includeDirectories include directories into results list 45 | */ 46 | CV_EXPORTS void glob_relative(const cv::String& directory, const cv::String& pattern, 47 | CV_OUT std::vector& result, 48 | bool recursive = false, bool includeDirectories = false); 49 | 50 | 51 | CV_EXPORTS bool createDirectory(const cv::String& path); 52 | CV_EXPORTS bool createDirectories(const cv::String& path); 53 | 54 | #ifdef __OPENCV_BUILD 55 | // TODO 56 | //CV_EXPORTS cv::String getTempDirectory(); 57 | 58 | /** 59 | * @brief Returns directory to store OpenCV cache files 60 | * Create sub-directory in common OpenCV cache directory if it doesn't exist. 61 | * @param sub_directory_name name of sub-directory. NULL or "" value asks to return root cache directory. 62 | * @param configuration_name optional name of configuration parameter name which overrides default behavior. 63 | * @return Path to cache directory. Returns empty string if cache directories support is not available. Returns "disabled" if cache disabled by user. 64 | */ 65 | CV_EXPORTS cv::String getCacheDirectory(const char* sub_directory_name, const char* configuration_name = NULL); 66 | 67 | #endif 68 | 69 | }}} // namespace 70 | 71 | #endif // OPENCV_UTILS_FILESYSTEM_HPP 72 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/utils/logger.defines.hpp: -------------------------------------------------------------------------------- 1 | // This file is part of OpenCV project. 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory 3 | // of this distribution and at http://opencv.org/license.html. 4 | 5 | #ifndef OPENCV_LOGGER_DEFINES_HPP 6 | #define OPENCV_LOGGER_DEFINES_HPP 7 | 8 | //! @addtogroup core_logging 9 | //! @{ 10 | 11 | // Supported logging levels and their semantic 12 | #define CV_LOG_LEVEL_SILENT 0 //!< for using in setLogLevel() call 13 | #define CV_LOG_LEVEL_FATAL 1 //!< Fatal (critical) error (unrecoverable internal error) 14 | #define CV_LOG_LEVEL_ERROR 2 //!< Error message 15 | #define CV_LOG_LEVEL_WARN 3 //!< Warning message 16 | #define CV_LOG_LEVEL_INFO 4 //!< Info message 17 | #define CV_LOG_LEVEL_DEBUG 5 //!< Debug message. Disabled in the "Release" build. 18 | #define CV_LOG_LEVEL_VERBOSE 6 //!< Verbose (trace) messages. Requires verbosity level. Disabled in the "Release" build. 19 | 20 | //! @} 21 | 22 | #endif // OPENCV_LOGGER_DEFINES_HPP 23 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/core/version.hpp: -------------------------------------------------------------------------------- 1 | // This file is part of OpenCV project. 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory 3 | // of this distribution and at http://opencv.org/license.html. 4 | 5 | #ifndef OPENCV_VERSION_HPP 6 | #define OPENCV_VERSION_HPP 7 | 8 | #define CV_VERSION_MAJOR 3 9 | #define CV_VERSION_MINOR 4 10 | #define CV_VERSION_REVISION 1 11 | #define CV_VERSION_STATUS "" 12 | 13 | #define CVAUX_STR_EXP(__A) #__A 14 | #define CVAUX_STR(__A) CVAUX_STR_EXP(__A) 15 | 16 | #define CVAUX_STRW_EXP(__A) L ## #__A 17 | #define CVAUX_STRW(__A) CVAUX_STRW_EXP(__A) 18 | 19 | #define CV_VERSION CVAUX_STR(CV_VERSION_MAJOR) "." CVAUX_STR(CV_VERSION_MINOR) "." CVAUX_STR(CV_VERSION_REVISION) CV_VERSION_STATUS 20 | 21 | /* old style version constants*/ 22 | #define CV_MAJOR_VERSION CV_VERSION_MAJOR 23 | #define CV_MINOR_VERSION CV_VERSION_MINOR 24 | #define CV_SUBMINOR_VERSION CV_VERSION_REVISION 25 | 26 | #endif // OPENCV_VERSION_HPP 27 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/features2d/features2d.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/features2d.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/features2d/hal/interface.h: -------------------------------------------------------------------------------- 1 | #ifndef OPENCV_FEATURE2D_HAL_INTERFACE_H 2 | #define OPENCV_FEATURE2D_HAL_INTERFACE_H 3 | 4 | #include "opencv2/core/cvdef.h" 5 | //! @addtogroup featrure2d_hal_interface 6 | //! @{ 7 | 8 | //! @name Fast feature detector types 9 | //! @sa cv::FastFeatureDetector 10 | //! @{ 11 | #define CV_HAL_TYPE_5_8 0 12 | #define CV_HAL_TYPE_7_12 1 13 | #define CV_HAL_TYPE_9_16 2 14 | //! @} 15 | 16 | //! @name Key point 17 | //! @sa cv::KeyPoint 18 | //! @{ 19 | struct CV_EXPORTS cvhalKeyPoint 20 | { 21 | float x; 22 | float y; 23 | float size; 24 | float angle; 25 | float response; 26 | int octave; 27 | int class_id; 28 | }; 29 | //! @} 30 | 31 | //! @} 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/flann/config.h: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | * Software License Agreement (BSD License) 3 | * 4 | * Copyright 2008-2011 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. 5 | * Copyright 2008-2011 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * 2. Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in the 15 | * documentation and/or other materials provided with the distribution. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | *************************************************************************/ 28 | 29 | 30 | #ifndef OPENCV_FLANN_CONFIG_H_ 31 | #define OPENCV_FLANN_CONFIG_H_ 32 | 33 | #ifdef FLANN_VERSION_ 34 | #undef FLANN_VERSION_ 35 | #endif 36 | #define FLANN_VERSION_ "1.6.10" 37 | 38 | #endif /* OPENCV_FLANN_CONFIG_H_ */ 39 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/flann/dummy.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef OPENCV_FLANN_DUMMY_H_ 3 | #define OPENCV_FLANN_DUMMY_H_ 4 | 5 | namespace cvflann 6 | { 7 | 8 | CV_DEPRECATED inline void dummyfunc() {} 9 | 10 | } 11 | 12 | 13 | #endif /* OPENCV_FLANN_DUMMY_H_ */ 14 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/flann/flann.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/flann.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/flann/general.h: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | * Software License Agreement (BSD License) 3 | * 4 | * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. 5 | * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. 6 | * 7 | * THE BSD LICENSE 8 | * 9 | * Redistribution and use in source and binary forms, with or without 10 | * modification, are permitted provided that the following conditions 11 | * are met: 12 | * 13 | * 1. Redistributions of source code must retain the above copyright 14 | * notice, this list of conditions and the following disclaimer. 15 | * 2. Redistributions in binary form must reproduce the above copyright 16 | * notice, this list of conditions and the following disclaimer in the 17 | * documentation and/or other materials provided with the distribution. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | *************************************************************************/ 30 | 31 | #ifndef OPENCV_FLANN_GENERAL_H_ 32 | #define OPENCV_FLANN_GENERAL_H_ 33 | 34 | #include "opencv2/core.hpp" 35 | 36 | namespace cvflann 37 | { 38 | 39 | class FLANNException : public cv::Exception 40 | { 41 | public: 42 | FLANNException(const char* message) : cv::Exception(0, message, "", __FILE__, __LINE__) { } 43 | 44 | FLANNException(const cv::String& message) : cv::Exception(0, message, "", __FILE__, __LINE__) { } 45 | }; 46 | 47 | } 48 | 49 | 50 | #endif /* OPENCV_FLANN_GENERAL_H_ */ 51 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/flann/timer.h: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | * Software License Agreement (BSD License) 3 | * 4 | * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. 5 | * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. 6 | * 7 | * THE BSD LICENSE 8 | * 9 | * Redistribution and use in source and binary forms, with or without 10 | * modification, are permitted provided that the following conditions 11 | * are met: 12 | * 13 | * 1. Redistributions of source code must retain the above copyright 14 | * notice, this list of conditions and the following disclaimer. 15 | * 2. Redistributions in binary form must reproduce the above copyright 16 | * notice, this list of conditions and the following disclaimer in the 17 | * documentation and/or other materials provided with the distribution. 18 | * 19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | *************************************************************************/ 30 | 31 | #ifndef OPENCV_FLANN_TIMER_H 32 | #define OPENCV_FLANN_TIMER_H 33 | 34 | #include 35 | #include "opencv2/core.hpp" 36 | #include "opencv2/core/utility.hpp" 37 | 38 | namespace cvflann 39 | { 40 | 41 | /** 42 | * A start-stop timer class. 43 | * 44 | * Can be used to time portions of code. 45 | */ 46 | class StartStopTimer 47 | { 48 | int64 startTime; 49 | 50 | public: 51 | /** 52 | * Value of the timer. 53 | */ 54 | double value; 55 | 56 | 57 | /** 58 | * Constructor. 59 | */ 60 | StartStopTimer() 61 | { 62 | reset(); 63 | } 64 | 65 | /** 66 | * Starts the timer. 67 | */ 68 | void start() 69 | { 70 | startTime = cv::getTickCount(); 71 | } 72 | 73 | /** 74 | * Stops the timer and updates timer value. 75 | */ 76 | void stop() 77 | { 78 | int64 stopTime = cv::getTickCount(); 79 | value += ( (double)stopTime - startTime) / cv::getTickFrequency(); 80 | } 81 | 82 | /** 83 | * Resets the timer value to 0. 84 | */ 85 | void reset() 86 | { 87 | value = 0; 88 | } 89 | 90 | }; 91 | 92 | } 93 | 94 | #endif // FLANN_TIMER_H 95 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/highgui/highgui.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/highgui.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/imgcodecs/imgcodecs.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/imgcodecs.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/imgcodecs/ios.h: -------------------------------------------------------------------------------- 1 | 2 | /*M/////////////////////////////////////////////////////////////////////////////////////// 3 | // 4 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 5 | // 6 | // By downloading, copying, installing or using the software you agree to this license. 7 | // If you do not agree to this license, do not download, install, 8 | // copy or use the software. 9 | // 10 | // 11 | // License Agreement 12 | // For Open Source Computer Vision Library 13 | // 14 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 15 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #import 45 | #import 46 | #import 47 | #import 48 | #include "opencv2/core/core.hpp" 49 | 50 | //! @addtogroup imgcodecs_ios 51 | //! @{ 52 | 53 | UIImage* MatToUIImage(const cv::Mat& image); 54 | void UIImageToMat(const UIImage* image, 55 | cv::Mat& m, bool alphaExist = false); 56 | 57 | //! @} 58 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/imgproc/hal/interface.h: -------------------------------------------------------------------------------- 1 | #ifndef OPENCV_IMGPROC_HAL_INTERFACE_H 2 | #define OPENCV_IMGPROC_HAL_INTERFACE_H 3 | 4 | //! @addtogroup imgproc_hal_interface 5 | //! @{ 6 | 7 | //! @name Interpolation modes 8 | //! @sa cv::InterpolationFlags 9 | //! @{ 10 | #define CV_HAL_INTER_NEAREST 0 11 | #define CV_HAL_INTER_LINEAR 1 12 | #define CV_HAL_INTER_CUBIC 2 13 | #define CV_HAL_INTER_AREA 3 14 | #define CV_HAL_INTER_LANCZOS4 4 15 | //! @} 16 | 17 | //! @name Morphology operations 18 | //! @sa cv::MorphTypes 19 | //! @{ 20 | #define CV_HAL_MORPH_ERODE 0 21 | #define CV_HAL_MORPH_DILATE 1 22 | //! @} 23 | 24 | //! @name Threshold types 25 | //! @sa cv::ThresholdTypes 26 | //! @{ 27 | #define CV_HAL_THRESH_BINARY 0 28 | #define CV_HAL_THRESH_BINARY_INV 1 29 | #define CV_HAL_THRESH_TRUNC 2 30 | #define CV_HAL_THRESH_TOZERO 3 31 | #define CV_HAL_THRESH_TOZERO_INV 4 32 | #define CV_HAL_THRESH_MASK 7 33 | #define CV_HAL_THRESH_OTSU 8 34 | #define CV_HAL_THRESH_TRIANGLE 16 35 | //! @} 36 | 37 | //! @name Adaptive threshold algorithm 38 | //! @sa cv::AdaptiveThresholdTypes 39 | //! @{ 40 | #define CV_HAL_ADAPTIVE_THRESH_MEAN_C 0 41 | #define CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1 42 | //! @} 43 | 44 | //! @} 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/imgproc/imgproc.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/imgproc.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/ml/ml.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/ml.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/ml/ml.inl.hpp: -------------------------------------------------------------------------------- 1 | // This file is part of OpenCV project. 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory 3 | // of this distribution and at http://opencv.org/license.html. 4 | 5 | #ifndef OPENCV_ML_INL_HPP 6 | #define OPENCV_ML_INL_HPP 7 | 8 | namespace cv { namespace ml { 9 | 10 | // declared in ml.hpp 11 | template 12 | int simulatedAnnealingSolver(SimulatedAnnealingSolverSystem& solverSystem, 13 | double initialTemperature, double finalTemperature, double coolingRatio, 14 | size_t iterationsPerStep, 15 | CV_OUT double* lastTemperature, 16 | cv::RNG& rngEnergy 17 | ) 18 | { 19 | CV_Assert(finalTemperature > 0); 20 | CV_Assert(initialTemperature > finalTemperature); 21 | CV_Assert(iterationsPerStep > 0); 22 | CV_Assert(coolingRatio < 1.0f); 23 | double Ti = initialTemperature; 24 | double previousEnergy = solverSystem.energy(); 25 | int exchange = 0; 26 | while (Ti > finalTemperature) 27 | { 28 | for (size_t i = 0; i < iterationsPerStep; i++) 29 | { 30 | solverSystem.changeState(); 31 | double newEnergy = solverSystem.energy(); 32 | if (newEnergy < previousEnergy) 33 | { 34 | previousEnergy = newEnergy; 35 | exchange++; 36 | } 37 | else 38 | { 39 | double r = rngEnergy.uniform(0.0, 1.0); 40 | if (r < std::exp(-(newEnergy - previousEnergy) / Ti)) 41 | { 42 | previousEnergy = newEnergy; 43 | exchange++; 44 | } 45 | else 46 | { 47 | solverSystem.reverseState(); 48 | } 49 | } 50 | } 51 | Ti *= coolingRatio; 52 | } 53 | if (lastTemperature) 54 | *lastTemperature = Ti; 55 | return exchange; 56 | } 57 | 58 | }} //namespace 59 | 60 | #endif // OPENCV_ML_INL_HPP 61 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/objdetect/objdetect.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/objdetect.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/opencv_modules.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * ** File generated automatically, do not modify ** 3 | * 4 | * This file defines the list of modules available in current build configuration 5 | * 6 | * 7 | */ 8 | 9 | // This definition means that OpenCV is built with enabled non-free code. 10 | // For example, patented algorithms for non-profit/non-commercial use only. 11 | /* #undef OPENCV_ENABLE_NONFREE */ 12 | 13 | #define HAVE_OPENCV_CALIB3D 14 | #define HAVE_OPENCV_CORE 15 | #define HAVE_OPENCV_DNN 16 | #define HAVE_OPENCV_FEATURES2D 17 | #define HAVE_OPENCV_FLANN 18 | #define HAVE_OPENCV_HIGHGUI 19 | #define HAVE_OPENCV_IMGCODECS 20 | #define HAVE_OPENCV_IMGPROC 21 | #define HAVE_OPENCV_ML 22 | #define HAVE_OPENCV_OBJDETECT 23 | #define HAVE_OPENCV_PHOTO 24 | #define HAVE_OPENCV_SHAPE 25 | #define HAVE_OPENCV_STITCHING 26 | #define HAVE_OPENCV_SUPERRES 27 | #define HAVE_OPENCV_VIDEO 28 | #define HAVE_OPENCV_VIDEOIO 29 | #define HAVE_OPENCV_VIDEOSTAB 30 | #define HAVE_OPENCV_WORLD 31 | 32 | 33 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/photo/photo.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/photo.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/photo/photo_c.h: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2008-2012, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_PHOTO_C_H 44 | #define OPENCV_PHOTO_C_H 45 | 46 | #include "opencv2/core/core_c.h" 47 | 48 | #ifdef __cplusplus 49 | extern "C" { 50 | #endif 51 | 52 | /** @addtogroup photo_c 53 | @{ 54 | */ 55 | 56 | /* Inpainting algorithms */ 57 | enum InpaintingModes 58 | { 59 | CV_INPAINT_NS =0, 60 | CV_INPAINT_TELEA =1 61 | }; 62 | 63 | 64 | /* Inpaints the selected region in the image */ 65 | CVAPI(void) cvInpaint( const CvArr* src, const CvArr* inpaint_mask, 66 | CvArr* dst, double inpaintRange, int flags ); 67 | 68 | /** @} */ 69 | 70 | #ifdef __cplusplus 71 | } //extern "C" 72 | #endif 73 | 74 | #endif //OPENCV_PHOTO_C_H 75 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/shape.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009-2012, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_SHAPE_HPP 44 | #define OPENCV_SHAPE_HPP 45 | 46 | #include "opencv2/shape/emdL1.hpp" 47 | #include "opencv2/shape/shape_transformer.hpp" 48 | #include "opencv2/shape/hist_cost.hpp" 49 | #include "opencv2/shape/shape_distance.hpp" 50 | 51 | /** 52 | @defgroup shape Shape Distance and Matching 53 | */ 54 | 55 | #endif 56 | 57 | /* End of file. */ 58 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/shape/shape.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/shape.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/video.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifndef OPENCV_VIDEO_HPP 45 | #define OPENCV_VIDEO_HPP 46 | 47 | /** 48 | @defgroup video Video Analysis 49 | @{ 50 | @defgroup video_motion Motion Analysis 51 | @defgroup video_track Object Tracking 52 | @defgroup video_c C API 53 | @} 54 | */ 55 | 56 | #include "opencv2/video/tracking.hpp" 57 | #include "opencv2/video/background_segm.hpp" 58 | 59 | #ifndef DISABLE_OPENCV_24_COMPATIBILITY 60 | #include "opencv2/video/tracking_c.h" 61 | #endif 62 | 63 | #endif //OPENCV_VIDEO_HPP 64 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/video/video.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/video.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/videoio/videoio.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. 16 | // Third party copyrights are property of their respective owners. 17 | // 18 | // Redistribution and use in source and binary forms, with or without modification, 19 | // are permitted provided that the following conditions are met: 20 | // 21 | // * Redistribution's of source code must retain the above copyright notice, 22 | // this list of conditions and the following disclaimer. 23 | // 24 | // * Redistribution's in binary form must reproduce the above copyright notice, 25 | // this list of conditions and the following disclaimer in the documentation 26 | // and/or other materials provided with the distribution. 27 | // 28 | // * The name of the copyright holders may not be used to endorse or promote products 29 | // derived from this software without specific prior written permission. 30 | // 31 | // This software is provided by the copyright holders and contributors "as is" and 32 | // any express or implied warranties, including, but not limited to, the implied 33 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 34 | // In no event shall the Intel Corporation or contributors be liable for any direct, 35 | // indirect, incidental, special, exemplary, or consequential damages 36 | // (including, but not limited to, procurement of substitute goods or services; 37 | // loss of use, data, or profits; or business interruption) however caused 38 | // and on any theory of liability, whether in contract, strict liability, 39 | // or tort (including negligence or otherwise) arising in any way out of 40 | // the use of this software, even if advised of the possibility of such damage. 41 | // 42 | //M*/ 43 | 44 | #ifdef __OPENCV_BUILD 45 | #error this is a compatibility header which should not be used inside the OpenCV library 46 | #endif 47 | 48 | #include "opencv2/videoio.hpp" 49 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/videostab/log.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_VIDEOSTAB_LOG_HPP 44 | #define OPENCV_VIDEOSTAB_LOG_HPP 45 | 46 | #include "opencv2/core.hpp" 47 | 48 | namespace cv 49 | { 50 | namespace videostab 51 | { 52 | 53 | //! @addtogroup videostab 54 | //! @{ 55 | 56 | class CV_EXPORTS ILog 57 | { 58 | public: 59 | virtual ~ILog() {} 60 | virtual void print(const char *format, ...) = 0; 61 | }; 62 | 63 | class CV_EXPORTS NullLog : public ILog 64 | { 65 | public: 66 | virtual void print(const char * /*format*/, ...) {} 67 | }; 68 | 69 | class CV_EXPORTS LogToStdout : public ILog 70 | { 71 | public: 72 | virtual void print(const char *format, ...); 73 | }; 74 | 75 | //! @} 76 | 77 | } // namespace videostab 78 | } // namespace cv 79 | 80 | #endif 81 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/videostab/ring_buffer.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_VIDEOSTAB_RING_BUFFER_HPP 44 | #define OPENCV_VIDEOSTAB_RING_BUFFER_HPP 45 | 46 | #include 47 | #include "opencv2/imgproc.hpp" 48 | 49 | namespace cv 50 | { 51 | namespace videostab 52 | { 53 | 54 | //! @addtogroup videostab 55 | //! @{ 56 | 57 | template inline T& at(int idx, std::vector &items) 58 | { 59 | return items[cv::borderInterpolate(idx, static_cast(items.size()), cv::BORDER_WRAP)]; 60 | } 61 | 62 | template inline const T& at(int idx, const std::vector &items) 63 | { 64 | return items[cv::borderInterpolate(idx, static_cast(items.size()), cv::BORDER_WRAP)]; 65 | } 66 | 67 | //! @} 68 | 69 | } // namespace videostab 70 | } // namespace cv 71 | 72 | #endif 73 | -------------------------------------------------------------------------------- /Project/depends/opencv/include/opencv2/world.hpp: -------------------------------------------------------------------------------- 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 4 | // 5 | // By downloading, copying, installing or using the software you agree to this license. 6 | // If you do not agree to this license, do not download, install, 7 | // copy or use the software. 8 | // 9 | // 10 | // License Agreement 11 | // For Open Source Computer Vision Library 12 | // 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 14 | // Copyright (C) 2009-2010, Willow Garage Inc., all rights reserved. 15 | // Third party copyrights are property of their respective owners. 16 | // 17 | // Redistribution and use in source and binary forms, with or without modification, 18 | // are permitted provided that the following conditions are met: 19 | // 20 | // * Redistribution's of source code must retain the above copyright notice, 21 | // this list of conditions and the following disclaimer. 22 | // 23 | // * Redistribution's in binary form must reproduce the above copyright notice, 24 | // this list of conditions and the following disclaimer in the documentation 25 | // and/or other materials provided with the distribution. 26 | // 27 | // * The name of the copyright holders may not be used to endorse or promote products 28 | // derived from this software without specific prior written permission. 29 | // 30 | // This software is provided by the copyright holders and contributors "as is" and 31 | // any express or implied warranties, including, but not limited to, the implied 32 | // warranties of merchantability and fitness for a particular purpose are disclaimed. 33 | // In no event shall the Intel Corporation or contributors be liable for any direct, 34 | // indirect, incidental, special, exemplary, or consequential damages 35 | // (including, but not limited to, procurement of substitute goods or services; 36 | // loss of use, data, or profits; or business interruption) however caused 37 | // and on any theory of liability, whether in contract, strict liability, 38 | // or tort (including negligence or otherwise) arising in any way out of 39 | // the use of this software, even if advised of the possibility of such damage. 40 | // 41 | //M*/ 42 | 43 | #ifndef OPENCV_WORLD_HPP 44 | #define OPENCV_WORLD_HPP 45 | 46 | #include "opencv2/core.hpp" 47 | 48 | #ifdef __cplusplus 49 | namespace cv 50 | { 51 | 52 | CV_EXPORTS_W bool initAll(); 53 | 54 | } 55 | 56 | #endif 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/async_logger.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | // Very fast asynchronous logger (millions of logs per second on an average 9 | // desktop) 10 | // Uses pre allocated lockfree queue for maximum throughput even under large 11 | // number of threads. 12 | // Creates a single back thread to pop messages from the queue and log them. 13 | // 14 | // Upon each log write the logger: 15 | // 1. Checks if its log level is enough to log the message 16 | // 2. Push a new copy of the message to a queue (or block the caller until 17 | // space is available in the queue) 18 | // 3. will throw spdlog_ex upon log exceptions 19 | // Upon destruction, logs all remaining messages in the queue before 20 | // destructing.. 21 | 22 | #include "spdlog/common.h" 23 | #include "spdlog/logger.h" 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | namespace spdlog { 30 | 31 | // Async overflow policy - block by default. 32 | enum class async_overflow_policy 33 | { 34 | block, // Block until message can be enqueued 35 | overrun_oldest // Discard oldest message in the queue if full when trying to 36 | // add new item. 37 | }; 38 | 39 | namespace details { 40 | class thread_pool; 41 | } 42 | 43 | class async_logger final : public std::enable_shared_from_this, public logger 44 | { 45 | friend class details::thread_pool; 46 | 47 | public: 48 | template 49 | async_logger(std::string logger_name, It begin, It end, std::weak_ptr tp, 50 | async_overflow_policy overflow_policy = async_overflow_policy::block); 51 | 52 | async_logger(std::string logger_name, sinks_init_list sinks_list, std::weak_ptr tp, 53 | async_overflow_policy overflow_policy = async_overflow_policy::block); 54 | 55 | async_logger(std::string logger_name, sink_ptr single_sink, std::weak_ptr tp, 56 | async_overflow_policy overflow_policy = async_overflow_policy::block); 57 | 58 | std::shared_ptr clone(std::string new_name) override; 59 | 60 | protected: 61 | void sink_it_(details::log_msg &msg) override; 62 | void flush_() override; 63 | 64 | void backend_log_(const details::log_msg &incoming_log_msg); 65 | void backend_flush_(); 66 | 67 | private: 68 | std::weak_ptr thread_pool_; 69 | async_overflow_policy overflow_policy_; 70 | }; 71 | } // namespace spdlog 72 | 73 | #include "details/async_logger_impl.h" 74 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/details/circular_q.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2018 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | // cirucal q view of std::vector. 7 | #pragma once 8 | 9 | #include 10 | 11 | namespace spdlog { 12 | namespace details { 13 | template 14 | class circular_q 15 | { 16 | public: 17 | using item_type = T; 18 | 19 | explicit circular_q(size_t max_items) 20 | : max_items_(max_items + 1) // one item is reserved as marker for full q 21 | , v_(max_items_) 22 | { 23 | } 24 | 25 | // push back, overrun (oldest) item if no room left 26 | void push_back(T &&item) 27 | { 28 | v_[tail_] = std::move(item); 29 | tail_ = (tail_ + 1) % max_items_; 30 | 31 | if (tail_ == head_) // overrun last item if full 32 | { 33 | head_ = (head_ + 1) % max_items_; 34 | ++overrun_counter_; 35 | } 36 | } 37 | 38 | // Pop item from front. 39 | // If there are no elements in the container, the behavior is undefined. 40 | void pop_front(T &popped_item) 41 | { 42 | popped_item = std::move(v_[head_]); 43 | head_ = (head_ + 1) % max_items_; 44 | } 45 | 46 | bool empty() 47 | { 48 | return tail_ == head_; 49 | } 50 | 51 | bool full() 52 | { 53 | // head is ahead of the tail by 1 54 | return ((tail_ + 1) % max_items_) == head_; 55 | } 56 | 57 | size_t overrun_counter() const 58 | { 59 | return overrun_counter_; 60 | } 61 | 62 | private: 63 | size_t max_items_; 64 | typename std::vector::size_type head_ = 0; 65 | typename std::vector::size_type tail_ = 0; 66 | 67 | std::vector v_; 68 | 69 | size_t overrun_counter_ = 0; 70 | }; 71 | } // namespace details 72 | } // namespace spdlog 73 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/details/console_globals.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // 3 | // Copyright(c) 2018 Gabi Melman. 4 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 5 | // 6 | 7 | #include "spdlog/details/null_mutex.h" 8 | #include 9 | #include 10 | 11 | #ifdef _WIN32 12 | 13 | #ifndef NOMINMAX 14 | #define NOMINMAX // prevent windows redefining min/max 15 | #endif 16 | 17 | #ifndef WIN32_LEAN_AND_MEAN 18 | #define WIN32_LEAN_AND_MEAN 19 | #endif 20 | 21 | #include 22 | #endif 23 | 24 | namespace spdlog { 25 | namespace details { 26 | struct console_stdout 27 | { 28 | static std::FILE *stream() 29 | { 30 | return stdout; 31 | } 32 | #ifdef _WIN32 33 | static HANDLE handle() 34 | { 35 | return ::GetStdHandle(STD_OUTPUT_HANDLE); 36 | } 37 | #endif 38 | }; 39 | 40 | struct console_stderr 41 | { 42 | static std::FILE *stream() 43 | { 44 | return stderr; 45 | } 46 | #ifdef _WIN32 47 | static HANDLE handle() 48 | { 49 | return ::GetStdHandle(STD_ERROR_HANDLE); 50 | } 51 | #endif 52 | }; 53 | 54 | struct console_mutex 55 | { 56 | using mutex_t = std::mutex; 57 | static mutex_t &mutex() 58 | { 59 | static mutex_t s_mutex; 60 | return s_mutex; 61 | } 62 | }; 63 | 64 | struct console_nullmutex 65 | { 66 | using mutex_t = null_mutex; 67 | static mutex_t &mutex() 68 | { 69 | static mutex_t s_mutex; 70 | return s_mutex; 71 | } 72 | }; 73 | } // namespace details 74 | } // namespace spdlog 75 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/details/log_msg.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #include "spdlog/common.h" 9 | #include "spdlog/details/os.h" 10 | 11 | #include 12 | #include 13 | 14 | namespace spdlog { 15 | namespace details { 16 | struct log_msg 17 | { 18 | 19 | log_msg(source_loc loc, const std::string *loggers_name, level::level_enum lvl, string_view_t view) 20 | : logger_name(loggers_name) 21 | , level(lvl) 22 | #ifndef SPDLOG_NO_DATETIME 23 | , time(os::now()) 24 | #endif 25 | 26 | #ifndef SPDLOG_NO_THREAD_ID 27 | , thread_id(os::thread_id()) 28 | #endif 29 | , source(loc) 30 | , payload(view) 31 | { 32 | } 33 | 34 | log_msg(const std::string *loggers_name, level::level_enum lvl, string_view_t view) 35 | : log_msg(source_loc{}, loggers_name, lvl, view) 36 | { 37 | } 38 | 39 | log_msg(const log_msg &other) = default; 40 | 41 | const std::string *logger_name{nullptr}; 42 | level::level_enum level{level::off}; 43 | log_clock::time_point time; 44 | size_t thread_id{0}; 45 | size_t msg_id{0}; 46 | 47 | // wrapping the formatted text with color (updated by pattern_formatter). 48 | mutable size_t color_range_start{0}; 49 | mutable size_t color_range_end{0}; 50 | 51 | source_loc source; 52 | const string_view_t payload; 53 | }; 54 | } // namespace details 55 | } // namespace spdlog 56 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/details/null_mutex.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #include 9 | // null, no cost dummy "mutex" and dummy "atomic" int 10 | 11 | namespace spdlog { 12 | namespace details { 13 | struct null_mutex 14 | { 15 | void lock() {} 16 | void unlock() {} 17 | bool try_lock() 18 | { 19 | return true; 20 | } 21 | }; 22 | 23 | struct null_atomic_int 24 | { 25 | int value; 26 | null_atomic_int() = default; 27 | 28 | explicit null_atomic_int(int val) 29 | : value(val) 30 | { 31 | } 32 | 33 | int load(std::memory_order) const 34 | { 35 | return value; 36 | } 37 | 38 | void store(int val) 39 | { 40 | value = val; 41 | } 42 | }; 43 | 44 | } // namespace details 45 | } // namespace spdlog 46 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/details/periodic_worker.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // Copyright(c) 2018 Gabi Melman. 4 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 5 | // 6 | 7 | #pragma once 8 | 9 | // periodic worker thread - periodically executes the given callback function. 10 | // 11 | // RAII over the owned thread: 12 | // creates the thread on construction. 13 | // stops and joins the thread on destruction (if the thread is executing a callback, wait for it to finish first). 14 | 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | namespace spdlog { 21 | namespace details { 22 | 23 | class periodic_worker 24 | { 25 | public: 26 | periodic_worker(const std::function &callback_fun, std::chrono::seconds interval) 27 | { 28 | active_ = (interval > std::chrono::seconds::zero()); 29 | if (!active_) 30 | { 31 | return; 32 | } 33 | 34 | worker_thread_ = std::thread([this, callback_fun, interval]() { 35 | for (;;) 36 | { 37 | std::unique_lock lock(this->mutex_); 38 | if (this->cv_.wait_for(lock, interval, [this] { return !this->active_; })) 39 | { 40 | return; // active_ == false, so exit this thread 41 | } 42 | callback_fun(); 43 | } 44 | }); 45 | } 46 | 47 | periodic_worker(const periodic_worker &) = delete; 48 | periodic_worker &operator=(const periodic_worker &) = delete; 49 | 50 | // stop the worker thread and join it 51 | ~periodic_worker() 52 | { 53 | if (worker_thread_.joinable()) 54 | { 55 | { 56 | std::lock_guard lock(mutex_); 57 | active_ = false; 58 | } 59 | cv_.notify_one(); 60 | worker_thread_.join(); 61 | } 62 | } 63 | 64 | private: 65 | bool active_; 66 | std::thread worker_thread_; 67 | std::mutex mutex_; 68 | std::condition_variable cv_; 69 | }; 70 | } // namespace details 71 | } // namespace spdlog 72 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/fmt/bundled/LICENSE.rst: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 - 2016, Victor Zverovich 2 | 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, this 9 | list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 15 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 16 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 17 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 18 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 19 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 20 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 21 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 23 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/fmt/fmt.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2016-2018 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | // 9 | // Include a bundled header-only copy of fmtlib or an external one. 10 | // By default spdlog include its own copy. 11 | // 12 | 13 | #if !defined(SPDLOG_FMT_EXTERNAL) 14 | #ifndef FMT_HEADER_ONLY 15 | #define FMT_HEADER_ONLY 16 | #endif 17 | #ifndef FMT_USE_WINDOWS_H 18 | #define FMT_USE_WINDOWS_H 0 19 | #endif 20 | #include "bundled/core.h" 21 | #include "bundled/format.h" 22 | #else // external fmtlib 23 | #include 24 | #include 25 | #endif 26 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/fmt/ostr.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2016 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | // 8 | // include bundled or external copy of fmtlib's ostream support 9 | // 10 | #if !defined(SPDLOG_FMT_EXTERNAL) 11 | #ifndef FMT_HEADER_ONLY 12 | #define FMT_HEADER_ONLY 13 | #endif 14 | #include "bundled/ostream.h" 15 | #include "fmt.h" 16 | #else 17 | #include 18 | #endif 19 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/formatter.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #include "fmt/fmt.h" 9 | #include "spdlog/details/log_msg.h" 10 | 11 | namespace spdlog { 12 | 13 | class formatter 14 | { 15 | public: 16 | virtual ~formatter() = default; 17 | virtual void format(const details::log_msg &msg, fmt::memory_buffer &dest) = 0; 18 | virtual std::unique_ptr clone() const = 0; 19 | }; 20 | } // namespace spdlog 21 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/base_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | // 8 | // base sink templated over a mutex (either dummy or real) 9 | // concrete implementation should override the sink_it_() and flush_() methods. 10 | // locking is taken care of in this class - no locking needed by the 11 | // implementers.. 12 | // 13 | 14 | #include "spdlog/common.h" 15 | #include "spdlog/details/log_msg.h" 16 | #include "spdlog/formatter.h" 17 | #include "spdlog/sinks/sink.h" 18 | 19 | namespace spdlog { 20 | namespace sinks { 21 | template 22 | class base_sink : public sink 23 | { 24 | public: 25 | base_sink() = default; 26 | base_sink(const base_sink &) = delete; 27 | base_sink &operator=(const base_sink &) = delete; 28 | 29 | void log(const details::log_msg &msg) final 30 | { 31 | std::lock_guard lock(mutex_); 32 | sink_it_(msg); 33 | } 34 | 35 | void flush() final 36 | { 37 | std::lock_guard lock(mutex_); 38 | flush_(); 39 | } 40 | 41 | void set_pattern(const std::string &pattern) final 42 | { 43 | std::lock_guard lock(mutex_); 44 | set_pattern_(pattern); 45 | } 46 | 47 | void set_formatter(std::unique_ptr sink_formatter) final 48 | { 49 | std::lock_guard lock(mutex_); 50 | set_formatter_(std::move(sink_formatter)); 51 | } 52 | 53 | protected: 54 | virtual void sink_it_(const details::log_msg &msg) = 0; 55 | virtual void flush_() = 0; 56 | 57 | virtual void set_pattern_(const std::string &pattern) 58 | { 59 | set_formatter_(details::make_unique(pattern)); 60 | } 61 | 62 | virtual void set_formatter_(std::unique_ptr sink_formatter) 63 | { 64 | formatter_ = std::move(sink_formatter); 65 | } 66 | Mutex mutex_; 67 | }; 68 | } // namespace sinks 69 | } // namespace spdlog 70 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/basic_file_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015-2018 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #include "spdlog/details/file_helper.h" 13 | #include "spdlog/details/null_mutex.h" 14 | #include "spdlog/sinks/base_sink.h" 15 | 16 | #include 17 | #include 18 | 19 | namespace spdlog { 20 | namespace sinks { 21 | /* 22 | * Trivial file sink with single file as target 23 | */ 24 | template 25 | class basic_file_sink final : public base_sink 26 | { 27 | public: 28 | explicit basic_file_sink(const filename_t &filename, bool truncate = false) 29 | { 30 | file_helper_.open(filename, truncate); 31 | } 32 | 33 | const filename_t &filename() const 34 | { 35 | return file_helper_.filename(); 36 | } 37 | 38 | protected: 39 | void sink_it_(const details::log_msg &msg) override 40 | { 41 | fmt::memory_buffer formatted; 42 | sink::formatter_->format(msg, formatted); 43 | file_helper_.write(formatted); 44 | } 45 | 46 | void flush_() override 47 | { 48 | file_helper_.flush(); 49 | } 50 | 51 | private: 52 | details::file_helper file_helper_; 53 | }; 54 | 55 | using basic_file_sink_mt = basic_file_sink; 56 | using basic_file_sink_st = basic_file_sink; 57 | 58 | } // namespace sinks 59 | 60 | // 61 | // factory functions 62 | // 63 | template 64 | inline std::shared_ptr basic_logger_mt(const std::string &logger_name, const filename_t &filename, bool truncate = false) 65 | { 66 | return Factory::template create(logger_name, filename, truncate); 67 | } 68 | 69 | template 70 | inline std::shared_ptr basic_logger_st(const std::string &logger_name, const filename_t &filename, bool truncate = false) 71 | { 72 | return Factory::template create(logger_name, filename, truncate); 73 | } 74 | 75 | } // namespace spdlog 76 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/dist_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2015 David Schury, Gabi Melman 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #include "base_sink.h" 13 | #include "spdlog/details/log_msg.h" 14 | #include "spdlog/details/null_mutex.h" 15 | 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | // Distribution sink (mux). Stores a vector of sinks which get called when log 22 | // is called 23 | 24 | namespace spdlog { 25 | namespace sinks { 26 | 27 | template 28 | class dist_sink : public base_sink 29 | { 30 | public: 31 | dist_sink() = default; 32 | dist_sink(const dist_sink &) = delete; 33 | dist_sink &operator=(const dist_sink &) = delete; 34 | 35 | void add_sink(std::shared_ptr sink) 36 | { 37 | std::lock_guard lock(base_sink::mutex_); 38 | sinks_.push_back(sink); 39 | } 40 | 41 | void remove_sink(std::shared_ptr sink) 42 | { 43 | std::lock_guard lock(base_sink::mutex_); 44 | sinks_.erase(std::remove(sinks_.begin(), sinks_.end(), sink), sinks_.end()); 45 | } 46 | 47 | void set_sinks(std::vector> sinks) 48 | { 49 | std::lock_guard lock(base_sink::mutex_); 50 | sinks_ = std::move(sinks); 51 | } 52 | 53 | protected: 54 | void sink_it_(const details::log_msg &msg) override 55 | { 56 | 57 | for (auto &sink : sinks_) 58 | { 59 | if (sink->should_log(msg.level)) 60 | { 61 | sink->log(msg); 62 | } 63 | } 64 | } 65 | 66 | void flush_() override 67 | { 68 | for (auto &sink : sinks_) 69 | { 70 | sink->flush(); 71 | } 72 | } 73 | 74 | void set_pattern_(const std::string &pattern) override 75 | { 76 | set_formatter_(details::make_unique(pattern)); 77 | } 78 | 79 | void set_formatter_(std::unique_ptr sink_formatter) override 80 | { 81 | base_sink::formatter_ = std::move(sink_formatter); 82 | for (auto &sink : sinks_) 83 | { 84 | sink->set_formatter(base_sink::formatter_->clone()); 85 | } 86 | } 87 | std::vector> sinks_; 88 | }; 89 | 90 | using dist_sink_mt = dist_sink; 91 | using dist_sink_st = dist_sink; 92 | 93 | } // namespace sinks 94 | } // namespace spdlog 95 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/msvc_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2016 Alexander Dalshov. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #if defined(_WIN32) 13 | 14 | #include "spdlog/details/null_mutex.h" 15 | #include "spdlog/sinks/base_sink.h" 16 | 17 | #include 18 | 19 | #include 20 | #include 21 | 22 | namespace spdlog { 23 | namespace sinks { 24 | /* 25 | * MSVC sink (logging using OutputDebugStringA) 26 | */ 27 | template 28 | class msvc_sink : public base_sink 29 | { 30 | public: 31 | explicit msvc_sink() {} 32 | 33 | protected: 34 | void sink_it_(const details::log_msg &msg) override 35 | { 36 | 37 | fmt::memory_buffer formatted; 38 | sink::formatter_->format(msg, formatted); 39 | OutputDebugStringA(fmt::to_string(formatted).c_str()); 40 | } 41 | 42 | void flush_() override {} 43 | }; 44 | 45 | using msvc_sink_mt = msvc_sink; 46 | using msvc_sink_st = msvc_sink; 47 | 48 | using windebug_sink_mt = msvc_sink_mt; 49 | using windebug_sink_st = msvc_sink_st; 50 | 51 | } // namespace sinks 52 | } // namespace spdlog 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/null_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #include "spdlog/details/null_mutex.h" 13 | #include "spdlog/sinks/base_sink.h" 14 | 15 | #include 16 | 17 | namespace spdlog { 18 | namespace sinks { 19 | 20 | template 21 | class null_sink : public base_sink 22 | { 23 | protected: 24 | void sink_it_(const details::log_msg &) override {} 25 | void flush_() override {} 26 | }; 27 | 28 | using null_sink_mt = null_sink; 29 | using null_sink_st = null_sink; 30 | 31 | } // namespace sinks 32 | 33 | template 34 | inline std::shared_ptr null_logger_mt(const std::string &logger_name) 35 | { 36 | auto null_logger = Factory::template create(logger_name); 37 | null_logger->set_level(level::off); 38 | return null_logger; 39 | } 40 | 41 | template 42 | inline std::shared_ptr null_logger_st(const std::string &logger_name) 43 | { 44 | auto null_logger = Factory::template create(logger_name); 45 | null_logger->set_level(level::off); 46 | return null_logger; 47 | } 48 | 49 | } // namespace spdlog 50 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/ostream_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #include "spdlog/details/null_mutex.h" 13 | #include "spdlog/sinks/base_sink.h" 14 | 15 | #include 16 | #include 17 | 18 | namespace spdlog { 19 | namespace sinks { 20 | template 21 | class ostream_sink final : public base_sink 22 | { 23 | public: 24 | explicit ostream_sink(std::ostream &os, bool force_flush = false) 25 | : ostream_(os) 26 | , force_flush_(force_flush) 27 | { 28 | } 29 | ostream_sink(const ostream_sink &) = delete; 30 | ostream_sink &operator=(const ostream_sink &) = delete; 31 | 32 | protected: 33 | void sink_it_(const details::log_msg &msg) override 34 | { 35 | fmt::memory_buffer formatted; 36 | sink::formatter_->format(msg, formatted); 37 | ostream_.write(formatted.data(), static_cast(formatted.size())); 38 | if (force_flush_) 39 | { 40 | ostream_.flush(); 41 | } 42 | } 43 | 44 | void flush_() override 45 | { 46 | ostream_.flush(); 47 | } 48 | 49 | std::ostream &ostream_; 50 | bool force_flush_; 51 | }; 52 | 53 | using ostream_sink_mt = ostream_sink; 54 | using ostream_sink_st = ostream_sink; 55 | 56 | } // namespace sinks 57 | } // namespace spdlog 58 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #include "spdlog/details/log_msg.h" 9 | #include "spdlog/details/pattern_formatter.h" 10 | #include "spdlog/formatter.h" 11 | 12 | namespace spdlog { 13 | namespace sinks { 14 | class sink 15 | { 16 | public: 17 | sink() = default; 18 | 19 | explicit sink(std::unique_ptr formatter) 20 | : formatter_{std::move(formatter)} 21 | { 22 | } 23 | 24 | virtual ~sink() = default; 25 | virtual void log(const details::log_msg &msg) = 0; 26 | virtual void flush() = 0; 27 | virtual void set_pattern(const std::string &pattern) = 0; 28 | virtual void set_formatter(std::unique_ptr sink_formatter) = 0; 29 | 30 | bool should_log(level::level_enum msg_level) const 31 | { 32 | return msg_level >= level_.load(std::memory_order_relaxed); 33 | } 34 | 35 | void set_level(level::level_enum log_level) 36 | { 37 | level_.store(log_level); 38 | } 39 | 40 | level::level_enum level() const 41 | { 42 | return static_cast(level_.load(std::memory_order_relaxed)); 43 | } 44 | 45 | protected: 46 | // sink log level - default is all 47 | level_t level_{level::trace}; 48 | 49 | // sink formatter - default is full format 50 | std::unique_ptr formatter_{details::make_unique()}; 51 | }; 52 | 53 | } // namespace sinks 54 | } // namespace spdlog 55 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/stdout_color_sinks.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2018 spdlog 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #ifdef _WIN32 13 | #include "spdlog/sinks/wincolor_sink.h" 14 | #else 15 | #include "spdlog/sinks/ansicolor_sink.h" 16 | #endif 17 | 18 | namespace spdlog { 19 | namespace sinks { 20 | #ifdef _WIN32 21 | using stdout_color_sink_mt = wincolor_stdout_sink_mt; 22 | using stdout_color_sink_st = wincolor_stdout_sink_st; 23 | using stderr_color_sink_mt = wincolor_stderr_sink_mt; 24 | using stderr_color_sink_st = wincolor_stderr_sink_st; 25 | #else 26 | using stdout_color_sink_mt = ansicolor_stdout_sink_mt; 27 | using stdout_color_sink_st = ansicolor_stdout_sink_st; 28 | using stderr_color_sink_mt = ansicolor_stderr_sink_mt; 29 | using stderr_color_sink_st = ansicolor_stderr_sink_st; 30 | #endif 31 | } // namespace sinks 32 | 33 | template 34 | inline std::shared_ptr stdout_color_mt(const std::string &logger_name, color_mode mode = color_mode::automatic) 35 | { 36 | return Factory::template create(logger_name, mode); 37 | } 38 | 39 | template 40 | inline std::shared_ptr stdout_color_st(const std::string &logger_name, color_mode mode = color_mode::automatic) 41 | { 42 | return Factory::template create(logger_name, mode); 43 | } 44 | 45 | template 46 | inline std::shared_ptr stderr_color_mt(const std::string &logger_name, color_mode mode = color_mode::automatic) 47 | { 48 | return Factory::template create(logger_name, mode); 49 | } 50 | 51 | template 52 | inline std::shared_ptr stderr_color_st(const std::string &logger_name, color_mode mode = color_mode::automatic) 53 | { 54 | return Factory::template create(logger_name, mode); 55 | } 56 | } // namespace spdlog 57 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/sinks/systemd_sink.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2019 ZVYAGIN.Alexander@gmail.com 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef SPDLOG_H 9 | #include "spdlog/spdlog.h" 10 | #endif 11 | 12 | #include "spdlog/sinks/base_sink.h" 13 | 14 | #include 15 | #include 16 | #include 17 | 18 | namespace spdlog { 19 | namespace sinks { 20 | 21 | inline int syslog_level(level::level_enum l) { 22 | switch(l) { 23 | case level::off: 24 | case level::trace: 25 | case level::debug: 26 | return LOG_DEBUG; 27 | case level::info: 28 | return LOG_INFO; 29 | case level::warn: 30 | return LOG_WARNING; 31 | case level::err: 32 | return LOG_ERR; 33 | case level::critical: 34 | return LOG_CRIT; 35 | default: 36 | throw std::invalid_argument("systemd_sink.h syslog_level()"); 37 | } 38 | } 39 | 40 | /** 41 | * Sink that write to systemd using the `sd_journal_print()` library call. 42 | * 43 | * Locking is not needed, as `sd_journal_print()` itself is thread-safe. 44 | */ 45 | template 46 | class systemd_sink : public base_sink 47 | { 48 | public: 49 | // 50 | explicit systemd_sink(void) {} 51 | 52 | ~systemd_sink() override {} 53 | 54 | systemd_sink(const systemd_sink &) = delete; 55 | systemd_sink &operator=(const systemd_sink &) = delete; 56 | 57 | protected: 58 | void sink_it_(const details::log_msg &msg) override 59 | { 60 | if( sd_journal_print( 61 | syslog_level(msg.level), 62 | "%.*s", 63 | static_cast(msg.payload.size()), 64 | msg.payload.data() 65 | ) 66 | ) 67 | throw spdlog_ex("Failed writing to systemd"); 68 | } 69 | 70 | void flush_() override {} 71 | }; 72 | 73 | using systemd_sink_mt = systemd_sink; 74 | using systemd_sink_st = systemd_sink; 75 | } // namespace sinks 76 | 77 | // Create and register a syslog logger 78 | template 79 | inline std::shared_ptr systemd_logger_mt( 80 | const std::string &logger_name) 81 | { 82 | return Factory::template create(logger_name); 83 | } 84 | 85 | template 86 | inline std::shared_ptr systemd_logger_st( 87 | const std::string &logger_name) 88 | { 89 | return Factory::template create(logger_name); 90 | } 91 | } // namespace spdlog 92 | -------------------------------------------------------------------------------- /Project/depends/spdlog/include/spdlog/version.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright(c) 2015 Gabi Melman. 3 | // Distributed under the MIT License (http://opensource.org/licenses/MIT) 4 | // 5 | 6 | #pragma once 7 | 8 | #define SPDLOG_VER_MAJOR 1 9 | #define SPDLOG_VER_MINOR 3 10 | #define SPDLOG_VER_PATCH 1 11 | 12 | #define SPDLOG_VERSION (SPDLOG_VER_MAJOR * 10000 + SPDLOG_VER_MINOR * 100 + SPDLOG_VER_PATCH) 13 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Cancel.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Full.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Max.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Option.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Option.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Resume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/Edit_Resume.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/img_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/img_black.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/img_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/edit/img_white.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/Close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/Close.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/New.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/New.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/Open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/Open.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/Save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/Save.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/SaveAs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/file/SaveAs.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Center.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Default.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Enlarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Enlarge.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_EnlargeReduce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_EnlargeReduce.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Flip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Flip.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_FlipX.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_FlipX.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_FlipY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_FlipY.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Reduce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Reduce.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Rotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_Rotate.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_RotateCenter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_RotateCenter.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_RotateLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_RotateLeft.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_RotateRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/geom/Geom_RotateRight.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Bin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Bin.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Gamma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Gamma.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Gray.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Histeq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Histeq.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Linear.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Log.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Nolinear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Nolinear.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Reverse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/gray/Gray_Reverse.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/help/Help_Info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/help/Help_Info.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/2.ico -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/2.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/3.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/ImageProcessing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/ImageProcessing.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/icon/icon.ico -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Circle.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Cut.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Elipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Elipse.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Hexagon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Hexagon.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Line.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Octagon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Octagon.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Painbrush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Painbrush.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Rectangle.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Rhombus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Rhombus.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Square.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/toolbox/Triangle.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Image/view/Check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Image/view/Check.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26430.16 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImageProcessing", "ImageProcessing\ImageProcessing.vcxproj", "{B12702AD-ABFB-343A-A199-8E24837244A3}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Release|x64 = Release|x64 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.ActiveCfg = Debug|x64 15 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.Build.0 = Debug|x64 16 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.ActiveCfg = Release|x64 17 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.Build.0 = Release|x64 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/GeneratedFiles/Debug/moc_PaintWidget.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'PaintWidget.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../header/PaintWidget.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'PaintWidget.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.9.2. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_PaintWidget_t { 24 | QByteArrayData data[1]; 25 | char stringdata0[12]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_PaintWidget_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_PaintWidget_t qt_meta_stringdata_PaintWidget = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 11) // "PaintWidget" 35 | 36 | }, 37 | "PaintWidget" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_PaintWidget[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 0, 0, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | 0 // eod 55 | }; 56 | 57 | void PaintWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 58 | { 59 | Q_UNUSED(_o); 60 | Q_UNUSED(_id); 61 | Q_UNUSED(_c); 62 | Q_UNUSED(_a); 63 | } 64 | 65 | const QMetaObject PaintWidget::staticMetaObject = { 66 | { &QLabel::staticMetaObject, qt_meta_stringdata_PaintWidget.data, 67 | qt_meta_data_PaintWidget, qt_static_metacall, nullptr, nullptr} 68 | }; 69 | 70 | 71 | const QMetaObject *PaintWidget::metaObject() const 72 | { 73 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 74 | } 75 | 76 | void *PaintWidget::qt_metacast(const char *_clname) 77 | { 78 | if (!_clname) return nullptr; 79 | if (!strcmp(_clname, qt_meta_stringdata_PaintWidget.stringdata0)) 80 | return static_cast(this); 81 | return QLabel::qt_metacast(_clname); 82 | } 83 | 84 | int PaintWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 85 | { 86 | _id = QLabel::qt_metacall(_c, _id, _a); 87 | return _id; 88 | } 89 | QT_WARNING_POP 90 | QT_END_MOC_NAMESPACE 91 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/GeneratedFiles/Release/moc_PaintWidget.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'PaintWidget.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../header/PaintWidget.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'PaintWidget.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.9.2. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_PaintWidget_t { 24 | QByteArrayData data[1]; 25 | char stringdata0[12]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_PaintWidget_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_PaintWidget_t qt_meta_stringdata_PaintWidget = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 11) // "PaintWidget" 35 | 36 | }, 37 | "PaintWidget" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_PaintWidget[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 0, 0, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | 0 // eod 55 | }; 56 | 57 | void PaintWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 58 | { 59 | Q_UNUSED(_o); 60 | Q_UNUSED(_id); 61 | Q_UNUSED(_c); 62 | Q_UNUSED(_a); 63 | } 64 | 65 | const QMetaObject PaintWidget::staticMetaObject = { 66 | { &QLabel::staticMetaObject, qt_meta_stringdata_PaintWidget.data, 67 | qt_meta_data_PaintWidget, qt_static_metacall, nullptr, nullptr} 68 | }; 69 | 70 | 71 | const QMetaObject *PaintWidget::metaObject() const 72 | { 73 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 74 | } 75 | 76 | void *PaintWidget::qt_metacast(const char *_clname) 77 | { 78 | if (!_clname) return nullptr; 79 | if (!strcmp(_clname, qt_meta_stringdata_PaintWidget.stringdata0)) 80 | return static_cast(this); 81 | return QLabel::qt_metacast(_clname); 82 | } 83 | 84 | int PaintWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 85 | { 86 | _id = QLabel::qt_metacall(_c, _id, _a); 87 | return _id; 88 | } 89 | QT_WARNING_POP 90 | QT_END_MOC_NAMESPACE 91 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/GeneratedFiles/ui_ImageProcessing.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'ImageProcessing.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.9.2 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_IMAGEPROCESSING_H 10 | #define UI_IMAGEPROCESSING_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | 23 | QT_BEGIN_NAMESPACE 24 | 25 | class Ui_ImageProcessingClass 26 | { 27 | public: 28 | QMenuBar *menuBar; 29 | QToolBar *mainToolBar; 30 | QWidget *centralWidget; 31 | QStatusBar *statusBar; 32 | 33 | void setupUi(QMainWindow *ImageProcessingClass) 34 | { 35 | if (ImageProcessingClass->objectName().isEmpty()) 36 | ImageProcessingClass->setObjectName(QStringLiteral("ImageProcessingClass")); 37 | ImageProcessingClass->resize(600, 400); 38 | menuBar = new QMenuBar(ImageProcessingClass); 39 | menuBar->setObjectName(QStringLiteral("menuBar")); 40 | ImageProcessingClass->setMenuBar(menuBar); 41 | mainToolBar = new QToolBar(ImageProcessingClass); 42 | mainToolBar->setObjectName(QStringLiteral("mainToolBar")); 43 | ImageProcessingClass->addToolBar(mainToolBar); 44 | centralWidget = new QWidget(ImageProcessingClass); 45 | centralWidget->setObjectName(QStringLiteral("centralWidget")); 46 | ImageProcessingClass->setCentralWidget(centralWidget); 47 | statusBar = new QStatusBar(ImageProcessingClass); 48 | statusBar->setObjectName(QStringLiteral("statusBar")); 49 | ImageProcessingClass->setStatusBar(statusBar); 50 | 51 | retranslateUi(ImageProcessingClass); 52 | 53 | QMetaObject::connectSlotsByName(ImageProcessingClass); 54 | } // setupUi 55 | 56 | void retranslateUi(QMainWindow *ImageProcessingClass) 57 | { 58 | ImageProcessingClass->setWindowTitle(QApplication::translate("ImageProcessingClass", "ImageProcessing", Q_NULLPTR)); 59 | } // retranslateUi 60 | 61 | }; 62 | 63 | namespace Ui { 64 | class ImageProcessingClass: public Ui_ImageProcessingClass {}; 65 | } // namespace Ui 66 | 67 | QT_END_NAMESPACE 68 | 69 | #endif // UI_IMAGEPROCESSING_H 70 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.aps -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.pro: -------------------------------------------------------------------------------- 1 | # ---------------------------------------------------- 2 | # This file is generated by the Qt Visual Studio Tools. 3 | # ------------------------------------------------------ 4 | 5 | TEMPLATE = app 6 | TARGET = ImageProcessing 7 | DESTDIR = ../x64/Debug 8 | QT += core widgets gui 9 | CONFIG += debug 10 | DEFINES += _UNICODE WIN64 QT_DLL QT_WIDGETS_LIB 11 | 12 | 13 | INCLUDEPATH += F:\OpenCV\opencv_3.3.0_VS2017_x64\install\include 14 | INCLUDEPATH += F:\OpenCV\opencv_3.3.0_VS2017_x64\install\include 15 | INCLUDEPATH += F:\OpenCV\opencv_3.3.0_VS2017_x64\install\include 16 | 17 | INCLUDEPATH += ./GeneratedFiles \ 18 | . \ 19 | ./GeneratedFiles/Debug 20 | 21 | 22 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_world330d.lib 23 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_core330d.lib 24 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_dnn330d.lib 25 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_features2d330d.lib 26 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_flann330d.lib 27 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_highgui330d.lib 28 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_imgcodecs330d.lib 29 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_imgproc330d.lib 30 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_ml330d.lib 31 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_objdetect330d.lib 32 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_photo330d.lib 33 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_shape330d.lib 34 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_calib3d330d.lib 35 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_stitching330d.lib 36 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_superres330d.lib 37 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_video330d.lib 38 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_videoio330d.lib 39 | LIBS+=F:\OpenCV\opencv_3.3.0_VS2017_x64\install\x64\vc15\lib\opencv_videostab330d.lib 40 | 41 | LIBS += -lopencv_world330d \ 42 | -lopencv_core330d \ 43 | -lopencv_dnn330d \ 44 | -lopencv_features2d330d \ 45 | -lopencv_flann330d \ 46 | -lopencv_highgui330d \ 47 | -lopencv_imgcodecs330d \ 48 | -lopencv_imgproc330d \ 49 | -lopencv_ml330d \ 50 | -lopencv_objdetect330d \ 51 | -lopencv_photo330d \ 52 | -lopencv_shape330d \ 53 | -lopencv_calib3d330d \ 54 | -lopencv_stitching330d \ 55 | -lopencv_superres330d \ 56 | -lopencv_video330d \ 57 | -lopencv_videoio330d \ 58 | -lopencv_videostab330d 59 | 60 | 61 | 62 | 63 | DEPENDPATH += . 64 | MOC_DIR += ./GeneratedFiles/debug 65 | OBJECTS_DIR += debug 66 | UI_DIR += ./GeneratedFiles 67 | RCC_DIR += ./GeneratedFiles -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.rc -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.ui: -------------------------------------------------------------------------------- 1 | 2 | ImageProcessingClass 3 | 4 | 5 | ImageProcessingClass 6 | 7 | 8 | 9 | 0 10 | 0 11 | 600 12 | 400 13 | 14 | 15 | 16 | ImageProcessing 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/ImageProcessing.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | F:\QT\5.9.2\msvc2017_64 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | F:\QT\5.9.2\msvc2017_64 10 | PATH=$(QTDIR)\bin%3b$(PATH) 11 | 12 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/cpp/CustomWindow.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include "header/CustomWindow.h" 6 | 7 | CustomWindow::CustomWindow(QWidget *parent) 8 | { 9 | mMoveing = false; 10 | //Qt::FramelessWindowHint 无边框 11 | //Qt::WindowStaysOnTopHint 窗口在最顶端,不会拖到任务栏下面 12 | setWindowFlags(Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint | Qt::WindowStaysOnTopHint); 13 | } 14 | CustomWindow::~CustomWindow() 15 | { 16 | } 17 | 18 | //重写鼠标按下事件 19 | void CustomWindow::mousePressEvent(QMouseEvent *event) 20 | { 21 | mMoveing = true; 22 | //记录下鼠标相对于窗口的位置 23 | //event->globalPos()鼠标按下时,鼠标相对于整个屏幕位置 24 | //pos() this->pos()鼠标按下时,窗口相对于整个屏幕位置 25 | mMovePosition = event->globalPos() - pos(); 26 | return QDialog::mousePressEvent(event); 27 | } 28 | 29 | //重写鼠标移动事件 30 | void CustomWindow::mouseMoveEvent(QMouseEvent *event) 31 | { 32 | //(event->buttons() && Qt::LeftButton)按下是左键 33 | //鼠标移动事件需要移动窗口,窗口移动到哪里呢?就是要获取鼠标移动中,窗口在整个屏幕的坐标,然后move到这个坐标,怎么获取坐标? 34 | //通过事件event->globalPos()知道鼠标坐标,鼠标坐标减去鼠标相对于窗口位置,就是窗口在整个屏幕的坐标 35 | if (mMoveing && (event->buttons() && Qt::LeftButton) 36 | && (event->globalPos() - mMovePosition).manhattanLength() > QApplication::startDragDistance()) 37 | { 38 | move(event->globalPos() - mMovePosition); 39 | mMovePosition = event->globalPos() - pos(); 40 | } 41 | return QDialog::mouseMoveEvent(event); 42 | } 43 | void CustomWindow::mouseReleaseEvent(QMouseEvent *event) 44 | { 45 | mMoveing = false; 46 | } -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/cpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include "header/MainWindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | ImageProcessing w; 8 | w.show(); 9 | return a.exec(); 10 | } 11 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/CreateMenu.h: -------------------------------------------------------------------------------- 1 | #ifndef CREATEMENU_H 2 | #define CREATEMENU_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | #include "opencv2/highgui/highgui.hpp" 10 | #include "opencv2/opencv.hpp" 11 | #include 12 | 13 | #include "header/MainWindow.h" 14 | #include "header/CustomWindow.h" 15 | class ImageProcessing; 16 | 17 | using namespace cv; 18 | 19 | 20 | class Menu : public QMenuBar 21 | { 22 | Q_OBJECT 23 | 24 | public: 25 | Menu(QWidget *parent, ImageProcessing *p); 26 | ~Menu(); 27 | 28 | CustomWindow *helpWin; 29 | QAction *Act_view_tool, *Act_view_image,*Act_view_geom, *Act_view_gray, *Act_view_enhance, *Act_view_morp, 30 | *Act_view_color, *Act_view_output, *Act_view_prop, *Act_edit_file, *Act_edit_paint; 31 | QAction *Act_edit_undo, *Act_edit_redo, *Act_help_option; 32 | void setMenuQSS(bool); // 设置二级菜单的QSS 33 | 34 | private slots : 35 | // 界面目录 36 | void File_new(); // 新建 37 | void File_open(); // 打开 38 | void File_save(); // 保存 39 | void File_saveas(); // 另存为 40 | 41 | void View_output(); 42 | void View_tool(); 43 | void View_geom(); 44 | void View_gray(); 45 | void View_enhance(); 46 | void View_morp(); 47 | void View_color(); 48 | void View_image(); 49 | void View_prop(); 50 | void View_fileBar(); 51 | void View_colorBar(); 52 | void Help_info(); 53 | 54 | private: 55 | ImageProcessing *I_MainWindow; 56 | QToolBar *I_ToolBar; 57 | QString currentPath; // 当前图像路径 58 | void setSubMenu(QMenu *menu, bool flag); // 设置qss 59 | 60 | void Menu_File(); // 文件菜单 61 | void Menu_Edit(); // 编辑菜单 62 | void Menu_View(); // 视图菜单 63 | void Menu_Geom(); // 几何变换 64 | void Menu_Gray(); // 灰度变换 65 | void Menu_Enhance(); // 图像增强 66 | void Menu_Morp(); // 形态学 67 | void Menu_Color(); // 颜色模型 68 | void Menu_Help(); // 帮助菜单 69 | 70 | // 二级菜单 71 | QMenu *menu_resize, *menu_rotate, *menu_flip, *menu_nolinear, *menu_detect, *menu_smooth, *menu_sharpen; 72 | QMenu *menu_RGB, *menu_HSV, *menu_YUV, *menu_HLS; 73 | }; 74 | 75 | #endif 76 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/CustomWindow.h: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMWINDOW_H 2 | #define CUSTOMWINDOW_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | class CustomWindow : public QDialog 10 | { 11 | Q_OBJECT 12 | 13 | public: 14 | CustomWindow(QWidget *parent = 0); 15 | ~CustomWindow(); 16 | protected: 17 | virtual void mousePressEvent(QMouseEvent *event); 18 | virtual void mouseMoveEvent(QMouseEvent *event); 19 | virtual void mouseReleaseEvent(QMouseEvent *event); 20 | 21 | private: 22 | bool mMoveing; 23 | QPoint mMovePosition; 24 | }; 25 | 26 | #endif // CUSTOMWINDOW_H -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Enhance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Enhance.h -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Geom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Geom.h -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Gray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Gray.h -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/ImgChange.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/ImgChange.h -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Morp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/Morp.h -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/header/PaintWidget.h: -------------------------------------------------------------------------------- 1 | #ifndef PAINTWIDGET_H 2 | #define PAINTWIDGET_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | class PaintWidget :public QLabel 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit PaintWidget(QWidget *parent = 0); 13 | enum shape { 14 | Pen = 1,Line,Ellipse,Circle, Triangle, Rhombus, 15 | Rect, Square, Hexagon, Null 16 | }; 17 | void paint(QImage &theImage); 18 | void setImage(QImage img); 19 | QImage getImage(); // 外部获取图像 20 | 21 | void setShape(PaintWidget::shape ); // 设置绘制类型 22 | void setPenWidth(int w); // 设置画笔宽度 23 | void setPenColor(QColor c); // 设置画笔颜色 24 | 25 | protected: 26 | void paintEvent(QPaintEvent *); 27 | void mousePressEvent(QMouseEvent *); 28 | void mouseMoveEvent(QMouseEvent *); 29 | void mouseReleaseEvent(QMouseEvent *); 30 | 31 | private: 32 | PaintWidget::shape type; 33 | int penWidth; 34 | QColor penColor; 35 | QImage image; 36 | QImage tempImage; 37 | QPoint lastPoint; 38 | QPoint endPoint; 39 | bool isDrawing; 40 | }; 41 | 42 | #endif// !PAINTWIDGET_H -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ 生成的包含文件。 3 | // 供 ImageProcessing.rc 使用 4 | // 5 | #define IDI_ICON1 101 6 | #define IDI_ICON2 102 7 | #define IDI_ICON3 103 8 | 9 | // Next default values for new objects 10 | // 11 | #ifdef APSTUDIO_INVOKED 12 | #ifndef APSTUDIO_READONLY_SYMBOLS 13 | #define _APS_NEXT_RESOURCE_VALUE 104 14 | #define _APS_NEXT_COMMAND_VALUE 40001 15 | #define _APS_NEXT_CONTROL_VALUE 1001 16 | #define _APS_NEXT_SYMED_VALUE 101 17 | #endif 18 | #endif 19 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.log: -------------------------------------------------------------------------------- 1 |  Uic'ing ImageProcessing.ui... 2 | Moc'ing PaintWidget.h... 3 | Moc'ing MainWindow.h... 4 | Moc'ing CustomWindow.h... 5 | Moc'ing CreateMenu.h... 6 | CreateMenu.cpp 7 | CustomWindow.cpp 8 | Enhance.cpp 9 | Geom.cpp 10 | Gray.cpp 11 | ImgChange.cpp 12 | main.cpp 13 | MainWindow.cpp 14 | Morp.cpp 15 | PaintWidget.cpp 16 | moc_CreateMenu.cpp 17 | moc_CustomWindow.cpp 18 | moc_MainWindow.cpp 19 | moc_PaintWidget.cpp 20 | 正在生成代码... 21 | e:\self-study\qt\imageprogess\imageprocessing\imageprocessing\cpp\paintwidget.cpp(22): warning C4715: “PaintWidget::getImage”: 不是所有的控件路径都返回值 22 | ImageProcessing.vcxproj -> E:\Self-Study\QT\ImageProgess\ImageProcessing\x64\Debug\ImageProcessing.exe 23 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.res -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/ImageProcessing.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.16299.0 2 | Debug|x64|E:\Self-Study\QT\ImageProgess\ImageProcessing\| 3 | -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/custombuild.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/custombuild.command.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/custombuild.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/custombuild.read.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/custombuild.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/custombuild.write.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/rc.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/rc.command.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/rc.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/rc.read.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/rc.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.tlog/rc.write.1.tlog -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/vc141.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/ImageProcessing/x64/Debug/vc141.pdb -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Test/circle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Test/circle.jpg -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Test/lena.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Test/lena.jpg -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Test/pongo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Test/pongo.jpg -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/Test/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/Test/test.jpg -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/qss/black.qss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/qss/black.qss -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.exe -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.ilk -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing/x64/Debug/ImageProcessing.pdb -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/ImageProcessing_lastest.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/ImageProcessing_lastest.exe -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/1.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/10.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/11.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/12.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/13.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/14.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/15.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/16.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/17.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/2.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/3.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/4.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/5.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/6.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/7.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/8.png -------------------------------------------------------------------------------- /Project/doc/Soft/ImageProcessing/fig/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/ImageProcessing/fig/9.png -------------------------------------------------------------------------------- /Project/doc/Soft/SSE_Optimization/Demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/SSE_Optimization/Demo.jpg -------------------------------------------------------------------------------- /Project/doc/Soft/SSE_Optimization/ImageMaster.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/SSE_Optimization/ImageMaster.dll -------------------------------------------------------------------------------- /Project/doc/Soft/SSE_Optimization/Wrapper.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/SSE_Optimization/Wrapper.exe -------------------------------------------------------------------------------- /Project/doc/Soft/imageshop/ImageShop.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/Soft/imageshop/ImageShop.exe -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130135.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130135.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130145.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130145.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130155.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130155.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130203.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130203.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130237.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130237.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130300.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130308.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130308.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130315.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130315.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130336.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130336.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130343.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130343.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130355.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130355.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130403.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130403.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130415.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130415.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130423.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130423.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130430.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130430.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130636.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130636.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130644.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130644.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130656.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130656.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130705.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130705.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_130729.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_130729.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/2019-10-28_160544.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/2019-10-28_160544.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/adjust.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/adjust.png -------------------------------------------------------------------------------- /Project/doc/assets/menu/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SChen1024/ImageTest/0d5b503ad7182b849d323da6191f43b469137e72/Project/doc/assets/menu/edit.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ImageTest 2 | 建立一个图像处理平台,包含图像处理各种算法,实现别人的论文,参考学习 imageShop的软件实现 3 | 4 | 5 | ## 简介 6 | 7 | 受到 大佬 [imageShop](https://www.cnblogs.com/imageshop/) 的启发, 个人学习建立了一个图像处理的平台, 他主要做的是图像增强方向的 SSE 算法的实现, 而且个人实力很强, 个人不是特别厉害,所以 选择使用OpenCV 作为自己的工具, 使用QT作为软件界面开发, 8 | 将常用的图片手段集成进来, 并加入自己看到的部分论文也会加入进来 9 | 10 | 11 | ## 算法目录 12 | 13 | 14 | 15 | ## 参考链接 16 | 17 | 1. [ImageShop blog](https://www.cnblogs.com/imageshop/) 18 | 2. [Photo Demon](https://github.com/tannerhelland/PhotoDemon) 19 | 3. [image Shop](https://www.cnblogs.com/imageshop/archive/2011/11/10/2244664.html) --------------------------------------------------------------------------------