Changeset 147 in pacpussensors
- Timestamp:
- Apr 14, 2017, 5:55:02 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 10 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r143 r147 87 87 add_subdirectory(Vislab) 88 88 add_subdirectory(CameraViewer) 89 add_subdirectory(CameraPlayer) 89 90 90 91 # ======================================== -
trunk/CameraViewer/CMakeLists.txt
r141 r147 76 76 ) 77 77 78 target_compile_definitions(${PROJECT_NAME} PUBLIC OPENCV_MAJOR=${OpenCV_VERSION_MAJOR}) 79 78 80 79 81 # ======================================== -
trunk/CameraViewer/CameraViewerComponent.cpp
r141 r147 1 1 2 2 3 // Includes, project. … … 18 19 using namespace pacpus; 19 20 20 // Declare the logger and register the new component.21 //DECLARE_STATIC_LOGGER("pacpus.component.vislabCamera")22 //REGISTER_COMPONENT(CameraViewerComponent, "Camera");23 21 24 22 ComponentFactory<CameraViewerComponent> sFactory("CameraViewerComponent"); … … 62 60 void CameraViewerComponent::DisplayFrame(cv::Mat const& frame) 63 61 { 64 //getchar();65 //std::cout << getName().toStdString() << std::endl;66 62 cv::imshow(getName().toStdString(), frame); 67 //cv::imshow("Image", frame);68 63 } 69 64 -
trunk/CameraViewer/CameraViewerComponent.hpp
r141 r147 13 13 14 14 // Includes, opencv. 15 #include <opencv2/opencv.hpp> 16 #include <opencv2/highgui.hpp> 15 #if (OPENCV_MAJOR == 3) 16 # include <opencv2/opencv.hpp> 17 # include <opencv2/highgui.hpp> 18 #else 19 # include <opencv/cv.h> 20 # include <opencv/highgui.h> 21 #endif 17 22 18 23 -
trunk/Vislab/CMakeLists.txt
r142 r147 15 15 endif() 16 16 17 17 18 ################################################################################ 18 19 create_export(EXPORT_HDR ${PROJECT_NAME}) … … 26 27 ${PROJECT_BINARY_DIR} 27 28 ${QT_INCLUDE_DIR} 28 29 ${OpenCV_INCLUDE_DIRS} 29 30 ${PACPUS_INCLUDE_DIR} 30 31 ${PACPUS_INCLUDE_DIR}/Pacpus/ 31 32 "C:/Program Files (x86)/lib3dv/include" 32 33 33 34 ) … … 39 40 link_directories( 40 41 ${PACPUS_LIB_DIR} 41 42 "C:/Program Files (x86)/lib3dv/lib" 42 43 ) 43 44 … … 49 50 VislabCamera.hpp 50 51 DiskWriter.h 51 Display.h52 52 VislabImageProcessor.h 53 53 Outputter.h 54 VislabViewerComponent.hpp55 54 ) 56 55 set(PROJECT_SRCS … … 59 58 VislabCamera.cpp 60 59 DiskWriter.cpp 61 Display.cpp62 60 VislabImageProcessor.cpp 63 61 Outputter.cpp 64 VislabViewerComponent.cpp65 62 ) 66 63 … … 69 66 ${PLUGIN_HDR} 70 67 VislabComponent.hpp 71 VislabViewerComponent.hpp72 Display.h73 68 ) 74 69 … … 95 90 ) 96 91 92 target_compile_definitions(${PROJECT_NAME} PUBLIC OPENCV_MAJOR=${OpenCV_VERSION_MAJOR}) 93 97 94 98 95 # ======================================== … … 116 113 ${QT_LIBRARIES} 117 114 ${OpenCV_LIBS} 118 115 3dv 119 116 120 117 ) -
trunk/Vislab/DiskWriter.h
r144 r147 24 24 #include <boost/thread.hpp> 25 25 26 #if (OPENCV_MAJOR == 3) 26 27 #include <opencv2/opencv.hpp> 28 #include <opencv2/highgui.hpp> 29 #else 30 #include <opencv/cv.h> 31 #include <opencv/highgui.h> 32 #endif 27 33 28 34 -
trunk/Vislab/Outputter.h
r142 r147 12 12 // Includes, lib3dv. 13 13 #include <lib3dv/device.h> 14 //#include "20150310_lib3dv-1.2.0/src/disk_writer.h"15 14 16 15 #include <boost/asio/io_service.hpp> -
trunk/Vislab/VislabCamera.cpp
r144 r147 28 28 :diskwriterVideo(name,lib3dv::image::type::RIGHT_RECTIFIED), 29 29 diskwriterDisparite(name,lib3dv::image::type::DSI), 30 displayVideo("Video",lib3dv::image::type::RIGHT_RECTIFIED),31 displayDisparite("Disparite",lib3dv::image::type::DSI),30 //displayVideo("Video",lib3dv::image::type::RIGHT_RECTIFIED), 31 //displayDisparite("Disparite",lib3dv::image::type::DSI), 32 32 outputVideo(lib3dv::image::type::RIGHT_RECTIFIED), 33 33 outputDisparite(lib3dv::image::type::DSI) -
trunk/Vislab/VislabCamera.hpp
r142 r147 52 52 DiskWriter diskwriterVideo; 53 53 DiskWriter diskwriterDisparite; 54 Display displayVideo;55 Display displayDisparite;54 //Display displayVideo; 55 //Display displayDisparite; 56 56 lib3dv::error error; 57 57 unsigned int log_level; -
trunk/Vislab/VislabComponent.cpp
r142 r147 1 1 2 2 3 // Includes, project. -
trunk/Vislab/VislabComponent.hpp
r142 r147 15 15 #include <lib3dv/device.h> 16 16 17 #if (OPENCV_MAJOR == 3) 17 18 #include <opencv2/opencv.hpp> 18 19 #include <opencv2/highgui.hpp> 20 #else 21 #include <opencv/cv.h> 22 #include <opencv/highgui.h> 23 #endif 19 24 20 25 #ifdef WIN32 -
trunk/Vislab/VislabImageProcessor.cpp
r142 r147 1 1 #include "VislabImageProcessor.h" 2 2 3 #include <opencv2/opencv.hpp> 4 #include <opencv2/highgui.hpp> 3 #if (OPENCV_MAJOR == 3) 4 # include <opencv2/opencv.hpp> 5 # include <opencv2/highgui.hpp> 6 #else 7 # include <opencv/cv.h> 8 # include <opencv/highgui.h> 9 #endif 5 10 6 11 -
trunk/Vislab/VislabImageProcessor.h
r142 r147 14 14 #include <lib3dv/device.h> 15 15 16 #if (OPENCV_MAJOR == 3) 16 17 #include <opencv2/opencv.hpp> 18 #include <opencv2/highgui.hpp> 19 #else 20 #include <opencv/cv.h> 21 #include <opencv/highgui.h> 22 #endif 17 23 18 24 class VislabImageProcessor
Note:
See TracChangeset
for help on using the changeset viewer.