stereoscopy

Convert images from Pylon to Opencv in c++

好久不见. 提交于 2020-01-17 06:29:14
问题 I want to convert stereo images captured by Basler cameras to opencv (Mat) format. In the below code i have converted images to opencv format, but in show stages, i can not show the images. please guide me. Thanks int main(int argc, char* argv[]) { // The exit code of the sample application. int exitCode = 0; PylonInitialize(); Pylon::PylonAutoInitTerm autoInitTerm;//me try { // Get the transport layer factory. CTlFactory& tlFactory = CTlFactory::GetInstance(); // Get all attached devices and

Generating 3D TV stereoscopic output programmatically

允我心安 提交于 2020-01-14 05:42:07
问题 Do you know what would be the best approach to generate 3D output for one of these new "3D ready" televisions from software. Our application have some nice 3D visualizations, we want these to look nice. Also, how feasible is it to generate it from a Flash (Flex) app. 回答1: I believe that the gaming and 3DTV industries have paved the way for you. As long as your app already outputs 3D visualizations, it may just be a matter of installing a driver. You can get started with this NVIDIA 3D Stereo

How to implement a procedure of calibration red and cyan colors of monitor for concrete red-cyan anaglyph glasses?

别等时光非礼了梦想. 提交于 2020-01-04 09:27:46
问题 I am developing an application for treatment of children. It must show different images for left and right eyes. I decided to use cheap red-cyan glasses for separating the fields of view of the eyes. The first eye will see only red images the second one - only cyan. The problem is that colors on monitor are not really red and cyan. Also glasses are not ideal. I need to implement the calibration procedure for searching the best red and cyan colors for current monitor and glasses. I mean I need

In stereo calibration, how the extrinsic matrix changes if i change the resolution of stereo camera

扶醉桌前 提交于 2019-12-23 02:34:10
问题 My stereo camera has different resolutions 1280x480, 640x240 and 320x120. (The camera stream a synchronized pair of images 640X480 pasted horizontally that's why is 1280x480). I have used the algorithm of Opencv3 Stereo Calibration in the following link to calibrate the stereo camera with the resolution of 1280*480. stereoRectify( M1, D1, M2, D2, img_size, R, T, R1, R2, P1, P2, Q, CALIB_ZERO_DISPARITY, -1, img_size, &roi1, &roi2 ); Mat map11, map12, map21, map22; initUndistortRectifyMap(M1,

OpenCV Big difference between StereoSGBM and gpu::StereoBM_GPU

Deadly 提交于 2019-12-23 01:13:23
问题 I try to generate disparity of stereo image by using OpenCV and optimize performance by using GPU but the results of them are different. StereoSGBM initialize StereoSGBM sbm; sbm.SADWindowSize = 3; sbm.numberOfDisparities = 144; sbm.preFilterCap = 63; sbm.minDisparity = -39; sbm.uniquenessRatio = 10; sbm.speckleWindowSize = 100; sbm.speckleRange = 32; sbm.disp12MaxDiff = 1; sbm.fullDP = false; sbm.P1 = 216; sbm.P2 = 864; sbm(grayLeftCurrentFrameCPU, grayRightCurrentFrameCPU,

Is stereoscopy (3D stereo) making a come back?

霸气de小男生 提交于 2019-12-21 23:03:53
问题 I'm working on a stereoscopy application in C++ and OpenGL (for medical image visualization). From what I understand, the technology was quite big news about 10 years ago but it seems to have died down since. Now, many companies seem to be investing in the technology... Including nVidia it would seem. Stereoscopy is also known as "3D Stereo", primarily by nVidia (I think). Does anyone see stereoscopy as a major technology in terms of how we visualize things? I'm talking in both a recreational

How can I output a HDMI 1.4a-compatible stereoscopic signal from an OpenGL application to a 3DTV?

风格不统一 提交于 2019-12-21 04:22:16
问题 I have an OpenGL application that outputs stereoscopic 3D video to off-the-shelf TVs via HDMI, but it currently requires the display to support the pre-1.4a methods of manually choosing the right format (side-by-side, top-bottom etc). However, now I have a device that I need to support that ONLY supports HDMI 1.4a 3D signals, which as I understand it is some kind of packet sent to the display that tells it what format the 3D video is in. I'm using an NVIDIA Quadro 4000 and I would like to

OpenCV stereo image pair correction…displaying the results

吃可爱长大的小学妹 提交于 2019-12-21 02:28:13
问题 I am attempting to use OpenCV to take stereo image pairs...ie a left and a right image of the same subject...and then correct them for rotation and translation without knowing any of the properties of the camera. Once the images are corrected I should be able to display them to the user. So far I have merged two demo programs from the OpenCV samples directory, badly for the moment...I will clean the code up and arrange it more nicely when I get it working...and it seems to be working, however

Convert between MATLAB stereoParameters and OpenCV stereoRectify stereo calibration

前提是你 提交于 2019-12-20 15:01:54
问题 I wish to convert a MATLAB stereoParameters structure to intrinsics and extrinsics matrices to use in OpenCV's stereoRectify. If I understood http://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html and http://mathworks.com/help/vision/ref/stereoparameters-class.html , stereoParameters.CameraParameters1 and stereoParameters.CameraParameters2 store the intrinsic matrices and the other members of stereoParameters the extrinsic ones. I think I got this mapping

Convert between MATLAB stereoParameters and OpenCV stereoRectify stereo calibration

吃可爱长大的小学妹 提交于 2019-12-20 15:00:58
问题 I wish to convert a MATLAB stereoParameters structure to intrinsics and extrinsics matrices to use in OpenCV's stereoRectify. If I understood http://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html and http://mathworks.com/help/vision/ref/stereoparameters-class.html , stereoParameters.CameraParameters1 and stereoParameters.CameraParameters2 store the intrinsic matrices and the other members of stereoParameters the extrinsic ones. I think I got this mapping